You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: phpstan-baseline.neon
+45-3Lines changed: 45 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,18 @@ parameters:
6
6
count:1
7
7
path:src/PhpGenerator/ClassLike.php
8
8
9
+
-
10
+
message:'#^Method Nette\\PhpGenerator\\Closure\:\:from\(\) should return Nette\\PhpGenerator\\Closure but returns Nette\\PhpGenerator\\Closure\|Nette\\PhpGenerator\\GlobalFunction\.$#'
11
+
identifier:return.type
12
+
count:1
13
+
path:src/PhpGenerator/Closure.php
14
+
15
+
-
16
+
message:'#^Call to an undefined method object\:\:__unserialize\(\)\.$#'
17
+
identifier:method.notFound
18
+
count:1
19
+
path:src/PhpGenerator/Dumper.php
20
+
9
21
-
10
22
message:'#^Call to an undefined method Nette\\PhpGenerator\\ClassLike\:\:addConstant\(\)\.$#'
11
23
identifier:method.notFound
@@ -61,7 +73,37 @@ parameters:
61
73
path:src/PhpGenerator/Factory.php
62
74
63
75
-
64
-
message:'#^Method Nette\\PhpGenerator\\Printer\:\:printDocComment\(\) has parameter \$commentable with no type specified\.$#'
65
-
identifier:missingType.parameter
76
+
message:'#^Method Nette\\PhpGenerator\\GlobalFunction\:\:from\(\) should return Nette\\PhpGenerator\\GlobalFunction but returns Nette\\PhpGenerator\\Closure\|Nette\\PhpGenerator\\GlobalFunction\.$#'
0 commit comments