Skip to content

Add TwoFactorProviderDecider (#215) #733

Add TwoFactorProviderDecider (#215)

Add TwoFactorProviderDecider (#215) #733

Triggered via push January 18, 2024 20:08
Status Failure
Total duration 48s
Artifacts

ci.yaml

on: push
Matrix: code-coverage
Matrix: coding-standards
Matrix: integration-tests
Matrix: unit-tests
Fit to window
Zoom out
Zoom in

Annotations

9 errors
RiskyTruthyFalsyComparison: src/bundle/DependencyInjection/Factory/Security/TwoFactorServicesFactory.php#L74
src/bundle/DependencyInjection/Factory/Security/TwoFactorServicesFactory.php:74:16: RiskyTruthyFalsyComparison: Operand of type false|mixed contains type mixed, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/bundle/Security/Http/EventListener/AbstractCheckCodeListener.php#L41
src/bundle/Security/Http/EventListener/AbstractCheckCodeListener.php:41:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/email/Mailer/SymfonyAuthCodeMailer.php#L26
src/email/Mailer/SymfonyAuthCodeMailer.php:26:19: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleTotpFactory.php#L35
src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleTotpFactory.php:35:65: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleTotpFactory.php#L38
src/google-authenticator/Security/TwoFactor/Provider/Google/GoogleTotpFactory.php:38:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/totp/Security/TwoFactor/Provider/Totp/TotpFactory.php#L48
src/totp/Security/TwoFactor/Provider/Totp/TotpFactory.php:48:64: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/totp/Security/TwoFactor/Provider/Totp/TotpFactory.php#L51
src/totp/Security/TwoFactor/Provider/Totp/TotpFactory.php:51:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
RiskyTruthyFalsyComparison: src/trusted-device/Security/TwoFactor/Trusted/TrustedDeviceTokenStorage.php#L121
src/trusted-device/Security/TwoFactor/Trusted/TrustedDeviceTokenStorage.php:121:13: RiskyTruthyFalsyComparison: Operand of type null|string contains type string, which can be falsy and truthy. This can cause possibly unexpected behavior. Use strict comparison instead. (see https://psalm.dev/356)
Coding Standards - PHP 8.2
Process completed with exit code 2.