Browse Source

Fix phpstan errors

ADmad 6 years ago
parent
commit
67bed3c59a
1 changed files with 2 additions and 20 deletions
  1. 2 20
      phpstan-baseline.neon

+ 2 - 20
phpstan-baseline.neon

@@ -238,11 +238,6 @@ parameters:
 			path: src/I18n/Date.php
 
 		-
-			message: "#^Parameter \\#4 \\$timezone of function datefmt_create expects int, null given\\.$#"
-			count: 1
-			path: src/I18n/Date.php
-
-		-
 			message: "#^Parameter \\#5 \\$calendar of function datefmt_create expects int\\|IntlCalendar, null given\\.$#"
 			count: 1
 			path: src/I18n/Date.php
@@ -253,11 +248,6 @@ parameters:
 			path: src/I18n/FrozenDate.php
 
 		-
-			message: "#^Parameter \\#4 \\$timezone of function datefmt_create expects int, null given\\.$#"
-			count: 1
-			path: src/I18n/FrozenDate.php
-
-		-
 			message: "#^Parameter \\#5 \\$calendar of function datefmt_create expects int\\|IntlCalendar, null given\\.$#"
 			count: 1
 			path: src/I18n/FrozenDate.php
@@ -273,11 +263,6 @@ parameters:
 			path: src/I18n/FrozenTime.php
 
 		-
-			message: "#^Parameter \\#4 \\$timezone of function datefmt_create expects int, null given\\.$#"
-			count: 1
-			path: src/I18n/FrozenTime.php
-
-		-
 			message: "#^Parameter \\#5 \\$calendar of function datefmt_create expects int\\|IntlCalendar, null given\\.$#"
 			count: 1
 			path: src/I18n/FrozenTime.php
@@ -293,11 +278,6 @@ parameters:
 			path: src/I18n/Time.php
 
 		-
-			message: "#^Parameter \\#4 \\$timezone of function datefmt_create expects int, null given\\.$#"
-			count: 1
-			path: src/I18n/Time.php
-
-		-
 			message: "#^Parameter \\#5 \\$calendar of function datefmt_create expects int\\|IntlCalendar, null given\\.$#"
 			count: 1
 			path: src/I18n/Time.php
@@ -531,3 +511,5 @@ parameters:
 			message: "#^Class Psy\\\\Shell not found\\.$#"
 			count: 1
 			path: src/basics.php
+
+