-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
[stable25] Add commands for basic file actions #38251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Psalm found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
|
backport incomplete |
|
Should apply cleanly once #38253 is merged |
27b277e to
88923b6
Compare
| return 1; | ||
| } | ||
| $source = $node->fopen('r'); | ||
| if (!$source) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction
| } | ||
| if ($node instanceof File) { | ||
| $target = $node->fopen('w'); | ||
| if (!$target) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction
it's merged |
|
moving to 25.0.10 |
|
moving to 25.0.11 |
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
… as argument instead of option Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
Signed-off-by: Robin Appelman <[email protected]>
88923b6 to
05329e7
Compare
|
moving to 25.0.12 due to lacking reviewers. Thanks for reviving @icewind1991! |
backport of #37971