@@ -11,7 +11,8 @@ parameters:
11
11
path : src/Preg.php
12
12
13
13
-
14
- message : " #^Creating new PHPStan\\\\ Reflection\\\\ Native\\\\ NativeParameterReflection is not covered by backward compatibility promise\\ . The class might change in a minor PHPStan version\\ .$#"
14
+ message : ' #^Creating new PHPStan\\Reflection\\Native\\NativeParameterReflection is not covered by backward compatibility promise\. The class might change in a minor PHPStan version\.$#'
15
+ identifier : phpstanApi.constructor
15
16
count : 1
16
17
path : src/PHPStan/PregReplaceCallbackClosureTypeExtension.php
17
18
@@ -20,102 +21,133 @@ parameters:
20
21
count : 2
21
22
path : src/Preg.php
22
23
24
+ -
25
+ 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\.$#'
26
+ identifier : argument.type
27
+ count : 2
28
+ path : src/Preg.php
29
+
23
30
-
24
31
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\\ .$#"
25
32
count : 1
26
33
path : src/Preg.php
27
34
28
35
-
29
- 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\\ .$#"
36
+ 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\.$#'
37
+ identifier : paramOut.type
38
+ count : 1
39
+ path : src/Preg.php
40
+
41
+ -
42
+ 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\.$#'
43
+ identifier : paramOut.type
30
44
count : 1
31
45
path : src/Preg.php
32
46
33
47
-
34
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
48
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
49
+ identifier : regexp.pattern
35
50
count : 2
36
51
path : tests/PregTests/GrepTest.php
37
52
38
53
-
39
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
54
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
55
+ identifier : regexp.pattern
40
56
count : 2
41
57
path : tests/PregTests/IsMatchAllTest.php
42
58
43
59
-
44
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
60
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
61
+ identifier : regexp.pattern
45
62
count : 2
46
63
path : tests/PregTests/IsMatchAllWithOffsetsTest.php
47
64
48
65
-
49
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
66
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
67
+ identifier : regexp.pattern
50
68
count : 2
51
69
path : tests/PregTests/IsMatchTest.php
52
70
53
71
-
54
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
72
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
73
+ identifier : regexp.pattern
55
74
count : 2
56
75
path : tests/PregTests/IsMatchWithOffsetsTest.php
57
76
58
77
-
59
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
78
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
79
+ identifier : regexp.pattern
60
80
count : 2
61
81
path : tests/PregTests/MatchAllTest.php
62
82
63
83
-
64
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
84
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
85
+ identifier : regexp.pattern
65
86
count : 2
66
87
path : tests/PregTests/MatchTest.php
67
88
68
89
-
69
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
90
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
91
+ identifier : regexp.pattern
70
92
count : 2
71
93
path : tests/PregTests/ReplaceCallbackArrayTest.php
72
94
73
95
-
74
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
96
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
97
+ identifier : regexp.pattern
75
98
count : 2
76
99
path : tests/PregTests/ReplaceCallbackTest.php
77
100
78
101
-
79
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
102
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
103
+ identifier : regexp.pattern
80
104
count : 2
81
105
path : tests/PregTests/ReplaceTest.php
82
106
83
107
-
84
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
108
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
109
+ identifier : regexp.pattern
85
110
count : 2
86
111
path : tests/PregTests/SplitTest.php
87
112
88
113
-
89
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
114
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
115
+ identifier : regexp.pattern
90
116
count : 2
91
117
path : tests/PregTests/SplitWithOffsetsTest.php
92
118
93
119
-
94
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
120
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
121
+ identifier : regexp.pattern
95
122
count : 2
96
123
path : tests/RegexTests/IsMatchTest.php
97
124
98
125
-
99
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
126
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
127
+ identifier : regexp.pattern
100
128
count : 2
101
129
path : tests/RegexTests/MatchAllTest.php
102
130
103
131
-
104
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
132
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
133
+ identifier : regexp.pattern
105
134
count : 2
106
135
path : tests/RegexTests/MatchTest.php
107
136
108
137
-
109
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
138
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
139
+ identifier : regexp.pattern
110
140
count : 2
111
141
path : tests/RegexTests/ReplaceCallbackArrayTest.php
112
142
113
143
-
114
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
144
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
145
+ identifier : regexp.pattern
115
146
count : 2
116
147
path : tests/RegexTests/ReplaceCallbackTest.php
117
148
118
149
-
119
- message : " #^Regex pattern is invalid\\ : No ending matching delimiter '\\ }' found$#"
150
+ message : ' #^Regex pattern is invalid\: No ending matching delimiter ' ' \}' ' found$#'
151
+ identifier : regexp.pattern
120
152
count : 2
121
153
path : tests/RegexTests/ReplaceTest.php
0 commit comments