Sécurité et qualité : headers HTTP, permissions .env, lint PHPStan + PHP-CS-Fixer, réorganisation dossiers, scripts de déploiement
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
parameters:
|
||||
ignoreErrors:
|
||||
-
|
||||
message: "#^Unreachable statement \\- code above always terminates\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/ProfileRepository.php
|
||||
|
||||
-
|
||||
message: "#^Call to method getCode\\(\\) on an unknown class App\\\\Repository\\\\PDOException\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Caught class App\\\\Repository\\\\PDOException not found\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Instantiated class App\\\\Repository\\\\InvalidArgumentException not found\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Method App\\\\Repository\\\\UserRepository\\:\\:nullIfEmpty\\(\\) is unused\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Throwing object of an unknown class App\\\\Repository\\\\InvalidArgumentException\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Throwing object of an unknown class App\\\\Repository\\\\PDOException\\.$#"
|
||||
count: 1
|
||||
path: src/Repository/UserRepository.php
|
||||
|
||||
-
|
||||
message: "#^Class App\\\\Repository\\\\UserRepository constructor invoked with 0 parameters, 1 required\\.$#"
|
||||
count: 1
|
||||
path: src/Service/AuthService.php
|
||||
|
||||
-
|
||||
message: "#^Call to an undefined method App\\\\Infrastructure\\\\Database\\:\\:getConnection\\(\\)\\.$#"
|
||||
count: 1
|
||||
path: src/Service/MailQueue.php
|
||||
|
||||
-
|
||||
message: "#^Call to an undefined method App\\\\Infrastructure\\\\Database\\:\\:getConnection\\(\\)\\.$#"
|
||||
count: 1
|
||||
path: src/Service/MailService.php
|
||||
|
||||
-
|
||||
message: "#^Comparison operation \"\\>\" between 200 and 0 is always true\\.$#"
|
||||
count: 1
|
||||
path: src/Service/MailService.php
|
||||
|
||||
-
|
||||
message: "#^Constant BASE_PATH not found\\.$#"
|
||||
count: 1
|
||||
path: src/auth.php
|
||||
|
||||
-
|
||||
message: "#^Parameter \\#1 \\$scope of method Jumbojett\\\\OpenIDConnectClient\\:\\:addScope\\(\\) expects array, string given\\.$#"
|
||||
count: 1
|
||||
path: src/auth.php
|
||||
|
||||
-
|
||||
message: "#^Constant BASE_PATH not found\\.$#"
|
||||
count: 1
|
||||
path: src/db.php
|
||||
Reference in New Issue
Block a user