Skip to content

Fix phpstan

Fix phpstan #141

Triggered via push October 29, 2025 17:25
Status Failure
Total duration 2m 6s
Artifacts

php.yml

on: push
Matrix: PHP-Linter
Linter  /  ecmascript-linter
Linter / ecmascript-linter
Linter  /  json-linter
Linter / json-linter
Linter  /  style-linter
Linter / style-linter
Linter  /  yaml-linter
Linter / yaml-linter
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
10s
Code coverage
Quality control
31s
Quality control
Security checks
26s
Security checks
Cleanup artifacts
3s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

5 errors
Quality control
Process completed with exit code 1.
Quality control: tests/src/Controller/CASTest.php#L196
Method SimpleSAML\Auth\Source@anonymous/src/Controller/CASTest.php:180::getById() never returns null so it can be removed from the return type.
Quality control: tests/src/Controller/CASTest.php#L175
Method SimpleSAML\Auth\State@anonymous/src/Controller/CASTest.php:173::loadState() never returns null so it can be removed from the return type.
Quality control: tests/src/Controller/CASTest.php#L146
Method SimpleSAML\Auth\State@anonymous/src/Controller/CASTest.php:144::loadState() never returns null so it can be removed from the return type.
Quality control: tests/src/Controller/CASTest.php#L116
Method SimpleSAML\Auth\State@anonymous/src/Controller/CASTest.php:114::loadState() never returns null so it can be removed from the return type.