Skip to content
Code-Schnipsel Gruppen Projekte
Commit 8cd9acbe erstellt von Patrick Müller's avatar Patrick Müller
Dateien durchsuchen

refactor: phpstan baseline

Übergeordneter 8db1e01b
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!15Next 3.x,!13Update 'next-4.x' with latest changes from 'main'
Pipeline-Nr. 13835 mit Warnungen bestanden
...@@ -5,46 +5,11 @@ parameters: ...@@ -5,46 +5,11 @@ parameters:
count: 1 count: 1
path: src/QUI/Verification/Entity/LinkVerification.php path: src/QUI/Verification/Entity/LinkVerification.php
-
message: "#^Call to method asE164\\(\\) on an unknown class QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber\\.$#"
count: 1
path: src/QUI/Verification/Entity/PhoneNumberVerification.php
-
message: "#^Instantiated class QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber not found\\.$#"
count: 1
path: src/QUI/Verification/Entity/PhoneNumberVerification.php
- -
message: "#^Method QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\:\\:fromArray\\(\\) should return static\\(QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\) but returns QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\.$#" message: "#^Method QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\:\\:fromArray\\(\\) should return static\\(QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\) but returns QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\.$#"
count: 1 count: 1
path: src/QUI/Verification/Entity/PhoneNumberVerification.php path: src/QUI/Verification/Entity/PhoneNumberVerification.php
-
message: "#^PHPDoc tag @throws with type DateMalformedStringException\\|libphonenumber\\\\NumberParseException is not subtype of Throwable$#"
count: 1
path: src/QUI/Verification/Entity/PhoneNumberVerification.php
-
message: "#^Parameter \\$phoneNumber of method QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\:\\:__construct\\(\\) has invalid type QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber\\.$#"
count: 2
path: src/QUI/Verification/Entity/PhoneNumberVerification.php
-
message: "#^Property QUI\\\\Verification\\\\Entity\\\\PhoneNumberVerification\\:\\:\\$phoneNumber has unknown class QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber as its type\\.$#"
count: 2
path: src/QUI/Verification/Entity/PhoneNumberVerification.php
-
message: "#^Parameter \\$phoneNumber of method QUI\\\\Verification\\\\Interface\\\\ValidatePhoneNumberStrategyInterface\\:\\:validate\\(\\) has invalid type QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber\\.$#"
count: 1
path: src/QUI/Verification/Interface/ValidatePhoneNumberStrategyInterface.php
-
message: "#^Parameter \\$phoneNumber of method QUI\\\\Verification\\\\Interface\\\\VerificationFactoryInterface\\:\\:createPhoneNumberVerification\\(\\) has invalid type QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber\\.$#"
count: 2
path: src/QUI/Verification/Interface/VerificationFactoryInterface.php
- -
message: "#^Call to an undefined method QUI\\\\Interfaces\\\\Projects\\\\Site\\:\\:getUrlRewrittenWithHost\\(\\)\\.$#" message: "#^Call to an undefined method QUI\\\\Interfaces\\\\Projects\\\\Site\\:\\:getUrlRewrittenWithHost\\(\\)\\.$#"
count: 1 count: 1
...@@ -75,11 +40,6 @@ parameters: ...@@ -75,11 +40,6 @@ parameters:
count: 2 count: 2
path: src/QUI/Verification/VerificationFactory.php path: src/QUI/Verification/VerificationFactory.php
-
message: "#^Parameter \\$phoneNumber of method QUI\\\\Verification\\\\VerificationFactory\\:\\:createPhoneNumberVerification\\(\\) has invalid type QUI\\\\PhoneApi\\\\Entity\\\\PhoneNumber\\.$#"
count: 2
path: src/QUI/Verification/VerificationFactory.php
- -
message: "#^Cannot call method createQueryBuilder\\(\\) on Doctrine\\\\DBAL\\\\Connection\\|null\\.$#" message: "#^Cannot call method createQueryBuilder\\(\\) on Doctrine\\\\DBAL\\\\Connection\\|null\\.$#"
count: 5 count: 5
...@@ -97,86 +57,21 @@ parameters: ...@@ -97,86 +57,21 @@ parameters:
- -
message: "#^Cannot call method update\\(\\) on QUI\\\\Verification\\\\Interface\\\\VerificationRepositoryInterface\\|null\\.$#" message: "#^Cannot call method update\\(\\) on QUI\\\\Verification\\\\Interface\\\\VerificationRepositoryInterface\\|null\\.$#"
count: 2 count: 4
path: src/QUI/Verification/Verifier.php path: src/QUI/Verification/Verifier.php
-
message: "#^Call to method getCurrentPhoneApiClient\\(\\) on an unknown class QUI\\\\PhoneApi\\\\ProviderManager\\.$#"
count: 1
path: src/QUI/Verification/Verifier/AbstractPhoneVerifier.php
-
message: "#^Instantiated class QUI\\\\PhoneApi\\\\ProviderManager not found\\.$#"
count: 1
path: src/QUI/Verification/Verifier/AbstractPhoneVerifier.php
-
message: "#^Parameter \\$phoneApiClient of method QUI\\\\Verification\\\\Verifier\\\\AbstractPhoneVerifier\\:\\:__construct\\(\\) has invalid type QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface\\.$#"
count: 2
path: src/QUI/Verification/Verifier/AbstractPhoneVerifier.php
-
message: "#^Property QUI\\\\Verification\\\\Verifier\\\\AbstractPhoneVerifier\\:\\:\\$phoneApiClient has unknown class QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface as its type\\.$#"
count: 2
path: src/QUI/Verification/Verifier/AbstractPhoneVerifier.php
- -
message: "#^Cannot call method sendSMS\\(\\) on QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface\\|null\\.$#" message: "#^Cannot call method sendSMS\\(\\) on QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface\\|null\\.$#"
count: 1 count: 1
path: src/QUI/Verification/Verifier/PhoneNumberViaSmsPhoneVerifier.php path: src/QUI/Verification/Verifier/PhoneNumberViaSmsPhoneVerifier.php
-
message: "#^Instantiated class QUI\\\\PhoneApi\\\\Entity\\\\SMS not found\\.$#"
count: 1
path: src/QUI/Verification/Verifier/PhoneNumberViaSmsPhoneVerifier.php
- -
message: "#^Cannot call method sendCall\\(\\) on QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface\\|null\\.$#" message: "#^Cannot call method sendCall\\(\\) on QUI\\\\PhoneApi\\\\Interface\\\\PhoneApiClientInterface\\|null\\.$#"
count: 1 count: 1
path: src/QUI/Verification/Verifier/PhoneNumberViaVoiceCallPhoneVerifier.php path: src/QUI/Verification/Verifier/PhoneNumberViaVoiceCallPhoneVerifier.php
-
message: "#^Instantiated class QUI\\\\PhoneApi\\\\Entity\\\\VoiceCall not found\\.$#"
count: 1
path: src/QUI/Verification/Verifier/PhoneNumberViaVoiceCallPhoneVerifier.php
-
message: "#^Dead catch \\- Exception is never thrown in the try block\\.$#"
count: 1
path: types/verifier.php
- -
message: "#^PHPDoc tag @var above a function has no effect\\.$#" message: "#^PHPDoc tag @var above a function has no effect\\.$#"
count: 1 count: 1
path: types/verifier.php path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:getErrorMessage\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:getOnErrorRedirectUrl\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:getOnSuccessRedirectUrl\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:getSuccessMessage\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:onError\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
-
message: "#^Parameter \\#1 \\$verification of method QUI\\\\Verification\\\\Interface\\\\LinkVerificationHandlerInterface\\:\\:onSuccess\\(\\) expects QUI\\\\Verification\\\\Entity\\\\LinkVerification, QUI\\\\Verification\\\\Entity\\\\AbstractVerification given\\.$#"
count: 1
path: types/verifier.php
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren