Skip to content

Fix PHP 8.6 deprecation and PHPUnit 13 assertions - #19639

Merged
ADmad merged 2 commits into
cakephp:php-8.6from
Spriz:fix/php86-postgres-segfault
Sep 30, 2026
Merged

ADmad merged 2 commits into
cakephp:php-8.6from
Spriz:fix/php86-postgres-segfault

Conversation

@Spriz

@Spriz Spriz commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

Move the return out of finally for PHP 8.6 and replace closure equality assertions for PHPUnit 13.

The PostgreSQL segfault is fixed upstream in php/php-src#23922.

Validated: PHP 8.6 database suites, affected PHPUnit 13 tests, PHPStan and PHPCS.

🤖 Credit to gpt-6-sol ✌️

@Spriz Spriz changed the title Avoid return from finally in Query::__debugInfo() Fix PHP 8.6 deprecation and PHPUnit 13 assertions Sep 30, 2026
@Spriz
Spriz marked this pull request as draft September 30, 2026 14:06
@Spriz

Spriz commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

marking as draft until CI is green

@Spriz

Spriz commented Sep 30, 2026

Copy link
Copy Markdown
Contributor Author

Assuming last one goes green again :) sorry about that.

@Spriz
Spriz marked this pull request as ready for review September 30, 2026 14:10
@dereuromark dereuromark added this to the 5.4.3 milestone Sep 30, 2026
@ADmad
ADmad merged commit 89b1f69 into cakephp:php-8.6 Sep 30, 2026
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants