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

Increase PHPStan to level 8 #1519

Merged

Conversation

jordisala1991
Copy link
Member

@jordisala1991 jordisala1991 commented Aug 5, 2022

Subject

I am targeting this branch, because this can only be applied to 4.x.

Changelog

### Changed
- `PageAdmin` now injects its required dependencies through `__construct` instead of set methods.

@jordisala1991 jordisala1991 force-pushed the hotfix/increase-phpstan-8 branch 2 times, most recently from ef13f68 to e932873 Compare August 6, 2022 09:55
@jordisala1991 jordisala1991 force-pushed the hotfix/increase-phpstan-8 branch 3 times, most recently from 7886280 to 66fd634 Compare August 6, 2022 10:54
@jordisala1991 jordisala1991 marked this pull request as ready for review August 6, 2022 10:55
@jordisala1991
Copy link
Member Author

jordisala1991 commented Aug 6, 2022

This one is probably a bit harder to review, had to change some logics around to avoid null variables @VincentLanglet .

Not sure if I followed the best option in each specific case.

@VincentLanglet VincentLanglet merged commit 131c1ce into sonata-project:4.x Aug 6, 2022
@jordisala1991 jordisala1991 deleted the hotfix/increase-phpstan-8 branch August 6, 2022 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants