@@ -2,844 +2,844 @@ |
||
2 | 2 | |
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
5 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:errorBold\\(\\)\\.$#', |
|
6 | - 'count' => 1, |
|
7 | - 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
5 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:errorBold\\(\\)\\.$#', |
|
6 | + 'count' => 1, |
|
7 | + 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
8 | 8 | ]; |
9 | 9 | $ignoreErrors[] = [ |
10 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:infoBold\\(\\)\\.$#', |
|
11 | - 'count' => 1, |
|
12 | - 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
10 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:infoBold\\(\\)\\.$#', |
|
11 | + 'count' => 1, |
|
12 | + 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
13 | 13 | ]; |
14 | 14 | $ignoreErrors[] = [ |
15 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:okBold\\(\\)\\.$#', |
|
16 | - 'count' => 1, |
|
17 | - 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
15 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:okBold\\(\\)\\.$#', |
|
16 | + 'count' => 1, |
|
17 | + 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
18 | 18 | ]; |
19 | 19 | $ignoreErrors[] = [ |
20 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:warnBold\\(\\)\\.$#', |
|
21 | - 'count' => 1, |
|
22 | - 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
20 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:warnBold\\(\\)\\.$#', |
|
21 | + 'count' => 1, |
|
22 | + 'path' => __DIR__ . '/src/Cli/Console/Command.php', |
|
23 | 23 | ]; |
24 | 24 | $ignoreErrors[] = [ |
25 | - 'message' => '#^Access to an undefined property Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:\\$bold\\.$#', |
|
26 | - 'count' => 1, |
|
27 | - 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
25 | + 'message' => '#^Access to an undefined property Ahc\\\\Cli\\\\Output\\\\Writer\\:\\:\\$bold\\.$#', |
|
26 | + 'count' => 1, |
|
27 | + 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
28 | 28 | ]; |
29 | 29 | $ignoreErrors[] = [ |
30 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Application\\|Ahc\\\\Cli\\\\IO\\\\Interactor\\:\\:write\\(\\)\\.$#', |
|
31 | - 'count' => 2, |
|
32 | - 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
30 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\Application\\|Ahc\\\\Cli\\\\IO\\\\Interactor\\:\\:write\\(\\)\\.$#', |
|
31 | + 'count' => 2, |
|
32 | + 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
33 | 33 | ]; |
34 | 34 | $ignoreErrors[] = [ |
35 | - 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\IO\\\\Interactor\\:\\:write\\(\\)\\.$#', |
|
36 | - 'count' => 1, |
|
37 | - 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
35 | + 'message' => '#^Call to an undefined method Ahc\\\\Cli\\\\IO\\\\Interactor\\:\\:write\\(\\)\\.$#', |
|
36 | + 'count' => 1, |
|
37 | + 'path' => __DIR__ . '/src/Cli/Console/Console.php', |
|
38 | 38 | ]; |
39 | 39 | $ignoreErrors[] = [ |
40 | - 'message' => '#^Call to an undefined static method Nette\\\\Schema\\\\Expect\\:\\:closure\\(\\)\\.$#', |
|
41 | - 'count' => 1, |
|
42 | - 'path' => __DIR__ . '/src/Constants/schemas/middlewares.config.php', |
|
40 | + 'message' => '#^Call to an undefined static method Nette\\\\Schema\\\\Expect\\:\\:closure\\(\\)\\.$#', |
|
41 | + 'count' => 1, |
|
42 | + 'path' => __DIR__ . '/src/Constants/schemas/middlewares.config.php', |
|
43 | 43 | ]; |
44 | 44 | $ignoreErrors[] = [ |
45 | - 'message' => '#^Access to an undefined property mindplay\\\\annotations\\\\IAnnotation\\:\\:\\$method\\.$#', |
|
46 | - 'count' => 1, |
|
47 | - 'path' => __DIR__ . '/src/Controllers/RestController.php', |
|
45 | + 'message' => '#^Access to an undefined property mindplay\\\\annotations\\\\IAnnotation\\:\\:\\$method\\.$#', |
|
46 | + 'count' => 1, |
|
47 | + 'path' => __DIR__ . '/src/Controllers/RestController.php', |
|
48 | 48 | ]; |
49 | 49 | $ignoreErrors[] = [ |
50 | - 'message' => '#^Call to static method make\\(\\) on an unknown class Spatie\\\\Ignition\\\\Ignition\\.$#', |
|
51 | - 'count' => 1, |
|
52 | - 'path' => __DIR__ . '/src/Debug/Debugger.php', |
|
50 | + 'message' => '#^Call to static method make\\(\\) on an unknown class Spatie\\\\Ignition\\\\Ignition\\.$#', |
|
51 | + 'count' => 1, |
|
52 | + 'path' => __DIR__ . '/src/Debug/Debugger.php', |
|
53 | 53 | ]; |
54 | 54 | $ignoreErrors[] = [ |
55 | - 'message' => '#^Negated boolean expression is always false\\.$#', |
|
56 | - 'count' => 1, |
|
57 | - 'path' => __DIR__ . '/src/Debug/Toolbar.php', |
|
55 | + 'message' => '#^Negated boolean expression is always false\\.$#', |
|
56 | + 'count' => 1, |
|
57 | + 'path' => __DIR__ . '/src/Debug/Toolbar.php', |
|
58 | 58 | ]; |
59 | 59 | $ignoreErrors[] = [ |
60 | - 'message' => '#^PHPDoc tag @method has invalid value \\(static void configure\\(callable \\$callback\\(RouteBuilder \\$route\\)\\) Configure les parametres de routing\\.\\)\\: Unexpected token "\\(", expected \'\\)\' at offset 63$#', |
|
61 | - 'count' => 1, |
|
62 | - 'path' => __DIR__ . '/src/Facades/Route.php', |
|
60 | + 'message' => '#^PHPDoc tag @method has invalid value \\(static void configure\\(callable \\$callback\\(RouteBuilder \\$route\\)\\) Configure les parametres de routing\\.\\)\\: Unexpected token "\\(", expected \'\\)\' at offset 63$#', |
|
61 | + 'count' => 1, |
|
62 | + 'path' => __DIR__ . '/src/Facades/Route.php', |
|
63 | 63 | ]; |
64 | 64 | $ignoreErrors[] = [ |
65 | - 'message' => '#^Function img\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
66 | - 'count' => 1, |
|
67 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
65 | + 'message' => '#^Function img\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
66 | + 'count' => 1, |
|
67 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
68 | 68 | ]; |
69 | 69 | $ignoreErrors[] = [ |
70 | - 'message' => '#^Function less_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
71 | - 'count' => 1, |
|
72 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
70 | + 'message' => '#^Function less_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
71 | + 'count' => 1, |
|
72 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
73 | 73 | ]; |
74 | 74 | $ignoreErrors[] = [ |
75 | - 'message' => '#^Function lib_scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
76 | - 'count' => 1, |
|
77 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
75 | + 'message' => '#^Function lib_scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
76 | + 'count' => 1, |
|
77 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
78 | 78 | ]; |
79 | 79 | $ignoreErrors[] = [ |
80 | - 'message' => '#^Function lib_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
81 | - 'count' => 1, |
|
82 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
80 | + 'message' => '#^Function lib_styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
81 | + 'count' => 1, |
|
82 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
83 | 83 | ]; |
84 | 84 | $ignoreErrors[] = [ |
85 | - 'message' => '#^Function scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
86 | - 'count' => 1, |
|
87 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
85 | + 'message' => '#^Function scripts\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
86 | + 'count' => 1, |
|
87 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
88 | 88 | ]; |
89 | 89 | $ignoreErrors[] = [ |
90 | - 'message' => '#^Function styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
91 | - 'count' => 1, |
|
92 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
90 | + 'message' => '#^Function styles\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
91 | + 'count' => 1, |
|
92 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
93 | 93 | ]; |
94 | 94 | $ignoreErrors[] = [ |
95 | - 'message' => '#^Negated boolean expression is always false\\.$#', |
|
96 | - 'count' => 1, |
|
97 | - 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
95 | + 'message' => '#^Negated boolean expression is always false\\.$#', |
|
96 | + 'count' => 1, |
|
97 | + 'path' => __DIR__ . '/src/Helpers/assets.php', |
|
98 | 98 | ]; |
99 | 99 | $ignoreErrors[] = [ |
100 | - 'message' => '#^Function logger\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
101 | - 'count' => 1, |
|
102 | - 'path' => __DIR__ . '/src/Helpers/common.php', |
|
100 | + 'message' => '#^Function logger\\(\\) never returns void so it can be removed from the return type\\.$#', |
|
101 | + 'count' => 1, |
|
102 | + 'path' => __DIR__ . '/src/Helpers/common.php', |
|
103 | 103 | ]; |
104 | 104 | $ignoreErrors[] = [ |
105 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getFormat\\(\\)\\.$#', |
|
106 | - 'count' => 1, |
|
107 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
105 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getFormat\\(\\)\\.$#', |
|
106 | + 'count' => 1, |
|
107 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
108 | 108 | ]; |
109 | 109 | $ignoreErrors[] = [ |
110 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getMimeType\\(\\)\\.$#', |
|
111 | - 'count' => 1, |
|
112 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
110 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getMimeType\\(\\)\\.$#', |
|
111 | + 'count' => 1, |
|
112 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
113 | 113 | ]; |
114 | 114 | $ignoreErrors[] = [ |
115 | - 'message' => '#^Method BlitzPHP\\\\Http\\\\Request\\:\\:validation\\(\\) should return BlitzPHP\\\\Validation\\\\Validation but returns Dimtrovich\\\\Validation\\\\Validation\\.$#', |
|
116 | - 'count' => 1, |
|
117 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
115 | + 'message' => '#^Method BlitzPHP\\\\Http\\\\Request\\:\\:validation\\(\\) should return BlitzPHP\\\\Validation\\\\Validation but returns Dimtrovich\\\\Validation\\\\Validation\\.$#', |
|
116 | + 'count' => 1, |
|
117 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
118 | 118 | ]; |
119 | 119 | $ignoreErrors[] = [ |
120 | - 'message' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
121 | - 'count' => 1, |
|
122 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
120 | + 'message' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
121 | + 'count' => 1, |
|
122 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
123 | 123 | ]; |
124 | 124 | $ignoreErrors[] = [ |
125 | - 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
126 | - 'count' => 1, |
|
127 | - 'path' => __DIR__ . '/src/Http/Response.php', |
|
125 | + 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
126 | + 'count' => 1, |
|
127 | + 'path' => __DIR__ . '/src/Http/Response.php', |
|
128 | 128 | ]; |
129 | 129 | $ignoreErrors[] = [ |
130 | - 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
131 | - 'count' => 1, |
|
132 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
130 | + 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
131 | + 'count' => 1, |
|
132 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
133 | 133 | ]; |
134 | 134 | $ignoreErrors[] = [ |
135 | - 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
136 | - 'count' => 2, |
|
137 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
135 | + 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
136 | + 'count' => 2, |
|
137 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
138 | 138 | ]; |
139 | 139 | $ignoreErrors[] = [ |
140 | - 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
141 | - 'count' => 2, |
|
142 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
140 | + 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
141 | + 'count' => 2, |
|
142 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
143 | 143 | ]; |
144 | 144 | $ignoreErrors[] = [ |
145 | - 'message' => '#^Access to property \\$CharSet on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
146 | - 'count' => 2, |
|
147 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
145 | + 'message' => '#^Access to property \\$CharSet on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
146 | + 'count' => 2, |
|
147 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
148 | 148 | ]; |
149 | 149 | $ignoreErrors[] = [ |
150 | - 'message' => '#^Access to property \\$DKIM_domain on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
151 | - 'count' => 2, |
|
152 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
150 | + 'message' => '#^Access to property \\$DKIM_domain on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
151 | + 'count' => 2, |
|
152 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
153 | 153 | ]; |
154 | 154 | $ignoreErrors[] = [ |
155 | - 'message' => '#^Access to property \\$DKIM_identity on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
156 | - 'count' => 2, |
|
157 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
155 | + 'message' => '#^Access to property \\$DKIM_identity on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
156 | + 'count' => 2, |
|
157 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
158 | 158 | ]; |
159 | 159 | $ignoreErrors[] = [ |
160 | - 'message' => '#^Access to property \\$DKIM_passphrase on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
161 | - 'count' => 2, |
|
162 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
160 | + 'message' => '#^Access to property \\$DKIM_passphrase on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
161 | + 'count' => 2, |
|
162 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
163 | 163 | ]; |
164 | 164 | $ignoreErrors[] = [ |
165 | - 'message' => '#^Access to property \\$DKIM_private on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
166 | - 'count' => 2, |
|
167 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
165 | + 'message' => '#^Access to property \\$DKIM_private on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
166 | + 'count' => 2, |
|
167 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
168 | 168 | ]; |
169 | 169 | $ignoreErrors[] = [ |
170 | - 'message' => '#^Access to property \\$DKIM_selector on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
171 | - 'count' => 2, |
|
172 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
170 | + 'message' => '#^Access to property \\$DKIM_selector on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
171 | + 'count' => 2, |
|
172 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
173 | 173 | ]; |
174 | 174 | $ignoreErrors[] = [ |
175 | - 'message' => '#^Access to property \\$Debugoutput on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
176 | - 'count' => 2, |
|
177 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
175 | + 'message' => '#^Access to property \\$Debugoutput on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
176 | + 'count' => 2, |
|
177 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
178 | 178 | ]; |
179 | 179 | $ignoreErrors[] = [ |
180 | - 'message' => '#^Access to property \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
181 | - 'count' => 1, |
|
182 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
180 | + 'message' => '#^Access to property \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
181 | + 'count' => 1, |
|
182 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
183 | 183 | ]; |
184 | 184 | $ignoreErrors[] = [ |
185 | - 'message' => '#^Access to property \\$Host on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
186 | - 'count' => 2, |
|
187 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
185 | + 'message' => '#^Access to property \\$Host on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
186 | + 'count' => 2, |
|
187 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
188 | 188 | ]; |
189 | 189 | $ignoreErrors[] = [ |
190 | - 'message' => '#^Access to property \\$Password on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
191 | - 'count' => 2, |
|
192 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
190 | + 'message' => '#^Access to property \\$Password on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
191 | + 'count' => 2, |
|
192 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
193 | 193 | ]; |
194 | 194 | $ignoreErrors[] = [ |
195 | - 'message' => '#^Access to property \\$Port on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
196 | - 'count' => 2, |
|
197 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
195 | + 'message' => '#^Access to property \\$Port on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
196 | + 'count' => 2, |
|
197 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
198 | 198 | ]; |
199 | 199 | $ignoreErrors[] = [ |
200 | - 'message' => '#^Access to property \\$Priority on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
201 | - 'count' => 2, |
|
202 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
200 | + 'message' => '#^Access to property \\$Priority on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
201 | + 'count' => 2, |
|
202 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
203 | 203 | ]; |
204 | 204 | $ignoreErrors[] = [ |
205 | - 'message' => '#^Access to property \\$SMTPAuth on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
206 | - 'count' => 2, |
|
207 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
205 | + 'message' => '#^Access to property \\$SMTPAuth on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
206 | + 'count' => 2, |
|
207 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
208 | 208 | ]; |
209 | 209 | $ignoreErrors[] = [ |
210 | - 'message' => '#^Access to property \\$SMTPDebug on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
211 | - 'count' => 2, |
|
212 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
210 | + 'message' => '#^Access to property \\$SMTPDebug on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
211 | + 'count' => 2, |
|
212 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
213 | 213 | ]; |
214 | 214 | $ignoreErrors[] = [ |
215 | - 'message' => '#^Access to property \\$SMTPSecure on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
216 | - 'count' => 2, |
|
217 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
215 | + 'message' => '#^Access to property \\$SMTPSecure on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
216 | + 'count' => 2, |
|
217 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
218 | 218 | ]; |
219 | 219 | $ignoreErrors[] = [ |
220 | - 'message' => '#^Access to property \\$Subject on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
221 | - 'count' => 2, |
|
222 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
220 | + 'message' => '#^Access to property \\$Subject on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
221 | + 'count' => 2, |
|
222 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
223 | 223 | ]; |
224 | 224 | $ignoreErrors[] = [ |
225 | - 'message' => '#^Access to property \\$Timeout on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
226 | - 'count' => 2, |
|
227 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
225 | + 'message' => '#^Access to property \\$Timeout on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
226 | + 'count' => 2, |
|
227 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
228 | 228 | ]; |
229 | 229 | $ignoreErrors[] = [ |
230 | - 'message' => '#^Access to property \\$Username on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
231 | - 'count' => 2, |
|
232 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
230 | + 'message' => '#^Access to property \\$Username on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
231 | + 'count' => 2, |
|
232 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
233 | 233 | ]; |
234 | 234 | $ignoreErrors[] = [ |
235 | - 'message' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
236 | - 'count' => 1, |
|
237 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
235 | + 'message' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
236 | + 'count' => 1, |
|
237 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
238 | 238 | ]; |
239 | 239 | $ignoreErrors[] = [ |
240 | - 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
241 | - 'count' => 1, |
|
242 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
240 | + 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
241 | + 'count' => 1, |
|
242 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
243 | 243 | ]; |
244 | 244 | $ignoreErrors[] = [ |
245 | - 'message' => '#^Call to method addBCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
246 | - 'count' => 1, |
|
247 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
245 | + 'message' => '#^Call to method addBCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
246 | + 'count' => 1, |
|
247 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
248 | 248 | ]; |
249 | 249 | $ignoreErrors[] = [ |
250 | - 'message' => '#^Call to method addCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
251 | - 'count' => 1, |
|
252 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
250 | + 'message' => '#^Call to method addCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
251 | + 'count' => 1, |
|
252 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
253 | 253 | ]; |
254 | 254 | $ignoreErrors[] = [ |
255 | - 'message' => '#^Call to method addCustomHeader\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
256 | - 'count' => 1, |
|
257 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
255 | + 'message' => '#^Call to method addCustomHeader\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
256 | + 'count' => 1, |
|
257 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
258 | 258 | ]; |
259 | 259 | $ignoreErrors[] = [ |
260 | - 'message' => '#^Call to method addEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
261 | - 'count' => 1, |
|
262 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
260 | + 'message' => '#^Call to method addEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
261 | + 'count' => 1, |
|
262 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
263 | 263 | ]; |
264 | 264 | $ignoreErrors[] = [ |
265 | - 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
266 | - 'count' => 1, |
|
267 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
265 | + 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
266 | + 'count' => 1, |
|
267 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
268 | 268 | ]; |
269 | 269 | $ignoreErrors[] = [ |
270 | - 'message' => '#^Call to method addStringAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
271 | - 'count' => 1, |
|
272 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
270 | + 'message' => '#^Call to method addStringAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
271 | + 'count' => 1, |
|
272 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
273 | 273 | ]; |
274 | 274 | $ignoreErrors[] = [ |
275 | - 'message' => '#^Call to method addStringEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
276 | - 'count' => 1, |
|
277 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
275 | + 'message' => '#^Call to method addStringEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
276 | + 'count' => 1, |
|
277 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
278 | 278 | ]; |
279 | 279 | $ignoreErrors[] = [ |
280 | - 'message' => '#^Call to method clearAddresses\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
281 | - 'count' => 1, |
|
282 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
280 | + 'message' => '#^Call to method clearAddresses\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
281 | + 'count' => 1, |
|
282 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
283 | 283 | ]; |
284 | 284 | $ignoreErrors[] = [ |
285 | - 'message' => '#^Call to method clearBCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
286 | - 'count' => 1, |
|
287 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
285 | + 'message' => '#^Call to method clearBCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
286 | + 'count' => 1, |
|
287 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
288 | 288 | ]; |
289 | 289 | $ignoreErrors[] = [ |
290 | - 'message' => '#^Call to method clearCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
291 | - 'count' => 1, |
|
292 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
290 | + 'message' => '#^Call to method clearCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
291 | + 'count' => 1, |
|
292 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
293 | 293 | ]; |
294 | 294 | $ignoreErrors[] = [ |
295 | - 'message' => '#^Call to method clearReplyTos\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
296 | - 'count' => 1, |
|
297 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
295 | + 'message' => '#^Call to method clearReplyTos\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
296 | + 'count' => 1, |
|
297 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
298 | 298 | ]; |
299 | 299 | $ignoreErrors[] = [ |
300 | - 'message' => '#^Call to method getLastMessageID\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
301 | - 'count' => 1, |
|
302 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
300 | + 'message' => '#^Call to method getLastMessageID\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
301 | + 'count' => 1, |
|
302 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
303 | 303 | ]; |
304 | 304 | $ignoreErrors[] = [ |
305 | - 'message' => '#^Call to method isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
306 | - 'count' => 2, |
|
307 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
305 | + 'message' => '#^Call to method isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
306 | + 'count' => 2, |
|
307 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
308 | 308 | ]; |
309 | 309 | $ignoreErrors[] = [ |
310 | - 'message' => '#^Call to method isMail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
311 | - 'count' => 1, |
|
312 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
310 | + 'message' => '#^Call to method isMail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
311 | + 'count' => 1, |
|
312 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
313 | 313 | ]; |
314 | 314 | $ignoreErrors[] = [ |
315 | - 'message' => '#^Call to method isQmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
316 | - 'count' => 1, |
|
317 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
315 | + 'message' => '#^Call to method isQmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
316 | + 'count' => 1, |
|
317 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
318 | 318 | ]; |
319 | 319 | $ignoreErrors[] = [ |
320 | - 'message' => '#^Call to method isSMTP\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
321 | - 'count' => 1, |
|
322 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
320 | + 'message' => '#^Call to method isSMTP\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
321 | + 'count' => 1, |
|
322 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
323 | 323 | ]; |
324 | 324 | $ignoreErrors[] = [ |
325 | - 'message' => '#^Call to method isSendmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
326 | - 'count' => 1, |
|
327 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
325 | + 'message' => '#^Call to method isSendmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
326 | + 'count' => 1, |
|
327 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
328 | 328 | ]; |
329 | 329 | $ignoreErrors[] = [ |
330 | - 'message' => '#^Call to method send\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
331 | - 'count' => 1, |
|
332 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
330 | + 'message' => '#^Call to method send\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
331 | + 'count' => 1, |
|
332 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
333 | 333 | ]; |
334 | 334 | $ignoreErrors[] = [ |
335 | - 'message' => '#^Call to method setFrom\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
336 | - 'count' => 1, |
|
337 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
335 | + 'message' => '#^Call to method setFrom\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
336 | + 'count' => 1, |
|
337 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
338 | 338 | ]; |
339 | 339 | $ignoreErrors[] = [ |
340 | - 'message' => '#^Call to method sign\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
341 | - 'count' => 1, |
|
342 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
340 | + 'message' => '#^Call to method sign\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
341 | + 'count' => 1, |
|
342 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
343 | 343 | ]; |
344 | 344 | $ignoreErrors[] = [ |
345 | - 'message' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
346 | - 'count' => 1, |
|
347 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
345 | + 'message' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
346 | + 'count' => 1, |
|
347 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
348 | 348 | ]; |
349 | 349 | $ignoreErrors[] = [ |
350 | - 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
351 | - 'count' => 1, |
|
352 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
350 | + 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
351 | + 'count' => 1, |
|
352 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
353 | 353 | ]; |
354 | 354 | $ignoreErrors[] = [ |
355 | - 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
356 | - 'count' => 11, |
|
357 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
355 | + 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
356 | + 'count' => 11, |
|
357 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
358 | 358 | ]; |
359 | 359 | $ignoreErrors[] = [ |
360 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
361 | - 'count' => 1, |
|
362 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
360 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
361 | + 'count' => 1, |
|
362 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
363 | 363 | ]; |
364 | 364 | $ignoreErrors[] = [ |
365 | - 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
366 | - 'count' => 1, |
|
367 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
365 | + 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
366 | + 'count' => 1, |
|
367 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
368 | 368 | ]; |
369 | 369 | $ignoreErrors[] = [ |
370 | - 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
371 | - 'count' => 1, |
|
372 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
370 | + 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
371 | + 'count' => 1, |
|
372 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
373 | 373 | ]; |
374 | 374 | $ignoreErrors[] = [ |
375 | - 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
376 | - 'count' => 4, |
|
377 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
375 | + 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
376 | + 'count' => 4, |
|
377 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
378 | 378 | ]; |
379 | 379 | $ignoreErrors[] = [ |
380 | - 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
381 | - 'count' => 1, |
|
382 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
380 | + 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
381 | + 'count' => 1, |
|
382 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
383 | 383 | ]; |
384 | 384 | $ignoreErrors[] = [ |
385 | - 'message' => '#^Call to method addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
386 | - 'count' => 1, |
|
387 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
385 | + 'message' => '#^Call to method addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
386 | + 'count' => 1, |
|
387 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
388 | 388 | ]; |
389 | 389 | $ignoreErrors[] = [ |
390 | - 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
391 | - 'count' => 2, |
|
392 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
390 | + 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
391 | + 'count' => 2, |
|
392 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
393 | 393 | ]; |
394 | 394 | $ignoreErrors[] = [ |
395 | - 'message' => '#^Call to method bcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
396 | - 'count' => 1, |
|
397 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
395 | + 'message' => '#^Call to method bcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
396 | + 'count' => 1, |
|
397 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
398 | 398 | ]; |
399 | 399 | $ignoreErrors[] = [ |
400 | - 'message' => '#^Call to method cc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
401 | - 'count' => 1, |
|
402 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
400 | + 'message' => '#^Call to method cc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
401 | + 'count' => 1, |
|
402 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
403 | 403 | ]; |
404 | 404 | $ignoreErrors[] = [ |
405 | - 'message' => '#^Call to method from\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
406 | - 'count' => 1, |
|
407 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
405 | + 'message' => '#^Call to method from\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
406 | + 'count' => 1, |
|
407 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
408 | 408 | ]; |
409 | 409 | $ignoreErrors[] = [ |
410 | - 'message' => '#^Call to method generateMessageId\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
411 | - 'count' => 1, |
|
412 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
410 | + 'message' => '#^Call to method generateMessageId\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
411 | + 'count' => 1, |
|
412 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
413 | 413 | ]; |
414 | 414 | $ignoreErrors[] = [ |
415 | - 'message' => '#^Call to method getHeaders\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
416 | - 'count' => 1, |
|
417 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
415 | + 'message' => '#^Call to method getHeaders\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
416 | + 'count' => 1, |
|
417 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
418 | 418 | ]; |
419 | 419 | $ignoreErrors[] = [ |
420 | - 'message' => '#^Call to method html\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
421 | - 'count' => 1, |
|
422 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
420 | + 'message' => '#^Call to method html\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
421 | + 'count' => 1, |
|
422 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
423 | 423 | ]; |
424 | 424 | $ignoreErrors[] = [ |
425 | - 'message' => '#^Call to method priority\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
426 | - 'count' => 1, |
|
427 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
425 | + 'message' => '#^Call to method priority\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
426 | + 'count' => 1, |
|
427 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
428 | 428 | ]; |
429 | 429 | $ignoreErrors[] = [ |
430 | - 'message' => '#^Call to method replyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
431 | - 'count' => 1, |
|
432 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
430 | + 'message' => '#^Call to method replyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
431 | + 'count' => 1, |
|
432 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
433 | 433 | ]; |
434 | 434 | $ignoreErrors[] = [ |
435 | - 'message' => '#^Call to method send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
436 | - 'count' => 1, |
|
437 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
435 | + 'message' => '#^Call to method send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
436 | + 'count' => 1, |
|
437 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
438 | 438 | ]; |
439 | 439 | $ignoreErrors[] = [ |
440 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
441 | - 'count' => 1, |
|
442 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
440 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
441 | + 'count' => 1, |
|
442 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
443 | 443 | ]; |
444 | 444 | $ignoreErrors[] = [ |
445 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
446 | - 'count' => 1, |
|
447 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
445 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
446 | + 'count' => 1, |
|
447 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
448 | 448 | ]; |
449 | 449 | $ignoreErrors[] = [ |
450 | - 'message' => '#^Call to method subject\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
451 | - 'count' => 1, |
|
452 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
450 | + 'message' => '#^Call to method subject\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
451 | + 'count' => 1, |
|
452 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
453 | 453 | ]; |
454 | 454 | $ignoreErrors[] = [ |
455 | - 'message' => '#^Call to method text\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
456 | - 'count' => 1, |
|
457 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
455 | + 'message' => '#^Call to method text\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
456 | + 'count' => 1, |
|
457 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
458 | 458 | ]; |
459 | 459 | $ignoreErrors[] = [ |
460 | - 'message' => '#^Call to method to\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
461 | - 'count' => 1, |
|
462 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
460 | + 'message' => '#^Call to method to\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
461 | + 'count' => 1, |
|
462 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
463 | 463 | ]; |
464 | 464 | $ignoreErrors[] = [ |
465 | - 'message' => '#^Call to static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
466 | - 'count' => 1, |
|
467 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
465 | + 'message' => '#^Call to static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
466 | + 'count' => 1, |
|
467 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
468 | 468 | ]; |
469 | 469 | $ignoreErrors[] = [ |
470 | - 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
471 | - 'count' => 1, |
|
472 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
470 | + 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
471 | + 'count' => 1, |
|
472 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
473 | 473 | ]; |
474 | 474 | $ignoreErrors[] = [ |
475 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
476 | - 'count' => 1, |
|
477 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
475 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
476 | + 'count' => 1, |
|
477 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
478 | 478 | ]; |
479 | 479 | $ignoreErrors[] = [ |
480 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
481 | - 'count' => 1, |
|
482 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
480 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
481 | + 'count' => 1, |
|
482 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
483 | 483 | ]; |
484 | 484 | $ignoreErrors[] = [ |
485 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner not found\\.$#', |
|
486 | - 'count' => 1, |
|
487 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
485 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner not found\\.$#', |
|
486 | + 'count' => 1, |
|
487 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
488 | 488 | ]; |
489 | 489 | $ignoreErrors[] = [ |
490 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner not found\\.$#', |
|
491 | - 'count' => 1, |
|
492 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
490 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner not found\\.$#', |
|
491 | + 'count' => 1, |
|
492 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
493 | 493 | ]; |
494 | 494 | $ignoreErrors[] = [ |
495 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Email not found\\.$#', |
|
496 | - 'count' => 1, |
|
497 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
495 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Email not found\\.$#', |
|
496 | + 'count' => 1, |
|
497 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
498 | 498 | ]; |
499 | 499 | $ignoreErrors[] = [ |
500 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart not found\\.$#', |
|
501 | - 'count' => 4, |
|
502 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
500 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart not found\\.$#', |
|
501 | + 'count' => 4, |
|
502 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
503 | 503 | ]; |
504 | 504 | $ignoreErrors[] = [ |
505 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
506 | - 'count' => 2, |
|
507 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
505 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
506 | + 'count' => 2, |
|
507 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
508 | 508 | ]; |
509 | 509 | $ignoreErrors[] = [ |
510 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
511 | - 'count' => 1, |
|
512 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
510 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
511 | + 'count' => 1, |
|
512 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
513 | 513 | ]; |
514 | 514 | $ignoreErrors[] = [ |
515 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
516 | - 'count' => 1, |
|
517 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
515 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
516 | + 'count' => 1, |
|
517 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
518 | 518 | ]; |
519 | 519 | $ignoreErrors[] = [ |
520 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$encryption is never read, only written\\.$#', |
|
521 | - 'count' => 1, |
|
522 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
520 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$encryption is never read, only written\\.$#', |
|
521 | + 'count' => 1, |
|
522 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
523 | 523 | ]; |
524 | 524 | $ignoreErrors[] = [ |
525 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
526 | - 'count' => 1, |
|
527 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
525 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
526 | + 'count' => 1, |
|
527 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
528 | 528 | ]; |
529 | 529 | $ignoreErrors[] = [ |
530 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$timeout is never read, only written\\.$#', |
|
531 | - 'count' => 1, |
|
532 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
530 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$timeout is never read, only written\\.$#', |
|
531 | + 'count' => 1, |
|
532 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
533 | 533 | ]; |
534 | 534 | $ignoreErrors[] = [ |
535 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
536 | - 'count' => 1, |
|
537 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
535 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
536 | + 'count' => 1, |
|
537 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
538 | 538 | ]; |
539 | 539 | $ignoreErrors[] = [ |
540 | - 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
541 | - 'count' => 1, |
|
542 | - 'path' => __DIR__ . '/src/Middlewares/BaseMiddleware.php', |
|
540 | + 'message' => '#^Unsafe usage of new static\\(\\)\\.$#', |
|
541 | + 'count' => 1, |
|
542 | + 'path' => __DIR__ . '/src/Middlewares/BaseMiddleware.php', |
|
543 | 543 | ]; |
544 | 544 | $ignoreErrors[] = [ |
545 | - 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$request \\(BlitzPHP\\\\Http\\\\Request\\) does not accept Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\.$#', |
|
546 | - 'count' => 1, |
|
547 | - 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
545 | + 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$request \\(BlitzPHP\\\\Http\\\\Request\\) does not accept Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\.$#', |
|
546 | + 'count' => 1, |
|
547 | + 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
548 | 548 | ]; |
549 | 549 | $ignoreErrors[] = [ |
550 | - 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$response \\(BlitzPHP\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#', |
|
551 | - 'count' => 4, |
|
552 | - 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
550 | + 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$response \\(BlitzPHP\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#', |
|
551 | + 'count' => 4, |
|
552 | + 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
553 | 553 | ]; |
554 | 554 | $ignoreErrors[] = [ |
555 | - 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
556 | - 'count' => 1, |
|
557 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
555 | + 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
556 | + 'count' => 1, |
|
557 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
558 | 558 | ]; |
559 | 559 | $ignoreErrors[] = [ |
560 | - 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
561 | - 'count' => 1, |
|
562 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
560 | + 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
561 | + 'count' => 1, |
|
562 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
563 | 563 | ]; |
564 | 564 | $ignoreErrors[] = [ |
565 | - 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
566 | - 'count' => 1, |
|
567 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
565 | + 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
566 | + 'count' => 1, |
|
567 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
568 | 568 | ]; |
569 | 569 | $ignoreErrors[] = [ |
570 | - 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
571 | - 'count' => 1, |
|
572 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
570 | + 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
571 | + 'count' => 1, |
|
572 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
573 | 573 | ]; |
574 | 574 | $ignoreErrors[] = [ |
575 | - 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
576 | - 'count' => 1, |
|
577 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
575 | + 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
576 | + 'count' => 1, |
|
577 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
578 | 578 | ]; |
579 | 579 | $ignoreErrors[] = [ |
580 | - 'message' => '#^Class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
581 | - 'count' => 1, |
|
582 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
580 | + 'message' => '#^Class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
581 | + 'count' => 1, |
|
582 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
583 | 583 | ]; |
584 | 584 | $ignoreErrors[] = [ |
585 | - 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
586 | - 'count' => 1, |
|
587 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
585 | + 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
586 | + 'count' => 1, |
|
587 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
588 | 588 | ]; |
589 | 589 | $ignoreErrors[] = [ |
590 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
591 | - 'count' => 1, |
|
592 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
590 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
591 | + 'count' => 1, |
|
592 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
593 | 593 | ]; |
594 | 594 | $ignoreErrors[] = [ |
595 | - 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
596 | - 'count' => 1, |
|
597 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
595 | + 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
596 | + 'count' => 1, |
|
597 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
598 | 598 | ]; |
599 | 599 | $ignoreErrors[] = [ |
600 | - 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
601 | - 'count' => 1, |
|
602 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
600 | + 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
601 | + 'count' => 1, |
|
602 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
603 | 603 | ]; |
604 | 604 | $ignoreErrors[] = [ |
605 | - 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
606 | - 'count' => 1, |
|
607 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
605 | + 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
606 | + 'count' => 1, |
|
607 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
608 | 608 | ]; |
609 | 609 | $ignoreErrors[] = [ |
610 | - 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
611 | - 'count' => 1, |
|
612 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
610 | + 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
611 | + 'count' => 1, |
|
612 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
613 | 613 | ]; |
614 | 614 | $ignoreErrors[] = [ |
615 | - 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
616 | - 'count' => 1, |
|
617 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
615 | + 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
616 | + 'count' => 1, |
|
617 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
618 | 618 | ]; |
619 | 619 | $ignoreErrors[] = [ |
620 | - 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
621 | - 'count' => 1, |
|
622 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
620 | + 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
621 | + 'count' => 1, |
|
622 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
623 | 623 | ]; |
624 | 624 | $ignoreErrors[] = [ |
625 | - 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
626 | - 'count' => 1, |
|
627 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
625 | + 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
626 | + 'count' => 1, |
|
627 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
628 | 628 | ]; |
629 | 629 | $ignoreErrors[] = [ |
630 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
631 | - 'count' => 1, |
|
632 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
630 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
631 | + 'count' => 1, |
|
632 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
633 | 633 | ]; |
634 | 634 | $ignoreErrors[] = [ |
635 | - 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
636 | - 'count' => 2, |
|
637 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
635 | + 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
636 | + 'count' => 2, |
|
637 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
638 | 638 | ]; |
639 | 639 | $ignoreErrors[] = [ |
640 | - 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
641 | - 'count' => 1, |
|
642 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
640 | + 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
641 | + 'count' => 1, |
|
642 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
643 | 643 | ]; |
644 | 644 | $ignoreErrors[] = [ |
645 | - 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
646 | - 'count' => 1, |
|
647 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
645 | + 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
646 | + 'count' => 1, |
|
647 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
648 | 648 | ]; |
649 | 649 | $ignoreErrors[] = [ |
650 | - 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
651 | - 'count' => 1, |
|
652 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
650 | + 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
651 | + 'count' => 1, |
|
652 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
653 | 653 | ]; |
654 | 654 | $ignoreErrors[] = [ |
655 | - 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
656 | - 'count' => 1, |
|
657 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
655 | + 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
656 | + 'count' => 1, |
|
657 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
658 | 658 | ]; |
659 | 659 | $ignoreErrors[] = [ |
660 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
661 | - 'count' => 1, |
|
662 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
660 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
661 | + 'count' => 1, |
|
662 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
663 | 663 | ]; |
664 | 664 | $ignoreErrors[] = [ |
665 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
666 | - 'count' => 1, |
|
667 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
665 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
666 | + 'count' => 1, |
|
667 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
668 | 668 | ]; |
669 | 669 | $ignoreErrors[] = [ |
670 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
671 | - 'count' => 1, |
|
672 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
670 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
671 | + 'count' => 1, |
|
672 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
673 | 673 | ]; |
674 | 674 | $ignoreErrors[] = [ |
675 | - 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
676 | - 'count' => 1, |
|
677 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
675 | + 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
676 | + 'count' => 1, |
|
677 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
678 | 678 | ]; |
679 | 679 | $ignoreErrors[] = [ |
680 | - 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
681 | - 'count' => 1, |
|
682 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
680 | + 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
681 | + 'count' => 1, |
|
682 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
683 | 683 | ]; |
684 | 684 | $ignoreErrors[] = [ |
685 | - 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
686 | - 'count' => 1, |
|
687 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
685 | + 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
686 | + 'count' => 1, |
|
687 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
688 | 688 | ]; |
689 | 689 | $ignoreErrors[] = [ |
690 | - 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
691 | - 'count' => 1, |
|
692 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
690 | + 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
691 | + 'count' => 1, |
|
692 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
693 | 693 | ]; |
694 | 694 | $ignoreErrors[] = [ |
695 | - 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
696 | - 'count' => 1, |
|
697 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
695 | + 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
696 | + 'count' => 1, |
|
697 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
698 | 698 | ]; |
699 | 699 | $ignoreErrors[] = [ |
700 | - 'message' => '#^Call to method setCacheLifetime\\(\\) on an unknown class Smarty\\.$#', |
|
701 | - 'count' => 1, |
|
702 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
700 | + 'message' => '#^Call to method setCacheLifetime\\(\\) on an unknown class Smarty\\.$#', |
|
701 | + 'count' => 1, |
|
702 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
703 | 703 | ]; |
704 | 704 | $ignoreErrors[] = [ |
705 | - 'message' => '#^Call to method setCaching\\(\\) on an unknown class Smarty\\.$#', |
|
706 | - 'count' => 1, |
|
707 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
705 | + 'message' => '#^Call to method setCaching\\(\\) on an unknown class Smarty\\.$#', |
|
706 | + 'count' => 1, |
|
707 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
708 | 708 | ]; |
709 | 709 | $ignoreErrors[] = [ |
710 | - 'message' => '#^Call to method setCompileId\\(\\) on an unknown class Smarty\\.$#', |
|
711 | - 'count' => 1, |
|
712 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
710 | + 'message' => '#^Call to method setCompileId\\(\\) on an unknown class Smarty\\.$#', |
|
711 | + 'count' => 1, |
|
712 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
713 | 713 | ]; |
714 | 714 | $ignoreErrors[] = [ |
715 | - 'message' => '#^Call to method setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
716 | - 'count' => 1, |
|
717 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
715 | + 'message' => '#^Call to method setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
716 | + 'count' => 1, |
|
717 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
718 | 718 | ]; |
719 | 719 | $ignoreErrors[] = [ |
720 | - 'message' => '#^Class Smarty not found\\.$#', |
|
721 | - 'count' => 1, |
|
722 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
720 | + 'message' => '#^Class Smarty not found\\.$#', |
|
721 | + 'count' => 1, |
|
722 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
723 | 723 | ]; |
724 | 724 | $ignoreErrors[] = [ |
725 | - 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
726 | - 'count' => 1, |
|
727 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
725 | + 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
726 | + 'count' => 1, |
|
727 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
728 | 728 | ]; |
729 | 729 | $ignoreErrors[] = [ |
730 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
731 | - 'count' => 1, |
|
732 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
730 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
731 | + 'count' => 1, |
|
732 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
733 | 733 | ]; |
734 | 734 | $ignoreErrors[] = [ |
735 | - 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
736 | - 'count' => 1, |
|
737 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
735 | + 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
736 | + 'count' => 1, |
|
737 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
738 | 738 | ]; |
739 | 739 | $ignoreErrors[] = [ |
740 | - 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
741 | - 'count' => 1, |
|
742 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
740 | + 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
741 | + 'count' => 1, |
|
742 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
743 | 743 | ]; |
744 | 744 | $ignoreErrors[] = [ |
745 | - 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
746 | - 'count' => 1, |
|
747 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
745 | + 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
746 | + 'count' => 1, |
|
747 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
748 | 748 | ]; |
749 | 749 | $ignoreErrors[] = [ |
750 | - 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
751 | - 'count' => 1, |
|
752 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
750 | + 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
751 | + 'count' => 1, |
|
752 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
753 | 753 | ]; |
754 | 754 | $ignoreErrors[] = [ |
755 | - 'message' => '#^Call to method disableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
756 | - 'count' => 1, |
|
757 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
755 | + 'message' => '#^Call to method disableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
756 | + 'count' => 1, |
|
757 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
758 | 758 | ]; |
759 | 759 | $ignoreErrors[] = [ |
760 | - 'message' => '#^Call to method disableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
761 | - 'count' => 1, |
|
762 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
760 | + 'message' => '#^Call to method disableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
761 | + 'count' => 1, |
|
762 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
763 | 763 | ]; |
764 | 764 | $ignoreErrors[] = [ |
765 | - 'message' => '#^Call to method enableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
766 | - 'count' => 1, |
|
767 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
765 | + 'message' => '#^Call to method enableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
766 | + 'count' => 1, |
|
767 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
768 | 768 | ]; |
769 | 769 | $ignoreErrors[] = [ |
770 | - 'message' => '#^Call to method enableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
771 | - 'count' => 1, |
|
772 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
770 | + 'message' => '#^Call to method enableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
771 | + 'count' => 1, |
|
772 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
773 | 773 | ]; |
774 | 774 | $ignoreErrors[] = [ |
775 | - 'message' => '#^Call to method enableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
776 | - 'count' => 1, |
|
777 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
775 | + 'message' => '#^Call to method enableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
776 | + 'count' => 1, |
|
777 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
778 | 778 | ]; |
779 | 779 | $ignoreErrors[] = [ |
780 | - 'message' => '#^Call to method render\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
781 | - 'count' => 1, |
|
782 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
780 | + 'message' => '#^Call to method render\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
781 | + 'count' => 1, |
|
782 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
783 | 783 | ]; |
784 | 784 | $ignoreErrors[] = [ |
785 | - 'message' => '#^Call to method setCache\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
786 | - 'count' => 1, |
|
787 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
785 | + 'message' => '#^Call to method setCache\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
786 | + 'count' => 1, |
|
787 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
788 | 788 | ]; |
789 | 789 | $ignoreErrors[] = [ |
790 | - 'message' => '#^Call to method setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
791 | - 'count' => 1, |
|
792 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
790 | + 'message' => '#^Call to method setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
791 | + 'count' => 1, |
|
792 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
793 | 793 | ]; |
794 | 794 | $ignoreErrors[] = [ |
795 | - 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
796 | - 'count' => 1, |
|
797 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
795 | + 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
796 | + 'count' => 1, |
|
797 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
798 | 798 | ]; |
799 | 799 | $ignoreErrors[] = [ |
800 | - 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
801 | - 'count' => 1, |
|
802 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
800 | + 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
801 | + 'count' => 1, |
|
802 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
803 | 803 | ]; |
804 | 804 | $ignoreErrors[] = [ |
805 | - 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
806 | - 'count' => 1, |
|
807 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
805 | + 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
806 | + 'count' => 1, |
|
807 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
808 | 808 | ]; |
809 | 809 | $ignoreErrors[] = [ |
810 | - 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
811 | - 'count' => 1, |
|
812 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
810 | + 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
811 | + 'count' => 1, |
|
812 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
813 | 813 | ]; |
814 | 814 | $ignoreErrors[] = [ |
815 | - 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
816 | - 'count' => 1, |
|
817 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
815 | + 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
816 | + 'count' => 1, |
|
817 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
818 | 818 | ]; |
819 | 819 | $ignoreErrors[] = [ |
820 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
821 | - 'count' => 1, |
|
822 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
820 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
821 | + 'count' => 1, |
|
822 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
823 | 823 | ]; |
824 | 824 | $ignoreErrors[] = [ |
825 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
826 | - 'count' => 1, |
|
827 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
825 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
826 | + 'count' => 1, |
|
827 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
828 | 828 | ]; |
829 | 829 | $ignoreErrors[] = [ |
830 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
831 | - 'count' => 1, |
|
832 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
830 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
831 | + 'count' => 1, |
|
832 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
833 | 833 | ]; |
834 | 834 | $ignoreErrors[] = [ |
835 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
836 | - 'count' => 1, |
|
837 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
835 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
836 | + 'count' => 1, |
|
837 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
838 | 838 | ]; |
839 | 839 | $ignoreErrors[] = [ |
840 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
841 | - 'count' => 1, |
|
842 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
840 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
841 | + 'count' => 1, |
|
842 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
843 | 843 | ]; |
844 | 844 | |
845 | 845 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $controller = $routes->getDefaultController(); |
178 | 178 | } |
179 | 179 | |
180 | - if (! $fullName && is_string($controller)) { |
|
180 | + if (!$fullName && is_string($controller)) { |
|
181 | 181 | $controller = str_replace($routes->getDefaultNamespace(), '', $controller); |
182 | 182 | } |
183 | 183 | |
@@ -300,14 +300,14 @@ discard block |
||
300 | 300 | return; |
301 | 301 | } |
302 | 302 | |
303 | - if (is_cli() && ! on_test()) { |
|
303 | + if (is_cli() && !on_test()) { |
|
304 | 304 | // @codeCoverageIgnoreStart |
305 | 305 | // $this->request = Services::clirequest($this->config); |
306 | 306 | // @codeCoverageIgnoreEnd |
307 | 307 | } |
308 | 308 | |
309 | 309 | $version = $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1'; |
310 | - if (! is_numeric($version)) { |
|
310 | + if (!is_numeric($version)) { |
|
311 | 311 | $version = substr($version, strpos($version, '/') + 1); |
312 | 312 | } |
313 | 313 | |
@@ -326,7 +326,7 @@ discard block |
||
326 | 326 | // Supposons le succès jusqu'à preuve du contraire. |
327 | 327 | $this->response = Services::response()->withStatus(200); |
328 | 328 | |
329 | - if (! is_cli() || on_test()) { |
|
329 | + if (!is_cli() || on_test()) { |
|
330 | 330 | } |
331 | 331 | |
332 | 332 | $this->response = $this->response->withProtocolVersion($this->request->getProtocolVersion()); |
@@ -410,7 +410,7 @@ discard block |
||
410 | 410 | } |
411 | 411 | |
412 | 412 | // Essayez de charger automatiquement la classe |
413 | - if (! class_exists($this->controller, true) || ($this->method[0] === '_' && $this->method !== '__invoke')) { |
|
413 | + if (!class_exists($this->controller, true) || ($this->method[0] === '_' && $this->method !== '__invoke')) { |
|
414 | 414 | throw PageNotFoundException::controllerNotFound($this->controller, $this->method); |
415 | 415 | } |
416 | 416 | |
@@ -501,7 +501,7 @@ discard block |
||
501 | 501 | |
502 | 502 | $this->outputBufferingEnd(); |
503 | 503 | |
504 | - throw PageNotFoundException::pageNotFound(! on_prod() || is_cli() ? $e->getMessage() : ''); |
|
504 | + throw PageNotFoundException::pageNotFound(!on_prod() || is_cli() ? $e->getMessage() : ''); |
|
505 | 505 | } |
506 | 506 | |
507 | 507 | /** |
@@ -543,7 +543,7 @@ discard block |
||
543 | 543 | public function storePreviousURL($uri) |
544 | 544 | { |
545 | 545 | // Ignorer les requêtes CLI |
546 | - if (is_cli() && ! on_test()) { |
|
546 | + if (is_cli() && !on_test()) { |
|
547 | 547 | return; // @codeCoverageIgnore |
548 | 548 | } |
549 | 549 | |
@@ -553,7 +553,7 @@ discard block |
||
553 | 553 | } |
554 | 554 | |
555 | 555 | // Ignorer les reponses non-HTML |
556 | - if (! str_contains($this->response->getHeaderLine('Content-Type'), 'text/html')) { |
|
556 | + if (!str_contains($this->response->getHeaderLine('Content-Type'), 'text/html')) { |
|
557 | 557 | return; |
558 | 558 | } |
559 | 559 | |
@@ -577,7 +577,7 @@ discard block |
||
577 | 577 | */ |
578 | 578 | protected function sendResponse() |
579 | 579 | { |
580 | - if (! $this->isAjaxRequest()) { |
|
580 | + if (!$this->isAjaxRequest()) { |
|
581 | 581 | $this->response = Services::toolbar()->prepare( |
582 | 582 | $this->getPerformanceStats(), |
583 | 583 | $this->request, |
@@ -670,11 +670,11 @@ discard block |
||
670 | 670 | */ |
671 | 671 | private function spoofRequestMethod(): callable |
672 | 672 | { |
673 | - return static function (ServerRequestInterface $request, ResponseInterface $response, callable $next) { |
|
673 | + return static function(ServerRequestInterface $request, ResponseInterface $response, callable $next) { |
|
674 | 674 | $post = $request->getParsedBody(); |
675 | 675 | |
676 | 676 | // Ne fonctionne qu'avec les formulaires POST |
677 | - if ($request->getMethod() === Method::POST && ! empty($post['_method'])) { |
|
677 | + if ($request->getMethod() === Method::POST && !empty($post['_method'])) { |
|
678 | 678 | // Accepte seulement PUT, PATCH, DELETE |
679 | 679 | if (in_array($post['_method'], [Method::PUT, Method::PATCH, Method::DELETE], true)) { |
680 | 680 | $request = $request->withMethod($post['_method']); |
@@ -687,7 +687,7 @@ discard block |
||
687 | 687 | |
688 | 688 | private function bootApp(): callable |
689 | 689 | { |
690 | - return function (ServerRequestInterface $request, ResponseInterface $response, callable $next): ResponseInterface { |
|
690 | + return function(ServerRequestInterface $request, ResponseInterface $response, callable $next): ResponseInterface { |
|
691 | 691 | Services::set(Request::class, $request); |
692 | 692 | Services::set(Response::class, $response); |
693 | 693 | |
@@ -695,10 +695,10 @@ discard block |
||
695 | 695 | $returned = $this->startController(); |
696 | 696 | |
697 | 697 | // Les controleur sous forme de Closure sont executes dans startController(). |
698 | - if (! is_callable($this->controller)) { |
|
698 | + if (!is_callable($this->controller)) { |
|
699 | 699 | $controller = $this->createController($request, $response); |
700 | 700 | |
701 | - if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { |
|
701 | + if (!method_exists($controller, '_remap') && !is_callable([$controller, $this->method], false)) { |
|
702 | 702 | throw PageNotFoundException::methodNotFound($this->method); |
703 | 703 | } |
704 | 704 |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | $class = $this->translateURIDashes(ucfirst($segment)); |
162 | 162 | |
163 | 163 | // dès que nous rencontrons un segment qui n'est pas compatible PSR-4, arrêter la recherche |
164 | - if (! $this->isValidSegment($class)) { |
|
164 | + if (!$this->isValidSegment($class)) { |
|
165 | 165 | return false; |
166 | 166 | } |
167 | 167 | |
@@ -387,7 +387,7 @@ discard block |
||
387 | 387 | throw new MethodNotFoundException(); |
388 | 388 | } |
389 | 389 | |
390 | - if (! $refMethod->isPublic()) { |
|
390 | + if (!$refMethod->isPublic()) { |
|
391 | 391 | throw new MethodNotFoundException(); |
392 | 392 | } |
393 | 393 | |
@@ -449,7 +449,7 @@ discard block |
||
449 | 449 | return; |
450 | 450 | } |
451 | 451 | |
452 | - if (! in_array(ltrim($classname, '\\'), get_declared_classes(), true)) { |
|
452 | + if (!in_array(ltrim($classname, '\\'), get_declared_classes(), true)) { |
|
453 | 453 | throw new PageNotFoundException( |
454 | 454 | '"' . $classname . '" n\'a pas été trouvé.' |
455 | 455 | ); |
@@ -468,7 +468,7 @@ discard block |
||
468 | 468 | return; |
469 | 469 | } |
470 | 470 | |
471 | - if (! in_array($method, get_class_methods($this->controller), true)) { |
|
471 | + if (!in_array($method, get_class_methods($this->controller), true)) { |
|
472 | 472 | throw new PageNotFoundException( |
473 | 473 | '"' . $this->controller . '::' . $method . '()" n\'a pas été trouvé.' |
474 | 474 | ); |
@@ -572,7 +572,7 @@ discard block |
||
572 | 572 | */ |
573 | 573 | public function directory(): string |
574 | 574 | { |
575 | - return ! empty($this->directory) ? $this->directory : ''; |
|
575 | + return !empty($this->directory) ? $this->directory : ''; |
|
576 | 576 | } |
577 | 577 | |
578 | 578 | /** |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | // Toujours là ? Ensuite, nous pouvons essayer de faire correspondre l'URI avec |
176 | 176 | // Contrôleurs/répertoires, mais l'application peut ne pas |
177 | 177 | // vouloir ceci, comme dans le cas des API. |
178 | - if (! $this->collection->shouldAutoRoute()) { |
|
178 | + if (!$this->collection->shouldAutoRoute()) { |
|
179 | 179 | throw new PageNotFoundException("Impossible de trouver une route pour '{$this->collection->getHTTPVerb()}: {$uri}'."); |
180 | 180 | } |
181 | 181 | |
@@ -205,7 +205,7 @@ discard block |
||
205 | 205 | */ |
206 | 206 | public function controllerName() |
207 | 207 | { |
208 | - if (! is_string($this->controller)) { |
|
208 | + if (!is_string($this->controller)) { |
|
209 | 209 | return $this->controller; |
210 | 210 | } |
211 | 211 | |
@@ -250,7 +250,7 @@ discard block |
||
250 | 250 | |
251 | 251 | return [ |
252 | 252 | $routeArray[0], // Controller |
253 | - $routeArray[1] ?? 'index', // Method |
|
253 | + $routeArray[1] ?? 'index', // Method |
|
254 | 254 | ]; |
255 | 255 | } |
256 | 256 | |
@@ -374,7 +374,7 @@ discard block |
||
374 | 374 | // Cette route est-elle censée rediriger vers une autre ? |
375 | 375 | if ($this->collection->isRedirect($routeKey)) { |
376 | 376 | // remplacement des groupes de routes correspondants par des références : post/([0-9]+) -> post/$1 |
377 | - $redirectTo = preg_replace_callback('/(\([^\(]+\))/', static function () { |
|
377 | + $redirectTo = preg_replace_callback('/(\([^\(]+\))/', static function() { |
|
378 | 378 | static $i = 1; |
379 | 379 | |
380 | 380 | return '$' . $i++; |
@@ -394,7 +394,7 @@ discard block |
||
394 | 394 | ); |
395 | 395 | |
396 | 396 | if ($this->collection->shouldUseSupportedLocalesOnly() |
397 | - && ! in_array($matched['locale'], config('app.supported_locales'), true)) { |
|
397 | + && !in_array($matched['locale'], config('app.supported_locales'), true)) { |
|
398 | 398 | // Lancer une exception pour empêcher l'autorouteur, |
399 | 399 | // si activé, essayer de trouver une route |
400 | 400 | throw PageNotFoundException::localeNotSupported($matched['locale']); |
@@ -406,7 +406,7 @@ discard block |
||
406 | 406 | |
407 | 407 | // Utilisons-nous Closures ? Si tel est le cas, nous devons collecter les paramètres dans un tableau |
408 | 408 | // afin qu'ils puissent être transmis ultérieurement à la méthode du contrôleur. |
409 | - if (! is_string($handler) && is_callable($handler)) { |
|
409 | + if (!is_string($handler) && is_callable($handler)) { |
|
410 | 410 | $this->controller = $handler; |
411 | 411 | |
412 | 412 | // Supprime la chaîne d'origine du tableau matches |
@@ -483,7 +483,7 @@ discard block |
||
483 | 483 | |
484 | 484 | return preg_replace_callback( |
485 | 485 | $pattern, |
486 | - static function ($match) use ($matches) { |
|
486 | + static function($match) use ($matches) { |
|
487 | 487 | $index = (int) $match[1]; |
488 | 488 | |
489 | 489 | return $matches[$index] ?? ''; |
@@ -523,7 +523,7 @@ discard block |
||
523 | 523 | |
524 | 524 | // $this->method contient déjà le nom de la méthode par défaut, |
525 | 525 | // donc ne l'écrasez pas avec le vide. |
526 | - if (! empty($method)) { |
|
526 | + if (!empty($method)) { |
|
527 | 527 | $this->setMethod($method); |
528 | 528 | } |
529 | 529 |
@@ -258,7 +258,7 @@ discard block |
||
258 | 258 | // Incluez le fichier routesFile s'il n'existe pas. |
259 | 259 | // Ne conserver que pour les fins BC pour l'instant. |
260 | 260 | $routeFiles = $this->routeFiles; |
261 | - if (! in_array($routesFile, $routeFiles, true)) { |
|
261 | + if (!in_array($routesFile, $routeFiles, true)) { |
|
262 | 262 | $routeFiles[] = $routesFile; |
263 | 263 | } |
264 | 264 | |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | $routes = $this; |
267 | 267 | |
268 | 268 | foreach ($routeFiles as $routesFile) { |
269 | - if (! is_file($routesFile)) { |
|
269 | + if (!is_file($routesFile)) { |
|
270 | 270 | logger()->warning(sprintf('Fichier de route introuvable : "%s"', $routesFile)); |
271 | 271 | |
272 | 272 | continue; |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | */ |
316 | 316 | public function placeholder(array|string $placeholder, ?string $pattern = null): self |
317 | 317 | { |
318 | - if (! is_array($placeholder)) { |
|
318 | + if (!is_array($placeholder)) { |
|
319 | 319 | $placeholder = [$placeholder => $pattern]; |
320 | 320 | } |
321 | 321 | |
@@ -1031,7 +1031,7 @@ discard block |
||
1031 | 1031 | * |
1032 | 1032 | * @param array|(Closure(mixed...): (ResponseInterface|string|void))|string $to |
1033 | 1033 | */ |
1034 | - public function match(array $verbs = [], string $from = '', $to = '', ?array $options = null): self |
|
1034 | + public function match(array $verbs = [], string $from = '', $to = '', ?array $options = null) : self |
|
1035 | 1035 | { |
1036 | 1036 | if (empty($from) || empty($to)) { |
1037 | 1037 | throw new InvalidArgumentException('Vous devez fournir les paramètres : $from, $to.'); |
@@ -1222,7 +1222,7 @@ discard block |
||
1222 | 1222 | $from = $route['from']; |
1223 | 1223 | |
1224 | 1224 | // on ignore les closures |
1225 | - if (! is_string($to)) { |
|
1225 | + if (!is_string($to)) { |
|
1226 | 1226 | continue; |
1227 | 1227 | } |
1228 | 1228 | |
@@ -1233,7 +1233,7 @@ discard block |
||
1233 | 1233 | |
1234 | 1234 | // S'il y a une chance de correspondance, alors ce sera |
1235 | 1235 | // soit avec $search au début de la chaîne $to. |
1236 | - if (! str_starts_with($to, $search)) { |
|
1236 | + if (!str_starts_with($to, $search)) { |
|
1237 | 1237 | continue; |
1238 | 1238 | } |
1239 | 1239 | |
@@ -1309,7 +1309,7 @@ discard block |
||
1309 | 1309 | |
1310 | 1310 | // Construisez notre chaîne résultante, en insérant les $params aux endroits appropriés. |
1311 | 1311 | foreach ($matches[0] as $index => $placeholder) { |
1312 | - if (! isset($params[$index])) { |
|
1312 | + if (!isset($params[$index])) { |
|
1313 | 1313 | throw new InvalidArgumentException( |
1314 | 1314 | 'Argument manquant pour "' . $placeholder . '" dans la route "' . $from . '".' |
1315 | 1315 | ); |
@@ -1320,7 +1320,7 @@ discard block |
||
1320 | 1320 | // ou peut-être que $placeholder n'est pas un espace réservé, mais une regex. |
1321 | 1321 | $pattern = $this->placeholders[$placeholderName] ?? $placeholder; |
1322 | 1322 | |
1323 | - if (! preg_match('#^' . $pattern . '$#u', (string) $params[$index])) { |
|
1323 | + if (!preg_match('#^' . $pattern . '$#u', (string) $params[$index])) { |
|
1324 | 1324 | throw RouterException::invalidParameterType(); |
1325 | 1325 | } |
1326 | 1326 | |
@@ -1377,7 +1377,7 @@ discard block |
||
1377 | 1377 | $from = trim($from, '/'); |
1378 | 1378 | } |
1379 | 1379 | |
1380 | - if (is_string($to) && ! str_contains($to, '::') && class_exists($to) && method_exists($to, '__invoke')) { |
|
1380 | + if (is_string($to) && !str_contains($to, '::') && class_exists($to) && method_exists($to, '__invoke')) { |
|
1381 | 1381 | $to = [$to, '__invoke']; |
1382 | 1382 | } |
1383 | 1383 | |
@@ -1389,7 +1389,7 @@ discard block |
||
1389 | 1389 | $options = array_merge($this->currentOptions ?? [], $options ?? []); |
1390 | 1390 | |
1391 | 1391 | if (isset($options['middleware'])) { |
1392 | - if (! isset($options['middlewares'])) { |
|
1392 | + if (!isset($options['middlewares'])) { |
|
1393 | 1393 | $options['middlewares'] = (array) $options['middleware']; |
1394 | 1394 | } |
1395 | 1395 | unset($options['middleware']); |
@@ -1410,9 +1410,9 @@ discard block |
||
1410 | 1410 | } |
1411 | 1411 | |
1412 | 1412 | // Limitation du nom d'hôte ? |
1413 | - if (! empty($options['hostname'])) { |
|
1413 | + if (!empty($options['hostname'])) { |
|
1414 | 1414 | // @todo déterminer s'il existe un moyen de mettre les hôtes sur liste blanche ? |
1415 | - if (! $this->checkHostname($options['hostname'])) { |
|
1415 | + if (!$this->checkHostname($options['hostname'])) { |
|
1416 | 1416 | return; |
1417 | 1417 | } |
1418 | 1418 | |
@@ -1420,10 +1420,10 @@ discard block |
||
1420 | 1420 | } |
1421 | 1421 | |
1422 | 1422 | // Limitation du nom sous-domaine ? |
1423 | - elseif (! empty($options['subdomain'])) { |
|
1423 | + elseif (!empty($options['subdomain'])) { |
|
1424 | 1424 | // Si nous ne correspondons pas au sous-domaine actuel, alors |
1425 | 1425 | // nous n'avons pas besoin d'ajouter la route. |
1426 | - if (! $this->checkSubdomains($options['subdomain'])) { |
|
1426 | + if (!$this->checkSubdomains($options['subdomain'])) { |
|
1427 | 1427 | return; |
1428 | 1428 | } |
1429 | 1429 | |
@@ -1456,9 +1456,9 @@ discard block |
||
1456 | 1456 | } |
1457 | 1457 | |
1458 | 1458 | // S'il s'agit d'une redirection, aucun traitement |
1459 | - if (! isset($options['redirect']) && is_string($to)) { |
|
1459 | + if (!isset($options['redirect']) && is_string($to)) { |
|
1460 | 1460 | // Si aucun espace de noms n'est trouvé, ajouter l'espace de noms par défaut |
1461 | - if (! str_contains($to, '\\') || strpos($to, '\\') > 0) { |
|
1461 | + if (!str_contains($to, '\\') || strpos($to, '\\') > 0) { |
|
1462 | 1462 | $namespace = $options['namespace'] ?? $this->defaultNamespace; |
1463 | 1463 | $to = trim($namespace, '\\') . '\\' . $to; |
1464 | 1464 | } |
@@ -1475,7 +1475,7 @@ discard block |
||
1475 | 1475 | // cela ne fonctionne que parce que les routes découvertes sont ajoutées juste avant |
1476 | 1476 | // pour tenter de router la requête. |
1477 | 1477 | $routeKeyExists = isset($this->routes[$verb][$routeKey]); |
1478 | - if ((isset($this->routesNames[$verb][$name]) || $routeKeyExists) && ! $overwrite) { |
|
1478 | + if ((isset($this->routesNames[$verb][$name]) || $routeKeyExists) && !$overwrite) { |
|
1479 | 1479 | return; |
1480 | 1480 | } |
1481 | 1481 | |
@@ -1501,7 +1501,7 @@ discard block |
||
1501 | 1501 | private function checkHostname(string $hostname): bool |
1502 | 1502 | { |
1503 | 1503 | // Les appels CLI ne peuvent pas être sur le nom d'hôte. |
1504 | - if (! isset($this->httpHost)) { |
|
1504 | + if (!isset($this->httpHost)) { |
|
1505 | 1505 | return false; |
1506 | 1506 | } |
1507 | 1507 | |
@@ -1517,7 +1517,7 @@ discard block |
||
1517 | 1517 | private function checkSubdomains($subdomains): bool |
1518 | 1518 | { |
1519 | 1519 | // Les appels CLI ne peuvent pas être sur le sous-domaine. |
1520 | - if (! isset($this->httpHost)) { |
|
1520 | + if (!isset($this->httpHost)) { |
|
1521 | 1521 | return false; |
1522 | 1522 | } |
1523 | 1523 | |
@@ -1525,13 +1525,13 @@ discard block |
||
1525 | 1525 | $this->currentSubdomain = $this->determineCurrentSubdomain(); |
1526 | 1526 | } |
1527 | 1527 | |
1528 | - if (! is_array($subdomains)) { |
|
1528 | + if (!is_array($subdomains)) { |
|
1529 | 1529 | $subdomains = [$subdomains]; |
1530 | 1530 | } |
1531 | 1531 | |
1532 | 1532 | // Les routes peuvent être limitées à n'importe quel sous-domaine. Dans ce cas, cependant, |
1533 | 1533 | // il nécessite la présence d'un sous-domaine. |
1534 | - if (! empty($this->currentSubdomain) && in_array('*', $subdomains, true)) { |
|
1534 | + if (!empty($this->currentSubdomain) && in_array('*', $subdomains, true)) { |
|
1535 | 1535 | return true; |
1536 | 1536 | } |
1537 | 1537 | |
@@ -1553,7 +1553,7 @@ discard block |
||
1553 | 1553 | // sur l'URL sinon parse_url sera mal interprété |
1554 | 1554 | // 'hôte' comme 'chemin'. |
1555 | 1555 | $url = $this->httpHost; |
1556 | - if (! str_starts_with($url, 'http')) { |
|
1556 | + if (!str_starts_with($url, 'http')) { |
|
1557 | 1557 | $url = 'http://' . $url; |
1558 | 1558 | } |
1559 | 1559 | |
@@ -1597,7 +1597,7 @@ discard block |
||
1597 | 1597 | */ |
1598 | 1598 | private function getControllerName(Closure|string $handler): ?string |
1599 | 1599 | { |
1600 | - if (! is_string($handler)) { |
|
1600 | + if (!is_string($handler)) { |
|
1601 | 1601 | return null; |
1602 | 1602 | } |
1603 | 1603 | |
@@ -1656,13 +1656,13 @@ discard block |
||
1656 | 1656 | */ |
1657 | 1657 | private function replaceLocale(string $route, ?string $locale = null): string |
1658 | 1658 | { |
1659 | - if (! str_contains($route, '{locale}')) { |
|
1659 | + if (!str_contains($route, '{locale}')) { |
|
1660 | 1660 | return $route; |
1661 | 1661 | } |
1662 | 1662 | |
1663 | 1663 | // Vérifier les paramètres régionaux non valides |
1664 | 1664 | if ($locale !== null) { |
1665 | - if (! in_array($locale, config('app.supported_locales'), true)) { |
|
1665 | + if (!in_array($locale, config('app.supported_locales'), true)) { |
|
1666 | 1666 | $locale = null; |
1667 | 1667 | } |
1668 | 1668 | } |