Skip to content

PHPunit10

PHPunit10 #100

Triggered via pull request April 22, 2023 21:38
@rdohmsrdohms
synchronize #75
test/phpunit10
Status Failure
Total duration 23s
Artifacts

check-cs.yml

on: pull_request
Fix Code Style
15s
Fix Code Style
Fit to window
Zoom out
Zoom in

Annotations

11 errors
Fix Code Style
Process completed with exit code 2.
Fix Code Style: tests/Unit/AssertTest.php#L10
Use statements should be sorted alphabetically. The first wrong one is InvalidArgumentException.
Fix Code Style: tests/Unit/AssertTest.php#L10
Import statements must not begin with a leading backslash
Fix Code Style: tests/Unit/AssertTest.php#L10
Use statement cannot start with a backslash.
Fix Code Style: tests/Unit/AssertTest.php#L13
Expected 1 line between different types of use statement, found 0.
Fix Code Style: tests/Unit/AssertTest.php#L50
Method \DMS\PHPUnitExtensions\ArraySubset\Tests\Unit\AssertTest::getExpectedExceptionByVersion() does not have return type hint nor @return annotation for its return value.
Fix Code Style: tests/Unit/AssertTest.php#L50
Opening brace should be on a new line
Fix Code Style: tests/Unit/AssertTest.php#L51
The first expression of a multi-line control structure must be on the line after the opening parenthesis
Fix Code Style: tests/Unit/AssertTest.php#L52
The closing parenthesis of a multi-line control structure must be on the line after the last expression
Fix Code Style: tests/Unit/AssertTest.php#L52
Expected 1 space(s) after closing parenthesis; found 0
Fix Code Style: src/ArraySubsetAsserts.php#L34
Function class_exists() should not be referenced via a fallback global name, but via a use statement.