Skip to content

Conversation

@LordSimal
Copy link
Contributor

Resolves #1155

  • updated PHPStan and Psalm to current versions
  • regenerated baseline files
  • added missing generic annotations
  • dropped PHP 8.1 in CI as CakePHP 5.3 requires at least 8.2

I have not found an easy fix for the dynamic property deprecation for the BaseTrait setup as it isn't that easy to allow dynamic properties on a mock object.

"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0",
"cakephp/cakephp": "5.3.0-RC2",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This needs to be adjusted/reverted after CakePHP 5.3 has released

@steinkel
Copy link
Member

great stuff, I see another MR #1157 fixing a deprecation, but in that case the changes are BC, so we'll merge that one first, and create a new branch with both changes to prepare a new tag too. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CakePHP 5.3 deprecation

2 participants