-
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e06408b
commit 55ce5e2
Showing
1 changed file
with
44 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,121 +1,133 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Function preg_replace_callback invoked with 6 parameters, 3\\-5 required\\.$#" | ||
count: 1 | ||
path: src/Preg.php | ||
|
||
- | ||
message: "#^Function preg_replace_callback_array invoked with 5 parameters, 2\\-4 required\\.$#" | ||
count: 1 | ||
path: src/Preg.php | ||
|
||
- | ||
message: "#^Creating new PHPStan\\\\Reflection\\\\Native\\\\NativeParameterReflection is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#" | ||
message: '#^Creating new PHPStan\\Reflection\\Native\\NativeParameterReflection is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#' | ||
identifier: phpstanApi.constructor | ||
count: 1 | ||
path: src/PHPStan/PregReplaceCallbackClosureTypeExtension.php | ||
|
||
- | ||
message: "#^Parameter \\#2 \\$callback of function preg_replace_callback expects callable\\(array\\<int\\|string, string\\>\\)\\: string, \\(callable\\(array\\<int\\|string, array\\{string\\|null, int\\<\\-1, max\\>\\}\\>\\)\\: string\\)\\|\\(callable\\(array\\<int\\|string, string\\|null\\>\\)\\: string\\) given\\.$#" | ||
message: '#^Parameter \#2 \$callback of function preg_replace_callback expects callable\(array\<string\>\)\: string, \(callable\(array\<int\|string, array\{string\|null, int\<\-1, max\>\}\>\)\: string\)\|\(callable\(array\<int\|string, string\|null\>\)\: string\) given\.$#' | ||
identifier: argument.type | ||
count: 2 | ||
path: src/Preg.php | ||
|
||
- | ||
message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:matchAllWithOffsets\\(\\) expects array\\<int\\|string, list\\<array\\{string\\|null, int\\<\\-1, max\\>\\}\\>\\>, array given\\.$#" | ||
message: '#^Parameter &\$matches @param\-out type of method Composer\\Pcre\\Preg\:\:matchAllWithOffsets\(\) expects array\<int\|string, list\<array\{string\|null, int\<\-1, max\>\}\>\>, array\<mixed\> given\.$#' | ||
identifier: paramOut.type | ||
count: 1 | ||
path: src/Preg.php | ||
|
||
- | ||
message: "#^Parameter &\\$matches @param\\-out type of method Composer\\\\Pcre\\\\Preg\\:\\:matchWithOffsets\\(\\) expects array\\<int\\|string, array\\{string\\|null, int\\<\\-1, max\\>\\}\\>, array\\<int\\|string, string\\|null\\> given\\.$#" | ||
message: '#^Parameter &\$matches @param\-out type of method Composer\\Pcre\\Preg\:\:matchWithOffsets\(\) expects array\<int\|string, array\{string\|null, int\<\-1, max\>\}\>, array\<int\|string, string\|null\> given\.$#' | ||
identifier: paramOut.type | ||
count: 1 | ||
path: src/Preg.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/GrepTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/IsMatchAllTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/IsMatchAllWithOffsetsTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/IsMatchTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/IsMatchWithOffsetsTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/MatchAllTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/MatchTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/ReplaceCallbackArrayTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/ReplaceCallbackTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/ReplaceTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/SplitTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/PregTests/SplitWithOffsetsTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/IsMatchTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/MatchAllTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/MatchTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/ReplaceCallbackArrayTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/ReplaceCallbackTest.php | ||
|
||
- | ||
message: "#^Regex pattern is invalid\\: No ending matching delimiter '\\}' found$#" | ||
message: '#^Regex pattern is invalid\: No ending matching delimiter ''\}'' found$#' | ||
identifier: regexp.pattern | ||
count: 2 | ||
path: tests/RegexTests/ReplaceTest.php |