Skip to content

Refactor ClassesInDirectories to remove BetterReflection dependency #552

Refactor ClassesInDirectories to remove BetterReflection dependency

Refactor ClassesInDirectories to remove BetterReflection dependency #552

Triggered via push November 2, 2024 15:03
Status Failure
Total duration 22s
Artifacts
cs  /  Coding Standards
11s
cs / Coding Standards
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
cs / Coding Standards: src/ClassesInDirectories.php#L15
Incorrect annotations group.
cs / Coding Standards: src/ClassesInDirectories.php#L22
Multi-line function calls must have a trailing comma after the last parameter.
cs / Coding Standards: src/ClassesInDirectories.php#L39
Use early exit to reduce code nesting.
cs / Coding Standards: src/ClassesInDirectories.php#L39
Function class_exists() should not be referenced via a fallback global name, but via a use statement.
cs / Coding Standards: src/ClassesInDirectories.php#L39
Function interface_exists() should not be referenced via a fallback global name, but via a use statement.
cs / Coding Standards: src/ClassesInDirectories.php#L46
Usage of short nullable type hint in "?string" is disallowed.
cs / Coding Standards: src/ClassesInDirectories.php#L48
Function file_get_contents() should not be referenced via a fallback global name, but via a use statement.
cs / Coding Standards: src/ClassesInDirectories.php#L55
Function token_get_all() should not be referenced via a fallback global name, but via a use statement.
cs / Coding Standards: src/ClassesInDirectories.php#L56
Function count() should not be referenced via a fallback global name, but via a use statement.
cs / Coding Standards: src/ClassesInDirectories.php#L59
Expected 1 space after NOT operator; 0 found
cs / Coding Standards
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/