[FEATURE] Parse simple expressions #4024
ci.yml
on: pull_request
Matrix: PHP Lint
Matrix: Static Analysis
Matrix: Unit tests
Annotations
21 errors
|
Unit tests (8.0)
Process completed with exit code 2.
|
|
Unit tests (7.3)
Process completed with exit code 255.
|
|
Unit tests (7.4)
Process completed with exit code 2.
|
|
Unit tests (8.1)
Process completed with exit code 2.
|
|
Unit tests (8.5)
Process completed with exit code 2.
|
|
Unit tests (8.2)
Process completed with exit code 2.
|
|
Unit tests (8.4)
Process completed with exit code 2.
|
|
Unit tests (7.2)
Process completed with exit code 255.
|
|
Unit tests (8.3)
Process completed with exit code 2.
|
|
Static Analysis (php:stan, 8.3):
tests/Unit/Value/ExpressionTest.php#L57
Call to an undefined static method Sabberworm\CSS\Tests\Value\ExpressionTest::listDelimiterForRule().
|
|
Static Analysis (php:stan, 8.3):
tests/Unit/Value/ExpressionTest.php#L54
Method Sabberworm\CSS\Tests\Value\ExpressionTest::getDelimiters() return type has no value type specified in iterable type array.
|
|
Static Analysis (php:stan, 8.3):
tests/Unit/Value/ExpressionTest.php#L51
Cannot cast Sabberworm\CSS\Value\ValueList to string.
|
|
Static Analysis (php:stan, 8.3):
tests/Unit/Value/ExpressionTest.php#L23
Method Sabberworm\CSS\Tests\Value\ExpressionTest::provideExpressions() should return array{0?: array{string: string}} but returns array{array{input: '(vh - 10) / 2', expected_output: '(vh - 10)/2', expression_index: 0}, array{input: 'max(5, (vh - 10))', expected_output: 'max(5,(vh - 10))', expression_index: 1}}.
|
|
Static Analysis (php:stan, 8.3):
tests/ParserTest.php#L1197
Method Sabberworm\CSS\Tests\ParserTest::functionArithmeticInFile() has no return type specified.
|
|
Static Analysis (php:stan, 8.3):
tests/ParserTest.php#L441
Method Sabberworm\CSS\Tests\ParserTest::parseExpressions() has no return type specified.
|
|
Static Analysis (php:stan, 8.3):
src/Value/Expression.php#L23
Parameter #2 $arguments of class Sabberworm\CSS\Value\Expression constructor expects array<Sabberworm\CSS\Value\Value|string>|Sabberworm\CSS\Value\RuleValueList, Sabberworm\CSS\Value\Value|string given.
|
|
Static Analysis (php:stan, 8.3):
src/Value/Expression.php#L23
Parameter #1 $name of class Sabberworm\CSS\Value\Expression constructor expects non-empty-string, '' given.
|
|
Static Analysis (php:stan, 8.3):
src/Value/Expression.php#L19
Return type Sabberworm\CSS\Value\Expression of method Sabberworm\CSS\Value\Expression::parse() is not compatible with return type Sabberworm\CSS\Value\CSSFunction of method Sabberworm\CSS\Value\CSSFunction::parse().
|
|
Static Analysis (php:stan, 8.3):
src/Value/Expression.php#L19
PHPDoc tag `@throws` with type Sabberworm\CSS\Value\SourceException|Sabberworm\CSS\Value\UnexpectedEOFException|Sabberworm\CSS\Value\UnexpectedTokenException is not subtype of Throwable
|
|
Static Analysis (php:fixer, 8.3)
Process completed with exit code 8.
|
|
Static Analysis (php:rector, 8.3)
Process completed with exit code 2.
|