Modernize the code base #338
Merged
Annotations
10 errors and 1 warning
|
PHPStan:
lib/Doctrine/Orm/DqlConditionGenerator.php#L62
Property Rollerworks\Component\Search\Doctrine\Orm\DqlConditionGenerator::$parameters (Doctrine\Common\Collections\ArrayCollection<string, array{mixed, string|null}>) does not accept Doctrine\Common\Collections\ArrayCollection<string, array{mixed, string|null}>.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php#L196
Parameter #2 $roundingMode of class Rollerworks\Component\Search\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformer constructor expects 0|1|2|3|4|5|6|null, int given.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php#L194
PHPDoc tag `@param` for parameter $roundingMode contains unresolvable type.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php#L93
Parameter #2 $roundingMode of class Rollerworks\Component\Search\Extension\Core\DataTransformer\IntegerToLocalizedStringTransformer constructor expects 0|1|2|3|4|5|6|null, int given.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/IntegerToLocalizedStringTransformerTest.php#L91
PHPDoc tag `@param` for parameter $roundingMode contains unresolvable type.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php#L324
Parameter #4 $timeFormat of class Rollerworks\Component\Search\Extension\Core\DataTransformer\DateTimeToLocalizedStringTransformer constructor expects -1|0|1|2|3|null, 99 given.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/DataTransformer/DateTimeToLocalizedStringTransformerTest.php#L316
Parameter #3 $dateFormat of class Rollerworks\Component\Search\Extension\Core\DataTransformer\DateTimeToLocalizedStringTransformer constructor expects -1|0|1|2|3|null, 99 given.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/ChoiceList/Loader/CallbackChoiceLoaderTest.php#L37
Static property Rollerworks\Component\Search\Tests\Extension\Core\ChoiceList\Loader\CallbackChoiceLoaderTest::$choiceValues (array<string>|null) is never assigned null so it can be removed from the property type.
|
|
PHPStan:
lib/Core/Tests/Extension/Core/ChoiceList/Loader/CallbackChoiceLoaderTest.php#L34
Static property Rollerworks\Component\Search\Tests\Extension\Core\ChoiceList\Loader\CallbackChoiceLoaderTest::$choices (array<object>|null) is never assigned null so it can be removed from the property type.
|
|
PHPStan:
lib/ApiPlatform/Serializer/InvalidSearchConditionNormalizer.php#L100
Strict comparison using === between non-empty-array and null will always evaluate to false.
|
|
Complete job
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: shivammathur/setup-php@v2. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
Loading