Skip to content

Fix CS

Fix CS #148

Triggered via pull request April 1, 2024 10:59
@sstoksstok
synchronize #306
sstok:cs
Status Failure
Total duration 1m 47s
Artifacts

ci.yaml

on: pull_request
Matrix: PHP CS Fixer
Matrix: PhpStan
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 6 warnings
PhpStan (8.2): lib/Core/Extension/Core/DataTransformer/DateIntervalTransformer.php#L90
Call to an undefined static method Carbon\Translator::get().
PhpStan (8.2): lib/Core/Extension/Core/DataTransformer/OrderTransformer.php#L40
Property Rollerworks\Component\Search\Extension\Core\DataTransformer\OrderTransformer::$default is never read, only written.
PhpStan (8.2): lib/Core/Field/OrderField.php#L45
Property Rollerworks\Component\Search\Field\OrderField::$valueComparator is never written, only read.
PhpStan (8.2): lib/Core/Input/CachingInputProcessor.php#L36
Property Rollerworks\Component\Search\Input\CachingInputProcessor::$ttl is never read, only written.
PhpStan (8.2): lib/Core/Tests/Extension/Core/ChoiceList/Factory/DefaultChoiceListFactoryTest.php#L732
Method Rollerworks\Component\Search\Tests\Extension\Core\ChoiceList\Factory\DefaultChoiceListFactoryTest::assertScalarListWithCustomValues() is unused.
PhpStan (8.2): lib/Core/Tests/Extension/Core/ChoiceList/Factory/PropertyAccessDecoratorTest.php#L161
Parameter #2 $preferredChoices of class Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceListView constructor expects array<Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceGroupView|Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceView>, array<int, true> given.
PhpStan (8.2): lib/Core/Tests/Extension/Core/ChoiceList/Factory/PropertyAccessDecoratorTest.php#L181
Parameter #2 $preferredChoices of class Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceListView constructor expects array<Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceGroupView|Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceView>, array<int, true> given.
PhpStan (8.2): lib/Core/Tests/Extension/Core/ChoiceList/Factory/PropertyAccessDecoratorTest.php#L203
Parameter #2 $preferredChoices of class Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceListView constructor expects array<Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceGroupView|Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceView>, array<int, false> given.
PhpStan (8.2): lib/Core/Tests/Extension/Core/ChoiceList/Factory/PropertyAccessDecoratorTest.php#L223
Parameter #1 $choices of class Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceListView constructor expects array<Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceGroupView|Rollerworks\Component\Search\Extension\Core\ChoiceList\View\ChoiceView>, array<int, string> given.
PhpStan (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHP CS Fixer (8.2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit with PHP / Symfony ^7.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit with PHP / Symfony ^6.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit with PHP / Symfony ^7.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
PHPUnit with PHP / Symfony 6.4
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.