Skip to content

Bump rector

Bump rector #2613

Triggered via pull request June 19, 2024 08:57
Status Failure
Total duration 53s
Artifacts

qa.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 3 warnings
PHPStan: src/Provider/Metadata.php#L58
Method Sonata\MediaBundle\Provider\Metadata::getOption() has parameter $default with no type specified.
PHPStan
Process completed with exit code 1.
InternalClass: src/DependencyInjection/SonataMediaExtension.php#L34
src/DependencyInjection/SonataMediaExtension.php:34:42: InternalClass: Symfony\Component\HttpKernel\DependencyInjection\Extension is internal to Symfony but called from Sonata\MediaBundle\DependencyInjection\SonataMediaExtension (see https://psalm.dev/174)
MissingParamType: src/Provider/Metadata.php#L58
src/Provider/Metadata.php:58:45: MissingParamType: Parameter $default has no provided type (see https://psalm.dev/154)
InvalidArgument: src/Twig/Extension/FormatterMediaExtension.php#L48
src/Twig/Extension/FormatterMediaExtension.php:48:46: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
InvalidArgument: src/Twig/Extension/FormatterMediaExtension.php#L49
src/Twig/Extension/FormatterMediaExtension.php:49:50: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
InvalidArgument: src/Twig/Extension/FormatterMediaExtension.php#L50
src/Twig/Extension/FormatterMediaExtension.php:50:45: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
InvalidArgument: src/Twig/Extension/MediaExtension.php#L25
src/Twig/Extension/MediaExtension.php:25:46: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
InvalidArgument: src/Twig/Extension/MediaExtension.php#L26
src/Twig/Extension/MediaExtension.php:26:50: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
InvalidArgument: src/Twig/Extension/MediaExtension.php#L27
src/Twig/Extension/MediaExtension.php:27:45: InvalidArgument: Argument 2 of Twig\TwigFunction::__construct expects a public static callable, but a non-static callable provided (see https://psalm.dev/004)
Psalm
Process completed with exit code 2.
PHPStan
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/.
Psalm
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/.
Rector
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/.