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: Build/phpstan/phpstan-baseline.neon
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
parameters:
2
2
ignoreErrors:
3
+
-
4
+
message:'#^Function file_get_contents is unsafe to use\. It can return FALSE instead of throwing an exception\. Please add ''use function Safe\\file_get_contents;'' at the beginning of the file to use the variant provided by the ''thecodingmachine/safe'' library\.$#'
5
+
identifier:theCodingMachineSafe.function
6
+
count:1
7
+
path:../../bin/quickdump.php
8
+
3
9
-
4
10
message:'#^Function preg_match is unsafe to use\. It can return FALSE instead of throwing an exception\. Please add ''use function Safe\\preg_match;'' at the beginning of the file to use the variant provided by the ''thecodingmachine/safe'' library\.$#'
5
11
identifier:theCodingMachineSafe.function
@@ -54,12 +60,30 @@ parameters:
54
60
count:1
55
61
path:../../src/Value/Value.php
56
62
63
+
-
64
+
message:'#^Function file_get_contents is unsafe to use\. It can return FALSE instead of throwing an exception\. Please add ''use function Safe\\file_get_contents;'' at the beginning of the file to use the variant provided by the ''thecodingmachine/safe'' library\.$#'
65
+
identifier:theCodingMachineSafe.function
66
+
count:2
67
+
path:../../tests/ParserTest.php
68
+
69
+
-
70
+
message:'#^Function opendir is unsafe to use\. It can return FALSE instead of throwing an exception\. Please add ''use function Safe\\opendir;'' at the beginning of the file to use the variant provided by the ''thecodingmachine/safe'' library\.$#'
71
+
identifier:theCodingMachineSafe.function
72
+
count:1
73
+
path:../../tests/ParserTest.php
74
+
57
75
-
58
76
message:'#^Parameter \#1 \$value of method Sabberworm\\CSS\\Property\\Declaration\:\:setValue\(\) expects Sabberworm\\CSS\\Value\\RuleValueList\|string\|null, Sabberworm\\CSS\\Value\\Size given\.$#'
59
77
identifier:argument.type
60
78
count:3
61
79
path:../../tests/RuleSet/DeclarationBlockTest.php
62
80
81
+
-
82
+
message:'#^Function file_get_contents is unsafe to use\. It can return FALSE instead of throwing an exception\. Please add ''use function Safe\\file_get_contents;'' at the beginning of the file to use the variant provided by the ''thecodingmachine/safe'' library\.$#'
83
+
identifier:theCodingMachineSafe.function
84
+
count:10
85
+
path:../../tests/RuleSet/LenientParsingTest.php
86
+
63
87
-
64
88
message:'#^Parameter \#1 \$type of class Sabberworm\\CSS\\CSSList\\AtRuleBlockList constructor expects non\-empty\-string, '''' given\.$#'
0 commit comments