WIP: Update Bundle #151
Annotations
10 errors and 1 warning
Run 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>>>>.
|
Run 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.
|
Run 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.
|
Run phpstan:
Api/Factory/NewsApiDtoFactory.php#L14
Parameter $title of class TheCadien\Bundle\SuluNewsBundle\Api\News constructor expects string, string|null given.
|
Run phpstan:
Api/News.php#L25
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$content type has no value type specified in iterable type array.
|
Run phpstan:
Api/News.php#L29
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$tags type has no value type specified in iterable type array.
|
Run phpstan:
Api/News.php#L30
Property TheCadien\Bundle\SuluNewsBundle\Api\News::$header type has no value type specified in iterable type array.
|
Run 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.
|
Run 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.
|
Run 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.
|
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/.
|
The logs for this run have expired and are no longer available.
Loading