Fix phpstan and php-cs issues #333
Annotations
10 errors and 3 warnings
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Method Sulu\\Bundle\\FormBundle\\Controller\\DynamicController\:\:getLocale\(\) should return string\|null but returns mixed\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#2 \$locale of method Sulu\\Bundle\\FormBundle\\ListBuilder\\DynamicListFactory\:\:build\(\) expects string, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#2 \$sort of method Sulu\\Bundle\\FormBundle\\Repository\\DynamicRepository\:\:findByFilters\(\) expects array\<string\>, array\<int\|string, mixed\> given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#2 \$string of function explode expects string, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#3 \$limit of method Sulu\\Bundle\\FormBundle\\Repository\\DynamicRepository\:\:findByFilters\(\) expects int\|null, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#3 \$route of class Sulu\\Component\\Rest\\ListBuilder\\ListRepresentation constructor expects string, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#5 \$page of class Sulu\\Component\\Rest\\ListBuilder\\ListRepresentation constructor expects int, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
Controller/DynamicController.php#L1
Ignored error pattern #^Parameter \#6 \$limit of class Sulu\\Component\\Rest\\ListBuilder\\ListRepresentation constructor expects int, mixed given\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Controller/DynamicController.php was not matched in reported errors.
|
Lint code:
DependencyInjection/SuluFormExtension.php#L1
Ignored error pattern #^Call to function array_key_exists\(\) with 'SuluArticleBundle' and array\{FrameworkBundle\: string, TwigBundle\: string, SuluCoreBundle\: string, DoctrineBundle\: string, DoctrinePHPCRBundle\: string, PhpcrMigrationsBundle\: string, StofDoctrineExtensionsBundle\: string, JMSSerializerBundle\: string, \.\.\.\} will always evaluate to false\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/DependencyInjection/SuluFormExtension.php was not matched in reported errors.
|
Lint code:
Dynamic/Types/AttachmentType.php#L1
Ignored error pattern #^Cannot call method getDefaultValue\(\) on Sulu\\Bundle\\FormBundle\\Entity\\FormFieldTranslation\|null\.$# in path /home/runner/work/SuluFormBundle/SuluFormBundle/Dynamic/Types/AttachmentType.php was not matched in reported errors.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, ramsey/composer-install@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, ramsey/composer-install@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Install composer dependencies
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading