TEMP #836
cs.yml
on: push
Basic CS and QA checks
20s
PHPStan
19s
Annotations
11 errors and 1 warning
Basic CS and QA checks:
tests/Unit/Polyfills/Fixtures/ValueObjectParamNotRequired.php#L3
Directory marked as a PSR-4 path. The namespace name should match the path exactly in a case-sensitive manner. Expected namespace name: "Yoast\PHPUnitPolyfills\Tests\Unit\Polyfills\Fixtures"; found: "Yoast\PHPUnitPolyfills\Tests\Polyfills\Fixtures"
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L3
Directory marked as a PSR-4 path. The namespace name should match the path exactly in a case-sensitive manner. Expected namespace name: "Yoast\PHPUnitPolyfills\Tests\EndToEnd\Fixtures"; found: "Yoast\PHPUnitPolyfills\Tests\EndToEnd\TestListeners\Fixtures"
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L123
Line indented incorrectly; expected at least 2 tabs, found 0
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L123
Spaces must be used for mid-line alignment; tabs are not allowed
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L123
Expected 1 space before comment text but found 6; use block comment if you need indentation
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L123
Inline comments must end in full-stops, exclamation marks, or question marks
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L169
Missing @return tag in function comment
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L172
Tabs must be used to indent lines; spaces are not allowed
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L178
Missing @return tag in function comment
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/TestListenerImplementation.php#L182
Constant PHP_EOL should be referenced via a fully qualified name.
|
Basic CS and QA checks
Process completed with exit code 2.
|
Basic CS and QA checks:
tests/EndToEnd/Fixtures/autoload.php#L4
File is being unconditionally included; use "require_once" instead
|