Skip to content

apply latest php-cs-fixer rules #73

apply latest php-cs-fixer rules

apply latest php-cs-fixer rules #73

Triggered via pull request November 25, 2025 20:08
@dbudbu
opened #228
cs-fixer
Status Failure
Total duration 19s
Artifacts

static.yml

on: pull_request
PHPStan src
14s
PHPStan src
PHPStan tests
15s
PHPStan tests
PHP-CS-Fixer
10s
PHP-CS-Fixer
Fit to window
Zoom out
Zoom in

Annotations

14 errors
PHPStan src: src/PHPCR/Util/QOM/Sql2Generator.php#L273
Strict comparison using !== between null and string will always evaluate to true.
PHPStan src: src/PHPCR/Util/Console/Command/NodesUpdateCommand.php#L0
Ignored error pattern #expects array|Countable, Iterator<mixed, PHPCR\Query\RowInterface> given\.$# in path /github/workspace/src/PHPCR/Util/Console/Command/NodesUpdateCommand.php was not matched in reported errors.
PHPStan src: src/PHPCR/Util/CND/Parser/AbstractParser.php#L47
Call to function is_string() with string will always evaluate to true.
PHPStan src: src/PHPCR/Util/CND/Parser/AbstractParser.php#L47
Call to function is_string() with non-falsy-string will always evaluate to true.
PHPStan tests: tests/PHPCR/Tests/Util/QOM/QueryBuilderTest.php#L238
PHPDoc tag `@var` with type PHPCR\Query\QOM\SameNodeJoinConditionInterface is not subtype of native type PHPUnit\Framework\MockObject\MockObject.
PHPStan tests: tests/PHPCR/Tests/Util/QOM/QueryBuilderTest.php#L215
PHPDoc tag `@var` with type PHPCR\Query\QOM\SourceInterface is not subtype of native type PHPUnit\Framework\MockObject\MockObject.
PHPStan tests: tests/PHPCR/Tests/Util/QOM/QueryBuilderTest.php#L146
PHPDoc tag `@var` with type PHPCR\Query\QOM\ConstraintInterface is not subtype of native type PHPUnit\Framework\MockObject\MockObject.
PHPStan tests: tests/PHPCR/Tests/Util/QOM/QueryBuilderTest.php#L54
PHPDoc tag `@var` with type PHPCR\Query\QOM\DynamicOperandInterface is not subtype of native type PHPUnit\Framework\MockObject\MockObject.
PHPStan tests: tests/PHPCR/Tests/Util/Console/Command/WorkspaceExportCommandTest.php#L49
Call to function method_exists() with Symfony\Component\Console\Tester\CommandTester and 'getStatusCode' will always evaluate to true.
PHPStan tests: tests/PHPCR/Tests/Util/Console/Command/WorkspaceExportCommandTest.php#L38
Call to function method_exists() with $this(PHPCR\Tests\Util\Console\Command\WorkspaceExportCommandTest) and 'assertFileDoesNotEx…' will always evaluate to true.
PHPStan tests: tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php#L47
Parameter #3 ...$arrays of function array_merge expects array, list<string>|false given.
PHPStan tests: tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php#L45
Parameter #1 ...$arrays of function array_merge expects array, list<string>|false given.
PHPStan tests: tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php#L0
Ignored error pattern #^Parameter \#3 \.\.\.\$arrays of function array_merge expects array, array\<int, string\>\|false given\.$# in path /github/workspace/tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php was not matched in reported errors.
PHPStan tests: tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php#L0
Ignored error pattern #^Parameter \#1 \.\.\.\$arrays of function array_merge expects array, array\<int, string\>\|false given\.$# in path /github/workspace/tests/PHPCR/Tests/Util/CND/Reader/FileReaderTest.php was not matched in reported errors.