-
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?
Changes from all commits
e7d6369
c0a1da7
21d66d9
366f476
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -282,3 +282,15 @@ parameters: | |
| identifier: argument.type | ||
| count: 1 | ||
| path: src/bundle/Templating/Twig/UniversalDiscoveryExtension.php | ||
|
|
||
| - | ||
| message: '#^Call to method Ibexa\\AdminUi\\Form\\DataTransformer\\LanguageTransformer\:\:transform\(\) on a separate line has no effect\.$#' | ||
| identifier: method.resultUnused | ||
| count: 1 | ||
| path: tests/lib/Form/DataTransformer/LanguageTransformerTest.php | ||
|
|
||
| - | ||
| message: '#^Call to method Ibexa\\AdminUi\\Form\\DataTransformer\\ContentInfoTransformer\:\:transform\(\) on a separate line has no effect\.$#' | ||
| identifier: method.resultUnused | ||
| count: 1 | ||
| path: tests/lib/Form/DataTransformer/ContentInfoTransformerTest.php | ||
|
Comment on lines
+285
to
+296
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can those entries be fixed since you touch it? |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,10 +9,10 @@ | |
| $includes = []; | ||
| if (PHP_VERSION_ID < 80000) { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-7.4.neon'; | ||
| } elseif (PHP_VERSION_ID < 80300) { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-8.0.neon'; | ||
| } else { | ||
| } else if (PHP_VERSION_ID < 80400) { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-8.3.neon'; | ||
| } else { | ||
| $includes[] = __DIR__ . '/phpstan-baseline-8.4.neon'; | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need a separate baseline for 8.4?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have checked it and apparently yes |
||
| } | ||
|
|
||
| $config = []; | ||
|
|
||
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 did you remove
in favor of baseline entries?
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.
The method.resultUnused error is not reported by PHPStan on PHP 8.4. With an inline @phpstan-ignore, PHPStan on 8.4 would complain about an unmatched ignored error.