Move operator definitions to objects #3342
ci.yml
on: pull_request
Matrix: tests
Matrix: PHPStan
Matrix: extension-tests
Matrix: integration-tests
Annotations
5 errors
PHPStan (8.4):
src/Operator/Operators.php#L67
Method Twig\Operator\Operators::getUnary() should return Twig\Operator\Unary\UnaryOperatorInterface|null but returns Twig\Operator\OperatorInterface|null.
|
PHPStan (8.4):
src/Operator/Operators.php#L72
Method Twig\Operator\Operators::getBinary() should return Twig\Operator\Binary\BinaryOperatorInterface|null but returns Twig\Operator\OperatorInterface|null.
|
PHPStan (8.4):
src/Operator/Operators.php#L77
Method Twig\Operator\Operators::getTernary() should return Twig\Operator\Ternary\TernaryOperatorInterface|null but returns Twig\Operator\OperatorInterface|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.
|