Skip to content

Move operator definitions to objects #3311

Move operator definitions to objects

Move operator definitions to objects #3311

Triggered via pull request January 26, 2025 14:36
Status Failure
Total duration 1m 42s
Artifacts

ci.yml

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

Annotations

8 errors and 38 warnings
PHPStan (8.4): src/ExtensionSet.php#L492
Argument of an invalid type Twig\Operator\OperatorInterface supplied for foreach, only iterables are supported.
PHPStan (8.4): src/ExtensionSet.php#L495
Argument of an invalid type Twig\Operator\OperatorInterface supplied for foreach, only iterables are supported.
PHPStan (8.4): src/ExtensionSet.php#L574
Method Twig\Operator\Binary\AbstractBinaryOperator@anonymous/ExtensionSet.php:540::parse() overrides method Twig\Operator\Binary\AbstractBinaryOperator::parse() but misses parameter #3 $line.
PHPStan (8.4): src/ExtensionSet.php#L580
Method Twig\Operator\Binary\AbstractBinaryOperator::parse() invoked with 2 parameters, 3 required.
PHPStan (8.4): src/Operator/Operators.php#L70
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#L75
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#L80
Method Twig\Operator\Operators::getTernary() should return Twig\Operator\Ternary\TernaryOperatorInterface|null but returns Twig\Operator\OperatorInterface|null.
PHPStan (8.4)
Process completed with exit code 1.
PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHPStan (8.4)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
markdown-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cache-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cssinliner-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
inky-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cache-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cssinliner-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
string-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
markdown-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
intl-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
html-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
html-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
twig-extra-bundle PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
twig-extra-bundle PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cssinliner-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
intl-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
string-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cache-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
html-extra PHP 8.1
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
inky-extra PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
inky-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cssinliner-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
html-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
cache-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
intl-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
markdown-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
markdown-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
intl-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
inky-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
twig-extra-bundle PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
twig-extra-bundle PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
string-extra PHP 8.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
string-extra PHP 8.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Integration tests with PHP 8.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636