Browse Source

Update psalm's baseline.

ADmad 4 years ago
parent
commit
780416bfa5
1 changed files with 5 additions and 20 deletions
  1. 5 20
      phpstan-baseline.neon

+ 5 - 20
phpstan-baseline.neon

@@ -141,6 +141,11 @@ parameters:
 			path: src/Database/Expression/QueryExpression.php
 
 		-
+			message: "#^Constructor of class Cake\\\\Error\\\\Renderer\\\\ConsoleExceptionRenderer has an unused parameter \\$request\\.$#"
+			count: 1
+			path: src/Error/Renderer/ConsoleExceptionRenderer.php
+
+		-
 			message: "#^PHPDoc tag @param for parameter \\$subject with type TSubject\\|null is not subtype of native type object\\|null\\.$#"
 			count: 1
 			path: src/Event/Event.php
@@ -311,21 +316,6 @@ parameters:
 			path: src/TestSuite/TestEmailTransport.php
 
 		-
-			message: "#^Dead catch \\- UnhandledMatchError is never thrown in the try block\\.$#"
-			count: 1
-			path: src/Validation/Validation.php
-
-		-
-			message: "#^Match expression does not handle remaining value\\: string$#"
-			count: 1
-			path: src/Validation/Validation.php
-
-		-
-			message: "#^Unreachable statement \\- code above always terminates\\.$#"
-			count: 1
-			path: src/Validation/Validation.php
-
-		-
 			message: "#^Dead catch \\- Error is never thrown in the try block\\.$#"
 			count: 1
 			path: src/View/Cell.php
@@ -345,8 +335,3 @@ parameters:
 			count: 1
 			path: src/View/Helper/TimeHelper.php
 
-		-
-			message: "#^Constructor of class Cake\\\\Error\\\\Renderer\\\\ConsoleExceptionRenderer has an unused parameter \\$request\\.$#"
-			count: 1
-			path: src/Error/Renderer/ConsoleExceptionRenderer.php
-