Migrate psalm to phpstan #445
php.yml
on: push
Annotations
10 errors
Quality control:
src/Controller/AuthProcess.php#L238
Offset 'FIDO2PasswordlessAu…' does not exist on array{FIDO2AuthSuccessful: mixed, FIDO2WantsRegister: bool}.
|
Quality control:
src/Controller/PushbackUserPass.php#L97
Non-abstract class class@anonymous/Controller/PushbackUserPass.php:97 contains abstract method login() from class SimpleSAML\Module\core\Auth\UserPassBase.
|
Quality control:
src/Controller/PushbackUserPass.php#L120
Method SimpleSAML\Module\webauthn\Controller\PushbackUserPass::main() should return SimpleSAML\HTTP\RunnableResponse|Symfony\Component\HttpFoundation\RedirectResponse but return statement is missing.
|
Quality control:
src/Store.php#L29
Constructor of class SimpleSAML\Module\webauthn\Store has an unused parameter $config.
|
Quality control:
src/WebAuthn/AAGUID.php#L48
Method SimpleSAML\Module\webauthn\WebAuthn\AAGUID::__construct() with return type void returns null but should not return anything.
|
Quality control:
src/WebAuthn/AAGUID.php#L70
Static property SimpleSAML\Module\webauthn\WebAuthn\AAGUID::$instance (static(SimpleSAML\Module\webauthn\WebAuthn\AAGUID)) does not accept SimpleSAML\Module\webauthn\WebAuthn\AAGUID.
|
Quality control:
src/WebAuthn/AAGUID.php#L72
Method SimpleSAML\Module\webauthn\WebAuthn\AAGUID::getInstance() should return static(SimpleSAML\Module\webauthn\WebAuthn\AAGUID) but returns SimpleSAML\Module\webauthn\WebAuthn\AAGUID.
|
Quality control:
src/WebAuthn/WebAuthnAbstractEvent.php#L434
Call to an undefined method CBOR\CBORObject::normalize().
|
Quality control:
src/WebAuthn/WebAuthnRegistrationEvent.php#L660
Part $attestationData (array) of encapsed string cannot be cast to string.
|
Quality control
Process completed with exit code 1.
|