-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Drop support for PHP 8.1, Upgrade Psalm to v6 & PHPUnit to v11 #255
base: 4.4.x
Are you sure you want to change the base?
Conversation
- Removes some unnecessary Psalm plugins - General SA QA Signed-off-by: George Steel <george@net-glue.co.uk>
Signed-off-by: George Steel <george@net-glue.co.uk>
Signed-off-by: George Steel <george@net-glue.co.uk>
…pectations Signed-off-by: George Steel <george@net-glue.co.uk>
Signed-off-by: George Steel <george@net-glue.co.uk>
* @phpcs:disable Generic.Files.LineLength.TooLong | ||
* @param class-string<FactoryInterface>|class-string<object&FactoryCallable>|FactoryCallable|FactoryInterface $factory | ||
* @phpcs:enable Generic.Files.LineLength.TooLong | ||
* @param class-string<FactoryInterface>|FactoryCallable|FactoryInterface $factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using intersections with callable in a class string parameter is not supported, i.e. class-string<object&callable>
causes an InvalidDocblock
issue in Psalm
* @phpcs:disable Generic.Files.LineLength.TooLong | ||
* @psalm-param class-string<DelegatorFactoryInterface>|class-string<object&DelegatorCallable>|DelegatorCallable $factory | ||
* @phpcs:enable Generic.Files.LineLength.TooLong | ||
* @psalm-param class-string<DelegatorFactoryInterface>|DelegatorCallable $factory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using intersections with callable in a class string parameter is not supported, i.e. class-string<object&callable>
causes an InvalidDocblock
issue in Psalm
As an alternative to changes made in #252 , try upgrading to Psalm v6 to see if callable intersections in parameterized class-strings work now.Also,