Skip to content

Fix compatibility with Twig 3.12 #109

Fix compatibility with Twig 3.12

Fix compatibility with Twig 3.12 #109

Triggered via push September 2, 2024 10:01
Status Failure
Total duration 58s
Artifacts
Matrix: static-analysis
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
phpstan: bundle/RichText/Converter/Link.php#L58
Offset 1 does not exist on array{0?: string, 1?: string, 2?: string, 3?: non-empty-string}.
phpstan: bundle/RichText/Converter/Link.php#L58
Offset 2 does not exist on array{0?: string, 1?: string, 2?: string, 3?: non-empty-string}.
phpstan: bundle/RichText/Converter/Link.php#L58
Offset 3 does not exist on array{0?: string, 1?: string, 2?: string, 3?: non-empty-string}.
phpstan: bundle/Templating/Twig/DebugTemplate.php#L89
Return type (array<string, mixed>) of method Netgen\Bundle\SiteBundle\Templating\Twig\DebugTemplate::getDebugInfo() should be compatible with return type (array<int, int>) of method Twig\Template::getDebugInfo()
phpstan
Process completed with exit code 1.
phpstan
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/