Bump actions/github-script from 7 to 8 in the all-actions group #130
php.yml
on: pull_request
Matrix: PHP-Linter
Linter
/
ecmascript-linter
Linter
/
json-linter
Linter
/
style-linter
Linter
/
yaml-linter
Quality control
47s
Security checks
24s
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Cleanup artifacts
0s
Annotations
21 errors and 6 warnings
|
PHP-Linter (8.4) / linter
Process completed with exit code 4.
|
|
MissingOverrideAttribute:
tests/src/Controller/ExpiryCheckTest.php#L102
tests/src/Controller/ExpiryCheckTest.php:102:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\expirycheck\Controller\_home_runner_work_simplesamlphp_module_expirycheck_simplesamlphp_module_expirycheck_tests_src_Controller_ExpiryCheckTest_php_101_2453::loadstate should have the "Override" attribute (see https://psalm.dev/358)
|
|
MissingOverrideAttribute:
tests/src/Controller/ExpiryCheckTest.php#L35
tests/src/Controller/ExpiryCheckTest.php:35:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest::setup should have the "Override" attribute (see https://psalm.dev/358)
|
|
UnusedClass:
tests/src/Controller/ExpiryCheckTest.php#L23
tests/src/Controller/ExpiryCheckTest.php:23:13: UnusedClass: Class SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest is never used (see https://psalm.dev/075)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L195
tests/src/Auth/Process/ExpiryDateTest.php:195:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L194
tests/src/Auth/Process/ExpiryDateTest.php:194:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L193
tests/src/Auth/Process/ExpiryDateTest.php:193:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L192
tests/src/Auth/Process/ExpiryDateTest.php:192:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L186
tests/src/Auth/Process/ExpiryDateTest.php:186:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnevaluatedCode:
tests/src/Auth/Process/ExpiryDateTest.php#L185
tests/src/Auth/Process/ExpiryDateTest.php:185:9: UnevaluatedCode: Expressions after return/throw/continue (see https://psalm.dev/084)
|
|
UnusedClass:
tests/src/Auth/Process/ExpiryDateTest.php#L12
tests/src/Auth/Process/ExpiryDateTest.php:12:13: UnusedClass: Class SimpleSAML\Test\Module\expirycheck\Auth\Process\ExpiryDateTest is never used (see https://psalm.dev/075)
|
|
ArgumentTypeCoercion:
src/Controller/ExpiryCheck.php#L122
src/Controller/ExpiryCheck.php:122:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
|
|
ArgumentTypeCoercion:
src/Controller/ExpiryCheck.php#L87
src/Controller/ExpiryCheck.php:87:46: ArgumentTypeCoercion: Argument 1 of SimpleSAML\Auth\State::loadState expects string, but parent type scalar provided (see https://psalm.dev/193)
|
|
ClassMustBeFinal:
src/Controller/ExpiryCheck.php#L26
src/Controller/ExpiryCheck.php:26:7: ClassMustBeFinal: Class SimpleSAML\Module\expirycheck\Controller\ExpiryCheck is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PossiblyFalseArgument:
src/Auth/Process/ExpiryDate.php#L208
src/Auth/Process/ExpiryDate.php:208:62: PossiblyFalseArgument: Argument 2 of date cannot be false, possibly int|null value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
src/Auth/Process/ExpiryDate.php#L205
src/Auth/Process/ExpiryDate.php:205:60: PossiblyFalseArgument: Argument 2 of date cannot be false, possibly int|null value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
src/Auth/Process/ExpiryDate.php#L203
src/Auth/Process/ExpiryDate.php:203:31: PossiblyFalseArgument: Argument 1 of SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate::checkDate cannot be false, possibly int value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
src/Auth/Process/ExpiryDate.php#L196
src/Auth/Process/ExpiryDate.php:196:62: PossiblyFalseArgument: Argument 2 of date cannot be false, possibly int|null value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
src/Auth/Process/ExpiryDate.php#L188
src/Auth/Process/ExpiryDate.php:188:38: PossiblyFalseArgument: Argument 2 of SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate::shWarning cannot be false, possibly int value expected (see https://psalm.dev/104)
|
|
MissingOverrideAttribute:
src/Auth/Process/ExpiryDate.php#L163
src/Auth/Process/ExpiryDate.php:163:5: MissingOverrideAttribute: Method SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate::process should have the "Override" attribute (see https://psalm.dev/358)
|
|
ClassMustBeFinal:
src/Auth/Process/ExpiryDate.php#L41
src/Auth/Process/ExpiryDate.php:41:7: ClassMustBeFinal: Class SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ExpiryCheckTest.php#L29
tests/src/Controller/ExpiryCheckTest.php:29:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest::$session is not defined in constructor of SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/src/Controller/ExpiryCheckTest.php#L26
tests/src/Controller/ExpiryCheckTest.php:26:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest::$config is not defined in constructor of SimpleSAML\Test\Module\expirycheck\Controller\ExpiryCheckTest or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PossiblyFalseArgument:
tests/src/Auth/Process/ExpiryDateTest.php#L135
tests/src/Auth/Process/ExpiryDateTest.php:135:47: PossiblyFalseArgument: Argument 2 of SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate::shWarning cannot be false, possibly int value expected (see https://psalm.dev/104)
|
|
PossiblyFalseArgument:
tests/src/Auth/Process/ExpiryDateTest.php#L113
tests/src/Auth/Process/ExpiryDateTest.php:113:47: PossiblyFalseArgument: Argument 2 of SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate::shWarning cannot be false, possibly int value expected (see https://psalm.dev/104)
|
|
UnusedClass:
src/Controller/ExpiryCheck.php#L26
src/Controller/ExpiryCheck.php:26:7: UnusedClass: Class SimpleSAML\Module\expirycheck\Controller\ExpiryCheck is never used (see https://psalm.dev/075)
|
|
UnusedClass:
src/Auth/Process/ExpiryDate.php#L41
src/Auth/Process/ExpiryDate.php:41:7: UnusedClass: Class SimpleSAML\Module\expirycheck\Auth\Process\ExpiryDate is never used (see https://psalm.dev/075)
|