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
@kesselb kesselb added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 26, 2025
@artonge artonge enabled auto-merge February 26, 2025 13:56
Copy link
Member

@AndyScherzinger AndyScherzinger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AndyScherzinger AndyScherzinger disabled auto-merge March 5, 2025 16:40
@AndyScherzinger AndyScherzinger merged commit 923750b into stable28 Mar 5, 2025
55 of 56 checks passed
@AndyScherzinger AndyScherzinger deleted the backport/51050/stable28 branch March 5, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish bug php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants