Selaa lähdekoodia

Update baseline for php8.0

Jordi Boggiano 1 vuosi sitten
vanhempi
commit
f771304e25
1 muutettua tiedostoa jossa 21 lisäystä ja 21 poistoa
  1. 21 21
      phpstan-baseline.neon

+ 21 - 21
phpstan-baseline.neon

@@ -10,6 +10,16 @@ parameters:
 			count: 1
 			path: src/Monolog/Formatter/JsonFormatter.php
 
+		-
+			message: "#^Property SoapFault\\:\\:\\$faultactor \\(string\\) in isset\\(\\) is not nullable\\.$#"
+			count: 1
+			path: src/Monolog/Formatter/LineFormatter.php
+
+		-
+			message: "#^Property SoapFault\\:\\:\\$faultcode \\(string\\) in isset\\(\\) is not nullable\\.$#"
+			count: 1
+			path: src/Monolog/Formatter/LineFormatter.php
+
 		-
 			message: "#^Method Monolog\\\\Formatter\\\\NormalizerFormatter\\:\\:normalize\\(\\) return type has no value type specified in iterable type array\\.$#"
 			count: 1
@@ -25,6 +35,16 @@ parameters:
 			count: 2
 			path: src/Monolog/Formatter/NormalizerFormatter.php
 
+		-
+			message: "#^Property SoapFault\\:\\:\\$faultactor \\(string\\) in isset\\(\\) is not nullable\\.$#"
+			count: 1
+			path: src/Monolog/Formatter/NormalizerFormatter.php
+
+		-
+			message: "#^Property SoapFault\\:\\:\\$faultcode \\(string\\) in isset\\(\\) is not nullable\\.$#"
+			count: 1
+			path: src/Monolog/Formatter/NormalizerFormatter.php
+
 		-
 			message: "#^Method Monolog\\\\Formatter\\\\WildfireFormatter\\:\\:normalize\\(\\) return type has no value type specified in iterable type array\\.$#"
 			count: 1
@@ -90,36 +110,16 @@ parameters:
 			count: 2
 			path: src/Monolog/Handler/RotatingFileHandler.php
 
-		-
-			message: "#^Invalid array key type Fiber\\.$#"
-			count: 1
-			path: src/Monolog/Logger.php
-
 		-
 			message: "#^Method Monolog\\\\Logger\\:\\:__construct\\(\\) has parameter \\$processors with no value type specified in iterable type array\\.$#"
 			count: 2
 			path: src/Monolog/Logger.php
 
 		-
-			message: "#^Offset Fiber does not exist on WeakMap\\<Fiber, int\\>\\|null\\.$#"
-			count: 1
-			path: src/Monolog/Logger.php
-
-		-
-			message: "#^PHPDoc tag @var for variable \\$fiberLogDepth contains generic class Fiber but does not specify its types\\: TStart, TResume, TReturn, TSuspend$#"
-			count: 2
-			path: src/Monolog/Logger.php
-
-		-
-			message: "#^Property Monolog\\\\Logger\\:\\:\\$fiberLogDepth \\(WeakMap\\<Fiber, int\\>\\|null\\) does not accept non\\-empty\\-array\\<mixed, int\\>\\|WeakMap\\<Fiber, int\\>\\.$#"
+			message: "#^Property Monolog\\\\Logger\\:\\:\\$fiberLogDepth \\(WeakMap\\<Fiber, int\\>\\|null\\) does not accept non\\-empty\\-array\\<int\\|string, int\\>\\|WeakMap\\<Fiber, int\\>\\.$#"
 			count: 3
 			path: src/Monolog/Logger.php
 
-		-
-			message: "#^Property Monolog\\\\Logger\\:\\:\\$fiberLogDepth with generic class Fiber does not specify its types\\: TStart, TResume, TReturn, TSuspend$#"
-			count: 1
-			path: src/Monolog/Logger.php
-
 		-
 			message: "#^Method Monolog\\\\Processor\\\\IntrospectionProcessor\\:\\:isTraceClassOrSkippedFunction\\(\\) has parameter \\$trace with no value type specified in iterable type array\\.$#"
 			count: 1