Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update phpstan and psalm #829

merged 1 commit into from May 27, 2022

update phpstan and psalm #829

merged 1 commit into from May 27, 2022


Copy link

@LordSimal LordSimal commented May 27, 2022

The main changes I had to make were related to the fact, that PHPStan doesn't understand our class alias

class_alias('Cake\Core\Exception\CakeException', 'Cake\Core\Exception\Exception');

same for the DatabaseException.

Therefore I adjusted all usages of these Exceptions to the new ones.

@othercorey othercorey added this to the 2.x (CakePHP 4) milestone May 27, 2022
@othercorey othercorey merged commit 88c3197 into 2.x May 27, 2022
13 of 14 checks passed
@othercorey othercorey deleted the 2.x-update-stan branch May 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants