-
Notifications
You must be signed in to change notification settings - Fork 283
Run tests for PHP 8.4 #1493
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
base: main
Are you sure you want to change the base?
Run tests for PHP 8.4 #1493
Conversation
@MarcelloDuarte thanks, I will review the failures |
@MarcelloDuarte please approve the potential fix |
@MarcelloDuarte psalm errors fixed 🤞 |
ping @MarcelloDuarte |
@MarcelloDuarte looks ready for release, wdyt? |
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.
LGTM, just a little nitpick.
@@ -105,6 +105,7 @@ private function lineIsInsideMethod(int $line, ReflectionMethod $method): bool | |||
private function addErrorThrowingExampleToSuite(Resource $resource, Suite $suite, \Error $error) : void | |||
{ | |||
$reflection = new ReflectionClass(ErrorSpecification::class); | |||
/** @var ReflectionClass<Specification> $reflection */ |
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.
This PHPDoc seems superfluous, $reflection
is already of this type (even more specific).
/** @var ReflectionClass<Specification> $reflection */ |
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.
I had to add it to make psalm happy IIRC.
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.
I tested it locally and it worked fine. Maybe it was needed before other changes were done? BTW it's just redundant, so not a blocker for me.
Hopefully final step for 8.4 readiness (#1477).
@MarcelloDuarte could you please approve?