Skip to content

Remove redundant assertions in ClassesInDirectories.php #568

Remove redundant assertions in ClassesInDirectories.php

Remove redundant assertions in ClassesInDirectories.php #568

Triggered via push November 2, 2024 16:45
Status Failure
Total duration 33s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 7 warnings
sa / PHPStan: src/ClassesInDirectories.php#L101
Cannot access offset 0 on mixed.
sa / PHPStan: src/ClassesInDirectories.php#L102
Cannot access offset 1 on mixed.
sa / PHPStan: src/ClassesInDirectories.php#L117
Cannot access offset 0 on mixed.
sa / PHPStan
Process completed with exit code 1.
sa / ComposerRequireChecker
Process completed with exit code 1.
sa / Psalm: src/ClassesInDirectories.php#L101
MixedArrayAccess: Cannot access array value on mixed variable $tokens[$j]
sa / Psalm: src/ClassesInDirectories.php#L102
MixedArrayAccess: Cannot access array value on mixed variable $tokens[$j]
sa / Psalm: src/ClassesInDirectories.php#L116
MixedAssignment: Unable to determine the type that $token is being assigned to
sa / Psalm: src/ClassesInDirectories.php#L117
MixedArrayAccess: Cannot access array value on mixed variable $token
sa / Psalm
Process completed with exit code 1.
sa / PHPStan
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/
sa / PHPMD
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/
sa / PHPMD
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / ComposerRequireChecker
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
sa / ComposerRequireChecker
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
sa / Psalm
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
sa / Psalm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/