Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Feb 26, 2025

Backport of PR #51050

The `array_diff` is not comparing the array keys. This means that an extra key with an expected hash will not be reported. Using `array_diff_assoc` will report such files.

For example, copying `status.php` to `status 2.php`, will only be reported with the new version.

Signed-off-by: Louis Chemineau <[email protected]>
@backportbot backportbot bot added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Feb 26, 2025
@backportbot backportbot bot added this to the Nextcloud 30.0.7 milestone Feb 26, 2025
@artonge artonge enabled auto-merge February 26, 2025 13:57
@artonge artonge merged commit 07f3a85 into stable30 Feb 26, 2025
176 checks passed
@artonge artonge deleted the backport/51050/stable30 branch February 26, 2025 14:10
@blizzz blizzz mentioned this pull request Mar 4, 2025
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants