-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
[stable26] Add commands for basic file actions #38250
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 |
moving to 26.0.4 |
moving to 26.0.5 |
moving to 26.0.6 If there are no updates in any form until building 26.0.6, I will close this PR. |
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]>
985fbc1
to
2f662bf
Compare
return 1; | ||
} | ||
$source = $node->fopen('r'); | ||
if (!$source) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction Note
return 1; | ||
} | ||
$source = $node->fopen('r'); | ||
if (!$source) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction Note
} | ||
if ($node instanceof File) { | ||
$target = $node->fopen('w'); | ||
if (!$target) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction Note
} | ||
if ($node instanceof File) { | ||
$target = $node->fopen('w'); | ||
if (!$target) { |
Check notice
Code scanning / Psalm
DocblockTypeContradiction Note
moving to 26.0.7 due to missing reviews, but thanks @icewind1991 for bringing this back to life |
backport of #37971