Skip to content

WIP: Update Bundle #151

WIP: Update Bundle

WIP: Update Bundle #151

Triggered via pull request February 2, 2024 14:15
Status Failure
Total duration 1m 42s
Artifacts

php.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
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/Factory/NewsApiDtoFactory.php#L1
Ignored error pattern #^Parameter \#1 \$id of class TheCadien\\Bundle\\SuluNewsBundle\\Api\\News constructor expects int, int\|null given\.$# in path /home/runner/work/SuluNewsBundle/SuluNewsBundle/Api/Factory/NewsApiDtoFactory.php was not matched in reported errors.
phpstan: Api/Factory/NewsApiDtoFactory.php#L14
Parameter $title of class TheCadien\Bundle\SuluNewsBundle\Api\News constructor expects string, string|null given.
phpstan: Api/News.php#L25
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$content type has no value type specified in iterable type array.
phpstan: Api/News.php#L29
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$tags type has no value type specified in iterable type array.
phpstan: Api/News.php#L30
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.
Test Application
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
php-cs-fixer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpstan
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
phpunit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/download-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
cleanup
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: geekyeggo/delete-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.