-
Notifications
You must be signed in to change notification settings - Fork 19
IBX-11179: Updated PHP versions in CI configuration to 8.3 and 8.4 #1823
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: 4.6
Are you sure you want to change the base?
Conversation
… phpstan baseline files
b9fcfb2 to
c0a1da7
Compare
| $this->expectExceptionMessage('Expected a ' . ContentInfo::class . ' object.'); | ||
|
|
||
| $this->contentInfoTransformer->transform($value); | ||
| $result = $this->contentInfoTransformer->transform($value); |
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.
Why this change?
|
|
||
| /** @phpstan-ignore method.resultUnused */ | ||
| $transformer->transform($value); | ||
| $result = $transformer->transform($value); |
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.
Let's keep the previous one, assigning this to variable doesn't make much sense. Besides, we agreed that @phpstan-ignore can be accepted in the tests' related code.
b06edb2 to
21d66d9
Compare
…for PHP 8.4 compatibility
|
| } else if (PHP_VERSION_ID < 80400) { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-8.3.neon'; | ||
| } else { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-8.4.neon'; |
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.
Do we need a separate baseline for 8.4?
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 have checked it and apparently yes


Description:
Updated PHP versions in CI configuration to 8.3 and 8.4, aligning baseline files and removing phpstan errors