Quality assurance #2539
Annotations
10 errors and 1 warning
Psalm:
src/Model/PageInterface.php#L28
src/Model/PageInterface.php:28:18: MissingClassConstType: Class constant "Sonata\PageBundle\Model\PageInterface::PAGE_ROUTE_CMS_NAME" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
src/Model/Template.php#L33
src/Model/Template.php:33:18: MissingClassConstType: Class constant "Sonata\PageBundle\Model\Template::TYPE_STATIC" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
src/Model/Template.php#L34
src/Model/Template.php:34:18: MissingClassConstType: Class constant "Sonata\PageBundle\Model\Template::TYPE_DYNAMIC" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
src/Serializer/BlockTypeExtractor.php#L22
src/Serializer/BlockTypeExtractor.php:22:18: MissingClassConstType: Class constant "Sonata\PageBundle\Serializer\BlockTypeExtractor::NULLABLE_STRINGS" should have a declared type. (see https://psalm.dev/359)
|
Psalm:
src/Twig/Extension/PageExtension.php#L67
src/Twig/Extension/PageExtension.php:67:54: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Psalm:
src/Twig/Extension/PageExtension.php#L68
src/Twig/Extension/PageExtension.php:68:56: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Psalm:
src/Twig/Extension/PageExtension.php#L69
src/Twig/Extension/PageExtension.php:69:62: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Psalm:
src/Twig/Extension/PageExtension.php#L70
src/Twig/Extension/PageExtension.php:70:58: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Psalm:
src/Twig/Extension/PageExtension.php#L71
src/Twig/Extension/PageExtension.php:71:49: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
Psalm:
src/Twig/Extension/PageExtension.php#L72
src/Twig/Extension/PageExtension.php:72:50: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
|
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/.
|
Loading