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 <louis@chmn.me>
@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 31.0.1 milestone Feb 26, 2025
@artonge artonge merged commit 45439dc into stable31 Feb 26, 2025
188 checks passed
@artonge artonge deleted the backport/51050/stable31 branch February 26, 2025 14:58
@blizzz blizzz mentioned this pull request Mar 4, 2025
3 tasks
@blizzz blizzz mentioned this pull request Mar 12, 2025
14 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