Skip to content

Move operator definitions to objects #3359

Move operator definitions to objects

Move operator definitions to objects #3359

Triggered via pull request February 3, 2025 13:31
Status Failure
Total duration 2m 31s
Artifacts

ci.yml

on: pull_request
Matrix: tests
Matrix: PHPStan
Matrix: extension-tests
Matrix: integration-tests
Fit to window
Zoom out
Zoom in

Annotations

11 errors
PHPStan (8.4): src/ExpressionParser/ExpressionParserType.php#L24
Method Twig\ExpressionParser\ExpressionParserType::getType() should return Twig\ExpressionParser\ExpressionParserType but return statement is missing.
PHPStan (8.4): src/ExpressionParser/ExpressionParsers.php#L73
Method Twig\ExpressionParser\ExpressionParsers::getPrefixByClass() should return Twig\ExpressionParser\PrefixExpressionParserInterface|null but returns Twig\ExpressionParser\ExpressionParserInterface|null.
PHPStan (8.4): src/ExpressionParser/ExpressionParsers.php#L78
Method Twig\ExpressionParser\ExpressionParsers::getPrefix() should return Twig\ExpressionParser\PrefixExpressionParserInterface|null but returns Twig\ExpressionParser\ExpressionParserInterface|null.
PHPStan (8.4): src/ExpressionParser/ExpressionParsers.php#L90
Method Twig\ExpressionParser\ExpressionParsers::getInfixByClass() should return Twig\ExpressionParser\InfixExpressionParserInterface|null but returns Twig\ExpressionParser\ExpressionParserInterface|null.
PHPStan (8.4): src/ExpressionParser/ExpressionParsers.php#L95
Method Twig\ExpressionParser\ExpressionParsers::getInfix() should return Twig\ExpressionParser\InfixExpressionParserInterface|null but returns Twig\ExpressionParser\ExpressionParserInterface|null.
PHPStan (8.4): src/TokenParser/AbstractTokenParser.php#L61
Method Twig\TokenParser\AbstractTokenParser::parseAssignmentExpression() should return iterable<Twig\Node\Expression\Variable\AssignContextVariable>&Twig\Node\Nodes but returns Twig\Node\Nodes.
PHPStan (8.4)
Process completed with exit code 1.
cache-extra PHP 8.3
Process completed with exit code 2.
cache-extra PHP 8.1
Process completed with exit code 2.
cache-extra PHP 8.2
Process completed with exit code 2.
cache-extra PHP 8.4
Process completed with exit code 2.