Skip to content

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Feb 26, 2025

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.

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]>
@artonge artonge added bug 3. to review Waiting for reviews php Pull requests that update Php code labels Feb 26, 2025
@artonge artonge added this to the Nextcloud 32 milestone Feb 26, 2025
@artonge artonge self-assigned this Feb 26, 2025
@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable31

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable30

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable29

@artonge
Copy link
Contributor Author

artonge commented Feb 26, 2025

/backport to stable28

@artonge artonge enabled auto-merge February 26, 2025 13:20
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.

5 participants