Skip to content

WIP: Update Bundle #150

WIP: Update Bundle

WIP: Update Bundle #150

Triggered via pull request December 21, 2023 14:49
Status Failure
Total duration 1m 33s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: Admin/NewsAdmin.php#L165
Method TheCadien\Bundle\SuluNewsBundle\Admin\NewsAdmin::getSecurityContexts() should return array<string, array<string, array<string, array<string>>>> but returns array<string, array<string, array<int|string, array<int, string>>>>.
phpstan: Api/Factory/NewsApiDtoFactory.php#L1
Ignored error pattern #^Cannot call method getId\(\) on mixed\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Api/Factory/NewsApiDtoFactory.php was not matched in reported errors.
phpstan: Api/News.php#L22
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$content type has no value type specified in iterable type array.
phpstan: Api/News.php#L26
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$tags type has no value type specified in iterable type array.
phpstan: Api/News.php#L27
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$header type has no value type specified in iterable type array.
phpstan: Common/DoctrineListRepresentationFactory.php#L1
Ignored error pattern #^Parameter \#2 \$locale of method TheCadien\\Bundle\\SuluNewsBundle\\Common\\DoctrineListRepresentationFactory\:\:addHeader\(\) expects string, mixed given\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Common/DoctrineListRepresentationFactory.php was not matched in reported errors.
phpstan: Common/DoctrineListRepresentationFactory.php#L1
Ignored error pattern #^Parameter \#2 \$value of method Sulu\\Component\\Rest\\ListBuilder\\ListBuilderInterface\:\:where\(\) expects string, mixed given\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Common/DoctrineListRepresentationFactory.php was not matched in reported errors.
phpstan: Content/NewsDataItem.php#L1
Ignored error pattern #^Method TheCadien\\Bundle\\SuluNewsBundle\\Content\\NewsDataItem\:\:getImage\(\) should return string but returns mixed\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Content/NewsDataItem.php was not matched in reported errors.
phpstan: Controller/Admin/NewsController.php#L1
Ignored error pattern #^Parameter \#2 \$locale of method TheCadien\\Bundle\\SuluNewsBundle\\Controller\\Admin\\NewsController\:\:generateApiNewsEntity\(\) expects string, string\|null given\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Controller/Admin/NewsController.php was not matched in reported errors.
phpstan: Controller/Admin/NewsController.php#L1
Ignored error pattern #^Parameter \#2 \$locale of method TheCadien\\Bundle\\SuluNewsBundle\\Service\\News\\NewsService\:\:saveNewNews\(\) expects string, string\|null given\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Controller/Admin/NewsController.php was not matched in reported errors.