Fix phpstan and bump Psalm#1421
Conversation
| "doctrine/orm": "^2.5", | ||
| "doctrine/persistence": "^2.0", | ||
| "sonata-project/admin-bundle": "^4.0@alpha", | ||
| "sonata-project/admin-bundle": "^4.0@dev", |
There was a problem hiding this comment.
you will also need to conflict with previous alphas
There was a problem hiding this comment.
"sonata-project/admin-bundle": "<=4.0.0-alpha-1" ?
|
Works with sonata-project/SonataAdminBundle#7092 |
|
I'll wait for #1425 since I use |
* Stop using SonataAdmin config in doctrineORMAdmin * Fix deprecation
`FilterData` will be introduced in version 4.0 as type declaration of argument 4 of `Filter::apply()`. This commit adds an upgrade path when using `CallbackFilter` which receives a `callable` instance in order to filter. If this `callable` does not use a type declaration for argument 4 or uses `array` (current type), it triggers a deprecation.
It checks that the number of results from Pager must be the same as using Simple Pager
|
This is ready to be merged @sonata-project/contributors |
|
Probably a changelog would be needed. |
For which change ? |
|
For the Array to class change for instance. IMO you should list what you did in this PR in the body of the initial message first. This Pr is not only about bumping psalm and phpstan |
|
This Pr also overrides another one from @franmomu , should be nice to link them too. |
Is this enough ? |
The PR was initially bumping psalm/phpstan but since it was opened too much time, I had to
|
Changelog