Skip to content

[stable26] Add commands for basic file actions - #38250

Merged
blizzz merged 5 commits into
stable26from
backport/37971/stable26
Oct 11, 2023
Merged

[stable26] Add commands for basic file actions#38250
blizzz merged 5 commits into
stable26from
backport/37971/stable26

Conversation

@backportbot-nextcloud

@backportbot-nextcloudbackportbot-nextcloudBot commented May 15, 2023

Copy link
Copy Markdown
  • ⚠️ This backport had conflicts that were resolved with the 'ours' merge strategy and is likely incomplete

backport of #37971

@github-advanced-securitygithub-advanced-securityAI left a comment

Copy link
Copy Markdown

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.

@blizzzblizzz mentioned this pull request May 16, 2023
@blizzzblizzz added the 2. developing Work in progress label May 17, 2023
@blizzz

Copy link
Copy Markdown
Member

backport incomplete

@blizzzblizzz mentioned this pull request Jun 12, 2023
@blizzz

Copy link
Copy Markdown
Member

moving to 26.0.4

@blizzzblizzz mentioned this pull request Jul 10, 2023
@blizzz

Copy link
Copy Markdown
Member

moving to 26.0.5

@blizzzblizzz mentioned this pull request Aug 2, 2023
@blizzz

Copy link
Copy Markdown
Member

moving to 26.0.6

If there are no updates in any form until building 26.0.6, I will close this PR.

@blizzzblizzz mentioned this pull request Sep 5, 2023
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
… as argument instead of option
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@icewind1991
icewind1991force-pushed the backport/37971/stable26 branch from 985fbc1 to 2f662bfCompareSeptember 6, 2023 12:41
return 1;
}
$source = $node->fopen('r');
if (!$source) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Operand of type false is always false
return 1;
}
$source = $node->fopen('r');
if (!$source) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Docblock-defined type resource for $source is never falsy
}
if ($node instanceof File) {
$target = $node->fopen('w');
if (!$target) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Operand of type false is always false
}
if ($node instanceof File) {
$target = $node->fopen('w');
if (!$target) {

Check notice

Code scanning / Psalm

DocblockTypeContradiction

Docblock-defined type resource for $target is never falsy
@icewind1991
icewind1991 marked this pull request as ready for review September 6, 2023 12:50
@blizzzblizzz added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 7, 2023
@blizzz

Copy link
Copy Markdown
Member

moving to 26.0.7 due to missing reviews, but thanks @icewind1991 for bringing this back to life

This was referenced Sep 20, 2023
@blizzzblizzz mentioned this pull request Oct 9, 2023
@blizzz
blizzz merged commit 09d352f into stable26Oct 11, 2023
@blizzz
blizzz deleted the backport/37971/stable26 branch October 11, 2023 09:06
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsenhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@blizzz@github-advanced-security@come-nc@icewind1991