Skip to content

Bump the all-actions group with 2 updates #135

Bump the all-actions group with 2 updates

Bump the all-actions group with 2 updates #135

Triggered via pull request August 12, 2025 07:49
Status Failure
Total duration 1m 26s
Artifacts

php.yml

on: pull_request
Matrix: unit-tests-linux
Matrix: unit-tests-windows
Code coverage
Code coverage
Cleanup artifacts
0s
Cleanup artifacts
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 6 warnings
Quality control
Process completed with exit code 2.
UnusedIssueHandlerSuppression: psalm-dev.xml#L0
/home/runner/work/simplesamlphp-module-authyubikey/simplesamlphp-module-authyubikey/psalm-dev.xml:0:0: UnusedIssueHandlerSuppression: Suppressed issue type "UnresolvableInclude" for /tests/bootstrap.php was not thrown. (see https://psalm.dev/326)
MissingOverrideAttribute: tests/src/Controller/YubikeyTest.php#L113
tests/src/Controller/YubikeyTest.php:113:13: MissingOverrideAttribute: Method SimpleSAML\Test\Module\authYubiKey\Controller\_home_runner_work_simplesamlphp_module_authyubikey_simplesamlphp_module_authyubikey_tests_src_Controller_YubikeyTest_php_107_2680::handlelogin should have the "Override" attribute (see https://psalm.dev/358)
MissingOverrideAttribute: tests/src/Controller/YubikeyTest.php#L33
tests/src/Controller/YubikeyTest.php:33:5: MissingOverrideAttribute: Method SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest::setup should have the "Override" attribute (see https://psalm.dev/358)
UnusedClass: tests/src/Controller/YubikeyTest.php#L21
tests/src/Controller/YubikeyTest.php:21:7: UnusedClass: Class SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest is never used (see https://psalm.dev/075)
PossiblyNullArgument: src/Auth/Source/YubiKey.php#L221
src/Auth/Source/YubiKey.php:221:31: PossiblyNullArgument: Argument 1 of SimpleSAML\Error\Error::__construct cannot be null, possibly null value provided (see https://psalm.dev/078)
UnusedDocblockParam: src/Auth/Source/YubiKey.php#L188
src/Auth/Source/YubiKey.php:188:22: UnusedDocblockParam: Docblock parameter $otp in docblock for SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::login does not have a counterpart in signature parameter list (see https://psalm.dev/319)
DocblockTypeContradiction: src/Auth/Source/YubiKey.php#L123
src/Auth/Source/YubiKey.php:123:13: DocblockTypeContradiction: Cannot resolve types for $state - docblock-defined type array<array-key, mixed> does not contain null (see https://psalm.dev/155)
MissingOverrideAttribute: src/Auth/Source/YubiKey.php#L92
src/Auth/Source/YubiKey.php:92:5: MissingOverrideAttribute: Method SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::authenticate should have the "Override" attribute (see https://psalm.dev/358)
MissingClassConstType: src/Auth/Source/YubiKey.php#L53
src/Auth/Source/YubiKey.php:53:18: MissingClassConstType: Class constant "SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::AUTHID" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Auth/Source/YubiKey.php#L48
src/Auth/Source/YubiKey.php:48:18: MissingClassConstType: Class constant "SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::TOKENSIZE" should have a declared type. (see https://psalm.dev/359)
MissingClassConstType: src/Auth/Source/YubiKey.php#L42
src/Auth/Source/YubiKey.php:42:18: MissingClassConstType: Class constant "SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::STAGEID" should have a declared type. (see https://psalm.dev/359)
ClassMustBeFinal: src/Auth/Source/YubiKey.php#L37
src/Auth/Source/YubiKey.php:37:7: ClassMustBeFinal: Class SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
MissingOverrideAttribute: src/Auth/Process/OTP2YubiPrefix.php#L68
src/Auth/Process/OTP2YubiPrefix.php:68:5: MissingOverrideAttribute: Method SimpleSAML\Module\authYubiKey\Auth\Process\OTP2YubiPrefix::process should have the "Override" attribute (see https://psalm.dev/358)
ClassMustBeFinal: src/Auth/Process/OTP2YubiPrefix.php#L60
src/Auth/Process/OTP2YubiPrefix.php:60:7: ClassMustBeFinal: Class SimpleSAML\Module\authYubiKey\Auth\Process\OTP2YubiPrefix is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
Linter
Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires simplesamlphp/simplesamlphp ^2.2 -> satisfiable by simplesamlphp/simplesamlphp[v2.2.0, ..., v2.4.2]. - simplesamlphp/simplesamlphp[v2.2.0, ..., v2.4.2] require ext-session * -> it is missing from your system. Install or enable PHP's session extension. To enable extensions, verify that they are enabled in your .ini files: - /etc/php84/php.ini - /etc/php84/conf.d/00_ctype.ini - /etc/php84/conf.d/00_curl.ini - /etc/php84/conf.d/00_dom.ini - /etc/php84/conf.d/00_iconv.ini - /etc/php84/conf.d/00_intl.ini - /etc/php84/conf.d/00_mbstring.ini - /etc/php84/conf.d/00_openssl.ini - /etc/php84/conf.d/00_simplexml.ini - /etc/php84/conf.d/00_tokenizer.ini - /etc/php84/conf.d/00_xmlwriter.ini - /etc/php84/conf.d/01_phar.ini - /etc/php84/conf.d/10_igbinary.ini You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-session` to temporarily ignore these required extensions.
PropertyNotSetInConstructor: tests/src/Controller/YubikeyTest.php#L27
tests/src/Controller/YubikeyTest.php:27:23: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest::$session is not defined in constructor of SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest or in any methods called in the constructor (see https://psalm.dev/074)
PropertyNotSetInConstructor: tests/src/Controller/YubikeyTest.php#L24
tests/src/Controller/YubikeyTest.php:24:29: PropertyNotSetInConstructor: Property SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest::$config is not defined in constructor of SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest or in any methods called in the constructor (see https://psalm.dev/074)
ClassMustBeFinal: tests/src/Controller/YubikeyTest.php#L21
tests/src/Controller/YubikeyTest.php:21:7: ClassMustBeFinal: Class SimpleSAML\Test\Module\authYubiKey\Controller\YubikeyTest is never extended and is not part of the public API, and thus must be made final. (see https://psalm.dev/361)
UnusedClass: src/Controller/Yubikey.php#L21
src/Controller/Yubikey.php:21:7: UnusedClass: Class SimpleSAML\Module\authYubiKey\Controller\Yubikey is never used (see https://psalm.dev/075)
PossiblyUnusedMethod: src/Auth/Source/YubiKey.php#L71
src/Auth/Source/YubiKey.php:71:21: PossiblyUnusedMethod: Cannot find any calls to method SimpleSAML\Module\authYubiKey\Auth\Source\YubiKey::__construct (see https://psalm.dev/087)
UnusedClass: src/Auth/Process/OTP2YubiPrefix.php#L60
src/Auth/Process/OTP2YubiPrefix.php:60:7: UnusedClass: Class SimpleSAML\Module\authYubiKey\Auth\Process\OTP2YubiPrefix is never used (see https://psalm.dev/075)