Skip to content

Commit 5799d72

Browse files
committed
:octocat:
1 parent 58740e1 commit 5799d72

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

phpstan-baseline.neon

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,31 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Parameter \\#1 \\$min \\(0\\) of function random_int expects lower number than parameter \\#2 \\$max \\(int\\<\\-1, max\\>\\)\\.$#"
4+
message: '#^Parameter \#1 \$min \(0\) of function random_int expects lower number than parameter \#2 \$max \(int\<\-1, max\>\)\.$#'
5+
identifier: argument.type
56
count: 1
67
path: src/Crypto.php
78

89
-
9-
message: "#^Parameter \\$length of function file_get_contents expects int\\<0, max\\>\\|null, int\\|null given\\.$#"
10+
message: '#^Parameter \$length of function file_get_contents expects int\<0, max\>\|null, int\|null given\.$#'
11+
identifier: argument.type
1012
count: 1
1113
path: src/File.php
1214

1315
-
14-
message: "#^Method chillerlan\\\\UtilitiesTest\\\\StrTest\\:\\:containsAllProvider\\(\\) should return array\\<string, array\\{array\\<int, string\\>, bool, bool\\}\\> but returns array\\{empty\\: array\\{array\\{\\}, false, true\\}, filtered\\: array\\{array\\{1, array\\{\\}, true\\}, false, true\\}, default\\: array\\{array\\{'world', 'Hello'\\}, false, true\\}, case mismatch\\: array\\{array\\{'World', 'hello'\\}, false, false\\}, ignore case\\: array\\{array\\{'World', 'hello'\\}, true, true\\}\\}\\.$#"
16+
message: '#^Method chillerlan\\UtilitiesTest\\StrTest\:\:containsAllProvider\(\) should return array\<string, array\{array\<int, string\>, bool, bool\}\> but returns array\{empty\: array\{array\{\}, false, true\}, filtered\: array\{array\{1, array\{\}, true\}, false, true\}, default\: array\{array\{''world'', ''Hello''\}, false, true\}, ''case mismatch''\: array\{array\{''World'', ''hello''\}, false, false\}, ''ignore case''\: array\{array\{''World'', ''hello''\}, true, true\}\}\.$#'
17+
identifier: return.type
1518
count: 1
1619
path: tests/StrTest.php
1720

1821
-
19-
message: "#^Method chillerlan\\\\UtilitiesTest\\\\StrTest\\:\\:containsAnyProvider\\(\\) should return array\\<string, array\\{array\\<int, string\\>, bool, bool\\}\\> but returns array\\{empty\\: array\\{array\\{\\}, false, true\\}, filtered\\: array\\{array\\{1, array\\{\\}, true\\}, false, true\\}, default\\: array\\{array\\{'nope', 'Hello'\\}, false, true\\}, case mismatch\\: array\\{array\\{'nope', 'hello'\\}, false, false\\}, ignore case\\: array\\{array\\{'nope', 'hello'\\}, true, true\\}\\}\\.$#"
22+
message: '#^Method chillerlan\\UtilitiesTest\\StrTest\:\:containsAnyProvider\(\) should return array\<string, array\{array\<int, string\>, bool, bool\}\> but returns array\{empty\: array\{array\{\}, false, true\}, filtered\: array\{array\{1, array\{\}, true\}, false, true\}, default\: array\{array\{''nope'', ''Hello''\}, false, true\}, ''case mismatch''\: array\{array\{''nope'', ''hello''\}, false, false\}, ''ignore case''\: array\{array\{''nope'', ''hello''\}, true, true\}\}\.$#'
23+
identifier: return.type
2024
count: 1
2125
path: tests/StrTest.php
2226

2327
-
24-
message: "#^Method chillerlan\\\\UtilitiesTest\\\\StrTest\\:\\:startsWithProvider\\(\\) should return array\\<string, array\\{array\\<int, string\\>, bool, bool\\}\\> but returns array\\{empty\\: array\\{array\\{\\}, false, true\\}, filtered\\: array\\{array\\{1, array\\{\\}, true\\}, false, true\\}, default\\: array\\{array\\{'nope', 'Hello'\\}, false, true\\}, case mismatch\\: array\\{array\\{'nope', 'hello'\\}, false, false\\}, ignore case\\: array\\{array\\{'nope', 'hello'\\}, true, true\\}\\}\\.$#"
28+
message: '#^Method chillerlan\\UtilitiesTest\\StrTest\:\:startsWithProvider\(\) should return array\<string, array\{array\<int, string\>, bool, bool\}\> but returns array\{empty\: array\{array\{\}, false, true\}, filtered\: array\{array\{1, array\{\}, true\}, false, true\}, default\: array\{array\{''nope'', ''Hello''\}, false, true\}, ''case mismatch''\: array\{array\{''nope'', ''hello''\}, false, false\}, ''ignore case''\: array\{array\{''nope'', ''hello''\}, true, true\}\}\.$#'
29+
identifier: return.type
2530
count: 1
2631
path: tests/StrTest.php

0 commit comments

Comments
 (0)