@@ -452,7 +452,7 @@ discard block |
||
452 | 452 | $this->_streamMode = $options['streamMode'] ?? $this->_streamMode; |
453 | 453 | |
454 | 454 | if (isset($options['stream'])) { |
455 | - if (! $options['stream'] instanceof StreamInterface) { |
|
455 | + if (!$options['stream'] instanceof StreamInterface) { |
|
456 | 456 | throw new InvalidArgumentException('Stream option must be an object that implements StreamInterface'); |
457 | 457 | } |
458 | 458 | $this->stream = $options['stream']; |
@@ -468,7 +468,7 @@ discard block |
||
468 | 468 | $this->_setStatus($options['status']); |
469 | 469 | } |
470 | 470 | |
471 | - if (! isset($options['charset'])) { |
|
471 | + if (!isset($options['charset'])) { |
|
472 | 472 | $options['charset'] = config('app.charset'); |
473 | 473 | } |
474 | 474 | $this->_charset = $options['charset']; |
@@ -516,7 +516,7 @@ discard block |
||
516 | 516 | $charset = true; |
517 | 517 | } |
518 | 518 | |
519 | - if ($charset && ! str_contains($type, ';')) { |
|
519 | + if ($charset && !str_contains($type, ';')) { |
|
520 | 520 | $this->_setHeader('Content-Type', "{$type}; charset={$this->_charset}"); |
521 | 521 | } else { |
522 | 522 | $this->_setHeader('Content-Type', $type); |
@@ -596,7 +596,7 @@ discard block |
||
596 | 596 | protected function _clearHeader(string $header): void |
597 | 597 | { |
598 | 598 | $normalized = strtolower($header); |
599 | - if (! isset($this->headerNames[$normalized])) { |
|
599 | + if (!isset($this->headerNames[$normalized])) { |
|
600 | 600 | return; |
601 | 601 | } |
602 | 602 | $original = $this->headerNames[$normalized]; |
@@ -752,7 +752,7 @@ discard block |
||
752 | 752 | if ($mapped) { |
753 | 753 | return is_array($mapped) ? current($mapped) : $mapped; |
754 | 754 | } |
755 | - if (! str_contains($contentType, '/')) { |
|
755 | + if (!str_contains($contentType, '/')) { |
|
756 | 756 | throw new InvalidArgumentException(sprintf('"%s" is an invalid content type.', $contentType)); |
757 | 757 | } |
758 | 758 | |
@@ -835,7 +835,7 @@ discard block |
||
835 | 835 | */ |
836 | 836 | public function withCache($since, $time = '+1 day'): static |
837 | 837 | { |
838 | - if (! is_int($time)) { |
|
838 | + if (!is_int($time)) { |
|
839 | 839 | $time = strtotime($time); |
840 | 840 | if ($time === false) { |
841 | 841 | throw new InvalidArgumentException( |
@@ -1289,7 +1289,7 @@ discard block |
||
1289 | 1289 | */ |
1290 | 1290 | public function getCookie(string $name): ?array |
1291 | 1291 | { |
1292 | - if (! $this->_cookies->has($name)) { |
|
1292 | + if (!$this->_cookies->has($name)) { |
|
1293 | 1293 | return null; |
1294 | 1294 | } |
1295 | 1295 | |
@@ -1362,7 +1362,7 @@ discard block |
||
1362 | 1362 | |
1363 | 1363 | $extension = strtolower($file->getExtension()); |
1364 | 1364 | $mapped = $this->getMimeType($extension); |
1365 | - if ((! $extension || ! $mapped) && $options['download'] === null) { |
|
1365 | + if ((!$extension || !$mapped) && $options['download'] === null) { |
|
1366 | 1366 | $options['download'] = true; |
1367 | 1367 | } |
1368 | 1368 | |
@@ -1424,12 +1424,12 @@ discard block |
||
1424 | 1424 | if (str_contains($path, '../') || str_contains($path, '..\\')) { |
1425 | 1425 | throw new LoadException('The requested file contains `..` and will not be read.'); |
1426 | 1426 | } |
1427 | - if (! is_file($path)) { |
|
1427 | + if (!is_file($path)) { |
|
1428 | 1428 | $path = APP_PATH . $path; |
1429 | 1429 | } |
1430 | 1430 | |
1431 | 1431 | $file = new SplFileInfo($path); |
1432 | - if (! $file->isFile() || ! $file->isReadable()) { |
|
1432 | + if (!$file->isFile() || !$file->isReadable()) { |
|
1433 | 1433 | if (on_dev()) { |
1434 | 1434 | throw new LoadException(sprintf('The requested file %s was not found or not readable', $path)); |
1435 | 1435 | } |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | |
95 | 95 | $file = $this->viewPath . $view; |
96 | 96 | |
97 | - if (! is_file($file)) { |
|
97 | + if (!is_file($file)) { |
|
98 | 98 | $fileOrig = $file; |
99 | 99 | $file = Services::locator()->locateFile($view, 'Views'); |
100 | 100 | |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | */ |
167 | 167 | public function setData(array $data = [], ?string $context = null): self |
168 | 168 | { |
169 | - if (! empty($context)) { |
|
169 | + if (!empty($context)) { |
|
170 | 170 | foreach ($data as $key => &$value) { |
171 | 171 | if (is_array($value)) { |
172 | 172 | foreach ($value as &$obj) { |
@@ -274,7 +274,7 @@ discard block |
||
274 | 274 | foreach ($matches as $match) { |
275 | 275 | // Loop over each piece of $data, replacing |
276 | 276 | // its contents so that we know what to replace in parse() |
277 | - $str = ''; // holds the new contents for this tag pair. |
|
277 | + $str = ''; // holds the new contents for this tag pair. |
|
278 | 278 | |
279 | 279 | foreach ($data as $row) { |
280 | 280 | // Objects that have a `toArray()` method should be |
@@ -296,7 +296,7 @@ discard block |
||
296 | 296 | if (is_array($val)) { |
297 | 297 | $pair = $this->parsePair($key, $val, $match[1]); |
298 | 298 | |
299 | - if (! empty($pair)) { |
|
299 | + if (!empty($pair)) { |
|
300 | 300 | $pairs[array_keys($pair)[0]] = true; |
301 | 301 | |
302 | 302 | $temp = array_merge($temp, $pair); |
@@ -316,7 +316,7 @@ discard block |
||
316 | 316 | |
317 | 317 | // Now replace our placeholders with the new content. |
318 | 318 | foreach ($temp as $pattern => $content) { |
319 | - $out = $this->replaceSingle($pattern, $content, $out, ! isset($pairs[$pattern])); |
|
319 | + $out = $this->replaceSingle($pattern, $content, $out, !isset($pairs[$pattern])); |
|
320 | 320 | } |
321 | 321 | |
322 | 322 | $str .= $out; |
@@ -486,7 +486,7 @@ discard block |
||
486 | 486 | $content = (string) $content; |
487 | 487 | |
488 | 488 | // Replace the content in the template |
489 | - return preg_replace_callback($pattern, function ($matches) use ($content, $escape) { |
|
489 | + return preg_replace_callback($pattern, function($matches) use ($content, $escape) { |
|
490 | 490 | // Check for {! !} syntax to not escape this one. |
491 | 491 | if (str_starts_with($matches[0], '{!') && substr($matches[0], -2) === '!}') { |
492 | 492 | $escape = false; |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | |
506 | 506 | // Our regex earlier will leave all chained values on a single line |
507 | 507 | // so we need to break them apart so we can apply them all. |
508 | - $filters = ! empty($matches[1]) ? explode('|', $matches[1]) : []; |
|
508 | + $filters = !empty($matches[1]) ? explode('|', $matches[1]) : []; |
|
509 | 509 | |
510 | 510 | if ($escape && empty($filters) && ($context = $this->shouldAddEscaping($orig))) { |
511 | 511 | $filters[] = "esc({$context})"; |
@@ -533,7 +533,7 @@ discard block |
||
533 | 533 | } |
534 | 534 | } |
535 | 535 | // No pipes, then we know we need to escape |
536 | - elseif (! str_contains($key, '|')) { |
|
536 | + elseif (!str_contains($key, '|')) { |
|
537 | 537 | $escape = 'html'; |
538 | 538 | } |
539 | 539 | // If there's a `noescape` then we're definitely false. |
@@ -541,7 +541,7 @@ discard block |
||
541 | 541 | $escape = false; |
542 | 542 | } |
543 | 543 | // If no `esc` filter is found, then we'll need to add one. |
544 | - elseif (! preg_match('/\s+esc/', $key)) { |
|
544 | + elseif (!preg_match('/\s+esc/', $key)) { |
|
545 | 545 | $escape = 'html'; |
546 | 546 | } |
547 | 547 | |
@@ -560,10 +560,10 @@ discard block |
||
560 | 560 | preg_match('/\([\w<>=\/\\\,:.\-\s\+]+\)/', $filter, $param); |
561 | 561 | |
562 | 562 | // Remove the () and spaces to we have just the parameter left |
563 | - $param = ! empty($param) ? trim($param[0], '() ') : null; |
|
563 | + $param = !empty($param) ? trim($param[0], '() ') : null; |
|
564 | 564 | |
565 | 565 | // Params can be separated by commas to allow multiple parameters for the filter |
566 | - if (! empty($param)) { |
|
566 | + if (!empty($param)) { |
|
567 | 567 | $param = explode(',', $param); |
568 | 568 | |
569 | 569 | // Clean it up |
@@ -575,10 +575,10 @@ discard block |
||
575 | 575 | } |
576 | 576 | |
577 | 577 | // Get our filter name |
578 | - $filter = ! empty($param) ? trim(strtolower(substr($filter, 0, strpos($filter, '(')))) : trim($filter); |
|
578 | + $filter = !empty($param) ? trim(strtolower(substr($filter, 0, strpos($filter, '(')))) : trim($filter); |
|
579 | 579 | |
580 | 580 | $this->config['filters'] ??= []; |
581 | - if (! array_key_exists($filter, $this->config['filters'])) { |
|
581 | + if (!array_key_exists($filter, $this->config['filters'])) { |
|
582 | 582 | continue; |
583 | 583 | } |
584 | 584 | |
@@ -617,7 +617,7 @@ discard block |
||
617 | 617 | * $matches[1] = all parameters string in opening tag |
618 | 618 | * $matches[2] = content between the tags to send to the plugin. |
619 | 619 | */ |
620 | - if (! preg_match_all($pattern, $template, $matches, PREG_SET_ORDER)) { |
|
620 | + if (!preg_match_all($pattern, $template, $matches, PREG_SET_ORDER)) { |
|
621 | 621 | continue; |
622 | 622 | } |
623 | 623 |
@@ -156,7 +156,7 @@ discard block |
||
156 | 156 | |
157 | 157 | $this->adapter->addData($data, $context); |
158 | 158 | |
159 | - if (! array_key_exists('errors', $this->getData())) { |
|
159 | + if (!array_key_exists('errors', $this->getData())) { |
|
160 | 160 | $this->setValidationErrors(); |
161 | 161 | } |
162 | 162 | |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | $this->adapter->setData($data, $context); |
202 | 202 | |
203 | - if (! array_key_exists('errors', $this->getData())) { |
|
203 | + if (!array_key_exists('errors', $this->getData())) { |
|
204 | 204 | $this->setValidationErrors(); |
205 | 205 | } |
206 | 206 | |
@@ -240,10 +240,10 @@ discard block |
||
240 | 240 | */ |
241 | 241 | public function setAdapter(string $adapter, array $config = []): self |
242 | 242 | { |
243 | - if (! array_key_exists($adapter, self::$validAdapters)) { |
|
243 | + if (!array_key_exists($adapter, self::$validAdapters)) { |
|
244 | 244 | $adapter = 'native'; |
245 | 245 | } |
246 | - if (empty($this->config['adapters']) || ! is_array($this->config['adapters'])) { |
|
246 | + if (empty($this->config['adapters']) || !is_array($this->config['adapters'])) { |
|
247 | 247 | $this->config['adapters'] = []; |
248 | 248 | } |
249 | 249 | |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | protected function decorate(string $output): string |
301 | 301 | { |
302 | 302 | foreach ($this->config['decorators'] as $decorator) { |
303 | - if (! is_subclass_of($decorator, ViewDecoratorInterface::class)) { |
|
303 | + if (!is_subclass_of($decorator, ViewDecoratorInterface::class)) { |
|
304 | 304 | throw ViewException::invalidDecorator($decorator); |
305 | 305 | } |
306 | 306 |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | |
59 | 59 | if (in_array($prefix, [null, true], true)) { |
60 | 60 | $prefix = 'hex2bin'; |
61 | - } elseif (! in_array($prefix, ['hex2bin', 'base64'], true)) { |
|
61 | + } elseif (!in_array($prefix, ['hex2bin', 'base64'], true)) { |
|
62 | 62 | $prefix = $this->choice('Veuillez utiliser un prefixe validee.', ['hex2bin', 'base64']); // @codeCoverageIgnore |
63 | 63 | } |
64 | 64 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | return; |
79 | 79 | } |
80 | 80 | |
81 | - if (! $this->setNewEncryptionKey($encodedKey)) { |
|
81 | + if (!$this->setNewEncryptionKey($encodedKey)) { |
|
82 | 82 | $this->writer->error('Erreur dans la configuration d\'une nouvelle cle d\'encryption dans le fichier `.env`.', true); |
83 | 83 | |
84 | 84 | return; |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | { |
109 | 109 | $currentKey = env('encryption.key', ''); |
110 | 110 | |
111 | - if ($currentKey !== '' && ! $this->confirmOverwrite()) { |
|
111 | + if ($currentKey !== '' && !$this->confirmOverwrite()) { |
|
112 | 112 | // Pas testable car require une entree au clavier |
113 | 113 | return false; // @codeCoverageIgnore |
114 | 114 | } |
@@ -132,8 +132,8 @@ discard block |
||
132 | 132 | $baseEnv = ROOTPATH . '.env.example'; |
133 | 133 | $envFile = ROOTPATH . '.env'; |
134 | 134 | |
135 | - if (! is_file($envFile)) { |
|
136 | - if (! is_file($baseEnv)) { |
|
135 | + if (!is_file($envFile)) { |
|
136 | + if (!is_file($baseEnv)) { |
|
137 | 137 | $this->writer->warn('Le fichier `.env.example` livré par défaut et le fichier `.env` personnalisé sont manquants.'); |
138 | 138 | $this->eol()->write('Voici votre nouvelle clé à la place: '); |
139 | 139 | $this->writer->warn($key, true); |
@@ -2,6 +2,6 @@ |
||
2 | 2 | |
3 | 3 | require __DIR__ . '/spec/bootstrap.php'; |
4 | 4 | |
5 | -if (! defined('OCI_COMMIT_ON_SUCCESS')) { |
|
5 | +if (!defined('OCI_COMMIT_ON_SUCCESS')) { |
|
6 | 6 | define('OCI_COMMIT_ON_SUCCESS', 32); |
7 | 7 | } |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types = 1); |
|
1 | +<?php declare(strict_types=1); |
|
2 | 2 | |
3 | 3 | $ignoreErrors = []; |
4 | 4 | $ignoreErrors[] = [ |
@@ -2,794 +2,794 @@ |
||
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' => '#^PHPDoc tag @method has invalid value \\(static void configure\\(callable \\$callback\\(RouteBuilder \\$route\\)\\) Configure les parametres de routing\\.\\)\\: Unexpected token "\\(", expected \'\\)\' at offset 63$#', |
|
56 | - 'count' => 1, |
|
57 | - 'path' => __DIR__ . '/src/Facades/Route.php', |
|
55 | + '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$#', |
|
56 | + 'count' => 1, |
|
57 | + 'path' => __DIR__ . '/src/Facades/Route.php', |
|
58 | 58 | ]; |
59 | 59 | $ignoreErrors[] = [ |
60 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getAcceptableContentTypes\\(\\)\\.$#', |
|
61 | - 'count' => 4, |
|
62 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
60 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getAcceptableContentTypes\\(\\)\\.$#', |
|
61 | + 'count' => 4, |
|
62 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
63 | 63 | ]; |
64 | 64 | $ignoreErrors[] = [ |
65 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getFormat\\(\\)\\.$#', |
|
66 | - 'count' => 1, |
|
67 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
65 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getFormat\\(\\)\\.$#', |
|
66 | + 'count' => 1, |
|
67 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
68 | 68 | ]; |
69 | 69 | $ignoreErrors[] = [ |
70 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getMimeType\\(\\)\\.$#', |
|
71 | - 'count' => 1, |
|
72 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
70 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Http\\\\Request\\:\\:getMimeType\\(\\)\\.$#', |
|
71 | + 'count' => 1, |
|
72 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
73 | 73 | ]; |
74 | 74 | $ignoreErrors[] = [ |
75 | - 'message' => '#^Call to an undefined method BlitzPHP\\\\Session\\\\Store\\:\\:flashInput\\(\\)\\.$#', |
|
76 | - 'count' => 4, |
|
77 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
75 | + 'message' => '#^Call to an undefined method BlitzPHP\\\\Session\\\\Store\\:\\:flashInput\\(\\)\\.$#', |
|
76 | + 'count' => 4, |
|
77 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
78 | 78 | ]; |
79 | 79 | $ignoreErrors[] = [ |
80 | - 'message' => '#^Method BlitzPHP\\\\Http\\\\Request\\:\\:validation\\(\\) should return BlitzPHP\\\\Validation\\\\Validation but returns Dimtrovich\\\\Validation\\\\Validation\\.$#', |
|
81 | - 'count' => 1, |
|
82 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
80 | + 'message' => '#^Method BlitzPHP\\\\Http\\\\Request\\:\\:validation\\(\\) should return BlitzPHP\\\\Validation\\\\Validation but returns Dimtrovich\\\\Validation\\\\Validation\\.$#', |
|
81 | + 'count' => 1, |
|
82 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
83 | 83 | ]; |
84 | 84 | $ignoreErrors[] = [ |
85 | - 'message' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
86 | - 'count' => 1, |
|
87 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
85 | + 'message' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
86 | + 'count' => 1, |
|
87 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
88 | 88 | ]; |
89 | 89 | $ignoreErrors[] = [ |
90 | - 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
91 | - 'count' => 1, |
|
92 | - 'path' => __DIR__ . '/src/Http/Response.php', |
|
90 | + 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
91 | + 'count' => 1, |
|
92 | + 'path' => __DIR__ . '/src/Http/Response.php', |
|
93 | 93 | ]; |
94 | 94 | $ignoreErrors[] = [ |
95 | - 'message' => '#^Property BlitzPHP\\\\Http\\\\ServerRequest\\:\\:\\$uploadedFiles \\(array\\<BlitzPHP\\\\Filesystem\\\\Files\\\\UploadedFile\\>\\) does not accept array\\<array\\<BlitzPHP\\\\Filesystem\\\\Files\\\\UploadedFile\\>\\|Psr\\\\Http\\\\Message\\\\UploadedFileInterface\\>\\.$#', |
|
96 | - 'count' => 1, |
|
97 | - 'path' => __DIR__ . '/src/Http/ServerRequest.php', |
|
95 | + 'message' => '#^Property BlitzPHP\\\\Http\\\\ServerRequest\\:\\:\\$uploadedFiles \\(array\\<BlitzPHP\\\\Filesystem\\\\Files\\\\UploadedFile\\>\\) does not accept array\\<array\\<BlitzPHP\\\\Filesystem\\\\Files\\\\UploadedFile\\>\\|Psr\\\\Http\\\\Message\\\\UploadedFileInterface\\>\\.$#', |
|
96 | + 'count' => 1, |
|
97 | + 'path' => __DIR__ . '/src/Http/ServerRequest.php', |
|
98 | 98 | ]; |
99 | 99 | $ignoreErrors[] = [ |
100 | - 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
101 | - 'count' => 1, |
|
102 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
100 | + 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
101 | + 'count' => 1, |
|
102 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
103 | 103 | ]; |
104 | 104 | $ignoreErrors[] = [ |
105 | - 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
106 | - 'count' => 2, |
|
107 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
105 | + 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
106 | + 'count' => 2, |
|
107 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
108 | 108 | ]; |
109 | 109 | $ignoreErrors[] = [ |
110 | - 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
111 | - 'count' => 2, |
|
112 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
110 | + 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
111 | + 'count' => 2, |
|
112 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
113 | 113 | ]; |
114 | 114 | $ignoreErrors[] = [ |
115 | - 'message' => '#^Access to property \\$CharSet on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
116 | - 'count' => 2, |
|
117 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
115 | + 'message' => '#^Access to property \\$CharSet on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
116 | + 'count' => 2, |
|
117 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
118 | 118 | ]; |
119 | 119 | $ignoreErrors[] = [ |
120 | - 'message' => '#^Access to property \\$DKIM_domain on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
121 | - 'count' => 2, |
|
122 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
120 | + 'message' => '#^Access to property \\$DKIM_domain on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
121 | + 'count' => 2, |
|
122 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
123 | 123 | ]; |
124 | 124 | $ignoreErrors[] = [ |
125 | - 'message' => '#^Access to property \\$DKIM_identity on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
126 | - 'count' => 2, |
|
127 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
125 | + 'message' => '#^Access to property \\$DKIM_identity on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
126 | + 'count' => 2, |
|
127 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
128 | 128 | ]; |
129 | 129 | $ignoreErrors[] = [ |
130 | - 'message' => '#^Access to property \\$DKIM_passphrase on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
131 | - 'count' => 2, |
|
132 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
130 | + 'message' => '#^Access to property \\$DKIM_passphrase on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
131 | + 'count' => 2, |
|
132 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
133 | 133 | ]; |
134 | 134 | $ignoreErrors[] = [ |
135 | - 'message' => '#^Access to property \\$DKIM_private on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
136 | - 'count' => 2, |
|
137 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
135 | + 'message' => '#^Access to property \\$DKIM_private 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 \\$DKIM_selector on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
141 | - 'count' => 2, |
|
142 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
140 | + 'message' => '#^Access to property \\$DKIM_selector 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 \\$Debugoutput on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
146 | - 'count' => 2, |
|
147 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
145 | + 'message' => '#^Access to property \\$Debugoutput 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 \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
151 | - 'count' => 1, |
|
152 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
150 | + 'message' => '#^Access to property \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
151 | + 'count' => 1, |
|
152 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
153 | 153 | ]; |
154 | 154 | $ignoreErrors[] = [ |
155 | - 'message' => '#^Access to property \\$Host on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
156 | - 'count' => 2, |
|
157 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
155 | + 'message' => '#^Access to property \\$Host 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 \\$Password on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
161 | - 'count' => 2, |
|
162 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
160 | + 'message' => '#^Access to property \\$Password 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 \\$Port on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
166 | - 'count' => 2, |
|
167 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
165 | + 'message' => '#^Access to property \\$Port 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 \\$Priority on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
171 | - 'count' => 2, |
|
172 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
170 | + 'message' => '#^Access to property \\$Priority 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 \\$SMTPAuth on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
176 | - 'count' => 2, |
|
177 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
175 | + 'message' => '#^Access to property \\$SMTPAuth 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 \\$SMTPDebug on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
181 | - 'count' => 2, |
|
182 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
180 | + 'message' => '#^Access to property \\$SMTPDebug on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
181 | + 'count' => 2, |
|
182 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
183 | 183 | ]; |
184 | 184 | $ignoreErrors[] = [ |
185 | - 'message' => '#^Access to property \\$SMTPSecure on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
186 | - 'count' => 2, |
|
187 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
185 | + 'message' => '#^Access to property \\$SMTPSecure 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 \\$Subject on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
191 | - 'count' => 2, |
|
192 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
190 | + 'message' => '#^Access to property \\$Subject 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 \\$Timeout on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
196 | - 'count' => 2, |
|
197 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
195 | + 'message' => '#^Access to property \\$Timeout 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 \\$Username on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
201 | - 'count' => 2, |
|
202 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
200 | + 'message' => '#^Access to property \\$Username 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' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
206 | - 'count' => 1, |
|
207 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
205 | + 'message' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
206 | + 'count' => 1, |
|
207 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
208 | 208 | ]; |
209 | 209 | $ignoreErrors[] = [ |
210 | - 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
211 | - 'count' => 1, |
|
212 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
210 | + 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
211 | + 'count' => 1, |
|
212 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
213 | 213 | ]; |
214 | 214 | $ignoreErrors[] = [ |
215 | - 'message' => '#^Call to method addBCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
216 | - 'count' => 1, |
|
217 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
215 | + 'message' => '#^Call to method addBCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
216 | + 'count' => 1, |
|
217 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
218 | 218 | ]; |
219 | 219 | $ignoreErrors[] = [ |
220 | - 'message' => '#^Call to method addCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
221 | - 'count' => 1, |
|
222 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
220 | + 'message' => '#^Call to method addCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
221 | + 'count' => 1, |
|
222 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
223 | 223 | ]; |
224 | 224 | $ignoreErrors[] = [ |
225 | - 'message' => '#^Call to method addCustomHeader\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
226 | - 'count' => 1, |
|
227 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
225 | + 'message' => '#^Call to method addCustomHeader\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
226 | + 'count' => 1, |
|
227 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
228 | 228 | ]; |
229 | 229 | $ignoreErrors[] = [ |
230 | - 'message' => '#^Call to method addEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
231 | - 'count' => 1, |
|
232 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
230 | + 'message' => '#^Call to method addEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
231 | + 'count' => 1, |
|
232 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
233 | 233 | ]; |
234 | 234 | $ignoreErrors[] = [ |
235 | - 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
236 | - 'count' => 1, |
|
237 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
235 | + 'message' => '#^Call to method addReplyTo\\(\\) 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 addStringAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
241 | - 'count' => 1, |
|
242 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
240 | + 'message' => '#^Call to method addStringAttachment\\(\\) 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 addStringEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
246 | - 'count' => 1, |
|
247 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
245 | + 'message' => '#^Call to method addStringEmbeddedImage\\(\\) 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 clearAddresses\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
251 | - 'count' => 1, |
|
252 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
250 | + 'message' => '#^Call to method clearAddresses\\(\\) 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 clearBCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
256 | - 'count' => 1, |
|
257 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
255 | + 'message' => '#^Call to method clearBCCs\\(\\) 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 clearCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
261 | - 'count' => 1, |
|
262 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
260 | + 'message' => '#^Call to method clearCCs\\(\\) 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 clearReplyTos\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
266 | - 'count' => 1, |
|
267 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
265 | + 'message' => '#^Call to method clearReplyTos\\(\\) 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 getLastMessageID\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
271 | - 'count' => 1, |
|
272 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
270 | + 'message' => '#^Call to method getLastMessageID\\(\\) 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 isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
276 | - 'count' => 2, |
|
277 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
275 | + 'message' => '#^Call to method isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
276 | + 'count' => 2, |
|
277 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
278 | 278 | ]; |
279 | 279 | $ignoreErrors[] = [ |
280 | - 'message' => '#^Call to method isMail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
281 | - 'count' => 1, |
|
282 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
280 | + 'message' => '#^Call to method isMail\\(\\) 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 isQmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
286 | - 'count' => 1, |
|
287 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
285 | + 'message' => '#^Call to method isQmail\\(\\) 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 isSMTP\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
291 | - 'count' => 1, |
|
292 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
290 | + 'message' => '#^Call to method isSMTP\\(\\) 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 isSendmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
296 | - 'count' => 1, |
|
297 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
295 | + 'message' => '#^Call to method isSendmail\\(\\) 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 send\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
301 | - 'count' => 1, |
|
302 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
300 | + 'message' => '#^Call to method send\\(\\) 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 setFrom\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
306 | - 'count' => 1, |
|
307 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
305 | + 'message' => '#^Call to method setFrom\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
306 | + 'count' => 1, |
|
307 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
308 | 308 | ]; |
309 | 309 | $ignoreErrors[] = [ |
310 | - 'message' => '#^Call to method sign\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
311 | - 'count' => 1, |
|
312 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
310 | + 'message' => '#^Call to method sign\\(\\) 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' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
316 | - 'count' => 1, |
|
317 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
315 | + 'message' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
316 | + 'count' => 1, |
|
317 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
318 | 318 | ]; |
319 | 319 | $ignoreErrors[] = [ |
320 | - 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
321 | - 'count' => 1, |
|
322 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
320 | + 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
321 | + 'count' => 1, |
|
322 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
323 | 323 | ]; |
324 | 324 | $ignoreErrors[] = [ |
325 | - 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
326 | - 'count' => 11, |
|
327 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
325 | + 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
326 | + 'count' => 11, |
|
327 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
328 | 328 | ]; |
329 | 329 | $ignoreErrors[] = [ |
330 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
331 | - 'count' => 1, |
|
332 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
330 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
331 | + 'count' => 1, |
|
332 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
333 | 333 | ]; |
334 | 334 | $ignoreErrors[] = [ |
335 | - 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
336 | - 'count' => 1, |
|
337 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
335 | + 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
336 | + 'count' => 1, |
|
337 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
338 | 338 | ]; |
339 | 339 | $ignoreErrors[] = [ |
340 | - 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
341 | - 'count' => 1, |
|
342 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
340 | + 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
341 | + 'count' => 1, |
|
342 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
343 | 343 | ]; |
344 | 344 | $ignoreErrors[] = [ |
345 | - 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
346 | - 'count' => 4, |
|
347 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
345 | + 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
346 | + 'count' => 4, |
|
347 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
348 | 348 | ]; |
349 | 349 | $ignoreErrors[] = [ |
350 | - 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
351 | - 'count' => 1, |
|
352 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
350 | + 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
351 | + 'count' => 1, |
|
352 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
353 | 353 | ]; |
354 | 354 | $ignoreErrors[] = [ |
355 | - 'message' => '#^Call to method addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
356 | - 'count' => 1, |
|
357 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
355 | + 'message' => '#^Call to method addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
356 | + 'count' => 1, |
|
357 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
358 | 358 | ]; |
359 | 359 | $ignoreErrors[] = [ |
360 | - 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
361 | - 'count' => 2, |
|
362 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
360 | + 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
361 | + 'count' => 2, |
|
362 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
363 | 363 | ]; |
364 | 364 | $ignoreErrors[] = [ |
365 | - 'message' => '#^Call to method bcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
366 | - 'count' => 1, |
|
367 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
365 | + 'message' => '#^Call to method bcc\\(\\) 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 cc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
371 | - 'count' => 1, |
|
372 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
370 | + 'message' => '#^Call to method cc\\(\\) 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 from\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
376 | - 'count' => 1, |
|
377 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
375 | + 'message' => '#^Call to method from\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
376 | + 'count' => 1, |
|
377 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
378 | 378 | ]; |
379 | 379 | $ignoreErrors[] = [ |
380 | - 'message' => '#^Call to method generateMessageId\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
381 | - 'count' => 1, |
|
382 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
380 | + 'message' => '#^Call to method generateMessageId\\(\\) 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 getHeaders\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
386 | - 'count' => 1, |
|
387 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
385 | + 'message' => '#^Call to method getHeaders\\(\\) 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 html\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
391 | - 'count' => 1, |
|
392 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
390 | + 'message' => '#^Call to method html\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
391 | + 'count' => 1, |
|
392 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
393 | 393 | ]; |
394 | 394 | $ignoreErrors[] = [ |
395 | - 'message' => '#^Call to method priority\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
396 | - 'count' => 1, |
|
397 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
395 | + 'message' => '#^Call to method priority\\(\\) 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 replyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
401 | - 'count' => 1, |
|
402 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
400 | + 'message' => '#^Call to method replyTo\\(\\) 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 send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
406 | - 'count' => 1, |
|
407 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
405 | + 'message' => '#^Call to method send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
406 | + 'count' => 1, |
|
407 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
408 | 408 | ]; |
409 | 409 | $ignoreErrors[] = [ |
410 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
411 | - 'count' => 1, |
|
412 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
410 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
411 | + 'count' => 1, |
|
412 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
413 | 413 | ]; |
414 | 414 | $ignoreErrors[] = [ |
415 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
416 | - 'count' => 1, |
|
417 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
415 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
416 | + 'count' => 1, |
|
417 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
418 | 418 | ]; |
419 | 419 | $ignoreErrors[] = [ |
420 | - 'message' => '#^Call to method subject\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
421 | - 'count' => 1, |
|
422 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
420 | + 'message' => '#^Call to method subject\\(\\) 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 text\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
426 | - 'count' => 1, |
|
427 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
425 | + 'message' => '#^Call to method text\\(\\) 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 to\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
431 | - 'count' => 1, |
|
432 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
430 | + 'message' => '#^Call to method to\\(\\) 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 static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
436 | - 'count' => 1, |
|
437 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
435 | + 'message' => '#^Call to static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
436 | + 'count' => 1, |
|
437 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
438 | 438 | ]; |
439 | 439 | $ignoreErrors[] = [ |
440 | - 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
441 | - 'count' => 1, |
|
442 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
440 | + 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
441 | + 'count' => 1, |
|
442 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
443 | 443 | ]; |
444 | 444 | $ignoreErrors[] = [ |
445 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
446 | - 'count' => 1, |
|
447 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
445 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
446 | + 'count' => 1, |
|
447 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
448 | 448 | ]; |
449 | 449 | $ignoreErrors[] = [ |
450 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
451 | - 'count' => 1, |
|
452 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
450 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
451 | + 'count' => 1, |
|
452 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
453 | 453 | ]; |
454 | 454 | $ignoreErrors[] = [ |
455 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner not found\\.$#', |
|
456 | - 'count' => 1, |
|
457 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
455 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner not found\\.$#', |
|
456 | + 'count' => 1, |
|
457 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
458 | 458 | ]; |
459 | 459 | $ignoreErrors[] = [ |
460 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner not found\\.$#', |
|
461 | - 'count' => 1, |
|
462 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
460 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner not found\\.$#', |
|
461 | + 'count' => 1, |
|
462 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
463 | 463 | ]; |
464 | 464 | $ignoreErrors[] = [ |
465 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Email not found\\.$#', |
|
466 | - 'count' => 1, |
|
467 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
465 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Email not found\\.$#', |
|
466 | + 'count' => 1, |
|
467 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
468 | 468 | ]; |
469 | 469 | $ignoreErrors[] = [ |
470 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart not found\\.$#', |
|
471 | - 'count' => 4, |
|
472 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
470 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart not found\\.$#', |
|
471 | + 'count' => 4, |
|
472 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
473 | 473 | ]; |
474 | 474 | $ignoreErrors[] = [ |
475 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
476 | - 'count' => 2, |
|
477 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
475 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
476 | + 'count' => 2, |
|
477 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
478 | 478 | ]; |
479 | 479 | $ignoreErrors[] = [ |
480 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
481 | - 'count' => 1, |
|
482 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
480 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
481 | + 'count' => 1, |
|
482 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
483 | 483 | ]; |
484 | 484 | $ignoreErrors[] = [ |
485 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
486 | - 'count' => 1, |
|
487 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
485 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
486 | + 'count' => 1, |
|
487 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
488 | 488 | ]; |
489 | 489 | $ignoreErrors[] = [ |
490 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
491 | - 'count' => 1, |
|
492 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
490 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
491 | + 'count' => 1, |
|
492 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
493 | 493 | ]; |
494 | 494 | $ignoreErrors[] = [ |
495 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
496 | - 'count' => 1, |
|
497 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
495 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
496 | + 'count' => 1, |
|
497 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
498 | 498 | ]; |
499 | 499 | $ignoreErrors[] = [ |
500 | - 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$request \\(BlitzPHP\\\\Http\\\\ServerRequest\\) does not accept Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\.$#', |
|
501 | - 'count' => 1, |
|
502 | - 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
500 | + 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$request \\(BlitzPHP\\\\Http\\\\ServerRequest\\) does not accept Psr\\\\Http\\\\Message\\\\ServerRequestInterface\\.$#', |
|
501 | + 'count' => 1, |
|
502 | + 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
503 | 503 | ]; |
504 | 504 | $ignoreErrors[] = [ |
505 | - 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$response \\(BlitzPHP\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#', |
|
506 | - 'count' => 4, |
|
507 | - 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
505 | + 'message' => '#^Property BlitzPHP\\\\Router\\\\Dispatcher\\:\\:\\$response \\(BlitzPHP\\\\Http\\\\Response\\) does not accept Psr\\\\Http\\\\Message\\\\ResponseInterface\\.$#', |
|
506 | + 'count' => 4, |
|
507 | + 'path' => __DIR__ . '/src/Router/Dispatcher.php', |
|
508 | 508 | ]; |
509 | 509 | $ignoreErrors[] = [ |
510 | - 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
511 | - 'count' => 1, |
|
512 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
510 | + 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
511 | + 'count' => 1, |
|
512 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
513 | 513 | ]; |
514 | 514 | $ignoreErrors[] = [ |
515 | - 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
516 | - 'count' => 1, |
|
517 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
515 | + 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
516 | + 'count' => 1, |
|
517 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
518 | 518 | ]; |
519 | 519 | $ignoreErrors[] = [ |
520 | - 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
521 | - 'count' => 1, |
|
522 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
520 | + 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
521 | + 'count' => 1, |
|
522 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
523 | 523 | ]; |
524 | 524 | $ignoreErrors[] = [ |
525 | - 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
526 | - 'count' => 1, |
|
527 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
525 | + 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
526 | + 'count' => 1, |
|
527 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
528 | 528 | ]; |
529 | 529 | $ignoreErrors[] = [ |
530 | - 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
531 | - 'count' => 1, |
|
532 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
530 | + 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
531 | + 'count' => 1, |
|
532 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
533 | 533 | ]; |
534 | 534 | $ignoreErrors[] = [ |
535 | - 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
536 | - 'count' => 1, |
|
537 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
535 | + 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
536 | + 'count' => 1, |
|
537 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
538 | 538 | ]; |
539 | 539 | $ignoreErrors[] = [ |
540 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
541 | - 'count' => 1, |
|
542 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
540 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
541 | + 'count' => 1, |
|
542 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
543 | 543 | ]; |
544 | 544 | $ignoreErrors[] = [ |
545 | - 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
546 | - 'count' => 1, |
|
547 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
545 | + 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
546 | + 'count' => 1, |
|
547 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
548 | 548 | ]; |
549 | 549 | $ignoreErrors[] = [ |
550 | - 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
551 | - 'count' => 1, |
|
552 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
550 | + 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
551 | + 'count' => 1, |
|
552 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
553 | 553 | ]; |
554 | 554 | $ignoreErrors[] = [ |
555 | - 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
556 | - 'count' => 1, |
|
557 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
555 | + 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
556 | + 'count' => 1, |
|
557 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
558 | 558 | ]; |
559 | 559 | $ignoreErrors[] = [ |
560 | - 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
561 | - 'count' => 1, |
|
562 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
560 | + 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
561 | + 'count' => 1, |
|
562 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
563 | 563 | ]; |
564 | 564 | $ignoreErrors[] = [ |
565 | - 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
566 | - 'count' => 1, |
|
567 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
565 | + 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
566 | + 'count' => 1, |
|
567 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
568 | 568 | ]; |
569 | 569 | $ignoreErrors[] = [ |
570 | - 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
571 | - 'count' => 1, |
|
572 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
570 | + 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
571 | + 'count' => 1, |
|
572 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
573 | 573 | ]; |
574 | 574 | $ignoreErrors[] = [ |
575 | - 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
576 | - 'count' => 1, |
|
577 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
575 | + 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
576 | + 'count' => 1, |
|
577 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
578 | 578 | ]; |
579 | 579 | $ignoreErrors[] = [ |
580 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
581 | - 'count' => 1, |
|
582 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
580 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
581 | + 'count' => 1, |
|
582 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
583 | 583 | ]; |
584 | 584 | $ignoreErrors[] = [ |
585 | - 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
586 | - 'count' => 2, |
|
587 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
585 | + 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
586 | + 'count' => 2, |
|
587 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
588 | 588 | ]; |
589 | 589 | $ignoreErrors[] = [ |
590 | - 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
591 | - 'count' => 1, |
|
592 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
590 | + 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
591 | + 'count' => 1, |
|
592 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
593 | 593 | ]; |
594 | 594 | $ignoreErrors[] = [ |
595 | - 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
596 | - 'count' => 1, |
|
597 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
595 | + 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
596 | + 'count' => 1, |
|
597 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
598 | 598 | ]; |
599 | 599 | $ignoreErrors[] = [ |
600 | - 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
601 | - 'count' => 1, |
|
602 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
600 | + 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
601 | + 'count' => 1, |
|
602 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
603 | 603 | ]; |
604 | 604 | $ignoreErrors[] = [ |
605 | - 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
606 | - 'count' => 1, |
|
607 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
605 | + 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
606 | + 'count' => 1, |
|
607 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
608 | 608 | ]; |
609 | 609 | $ignoreErrors[] = [ |
610 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
611 | - 'count' => 1, |
|
612 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
610 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
611 | + 'count' => 1, |
|
612 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
613 | 613 | ]; |
614 | 614 | $ignoreErrors[] = [ |
615 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
616 | - 'count' => 1, |
|
617 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
615 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
616 | + 'count' => 1, |
|
617 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
618 | 618 | ]; |
619 | 619 | $ignoreErrors[] = [ |
620 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
621 | - 'count' => 1, |
|
622 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
620 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
621 | + 'count' => 1, |
|
622 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
623 | 623 | ]; |
624 | 624 | $ignoreErrors[] = [ |
625 | - 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
626 | - 'count' => 1, |
|
627 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
625 | + 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
626 | + 'count' => 1, |
|
627 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
628 | 628 | ]; |
629 | 629 | $ignoreErrors[] = [ |
630 | - 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
631 | - 'count' => 1, |
|
632 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
630 | + 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
631 | + 'count' => 1, |
|
632 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
633 | 633 | ]; |
634 | 634 | $ignoreErrors[] = [ |
635 | - 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
636 | - 'count' => 1, |
|
637 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
635 | + 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
636 | + 'count' => 1, |
|
637 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
638 | 638 | ]; |
639 | 639 | $ignoreErrors[] = [ |
640 | - 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
641 | - 'count' => 1, |
|
642 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
640 | + 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
641 | + 'count' => 1, |
|
642 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
643 | 643 | ]; |
644 | 644 | $ignoreErrors[] = [ |
645 | - 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
646 | - 'count' => 1, |
|
647 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
645 | + 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
646 | + 'count' => 1, |
|
647 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
648 | 648 | ]; |
649 | 649 | $ignoreErrors[] = [ |
650 | - 'message' => '#^Call to method setCacheLifetime\\(\\) on an unknown class Smarty\\.$#', |
|
651 | - 'count' => 1, |
|
652 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
650 | + 'message' => '#^Call to method setCacheLifetime\\(\\) on an unknown class Smarty\\.$#', |
|
651 | + 'count' => 1, |
|
652 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
653 | 653 | ]; |
654 | 654 | $ignoreErrors[] = [ |
655 | - 'message' => '#^Call to method setCaching\\(\\) on an unknown class Smarty\\.$#', |
|
656 | - 'count' => 1, |
|
657 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
655 | + 'message' => '#^Call to method setCaching\\(\\) on an unknown class Smarty\\.$#', |
|
656 | + 'count' => 1, |
|
657 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
658 | 658 | ]; |
659 | 659 | $ignoreErrors[] = [ |
660 | - 'message' => '#^Call to method setCompileId\\(\\) on an unknown class Smarty\\.$#', |
|
661 | - 'count' => 1, |
|
662 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
660 | + 'message' => '#^Call to method setCompileId\\(\\) on an unknown class Smarty\\.$#', |
|
661 | + 'count' => 1, |
|
662 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
663 | 663 | ]; |
664 | 664 | $ignoreErrors[] = [ |
665 | - 'message' => '#^Call to method setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
666 | - 'count' => 1, |
|
667 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
665 | + 'message' => '#^Call to method setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
666 | + 'count' => 1, |
|
667 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
668 | 668 | ]; |
669 | 669 | $ignoreErrors[] = [ |
670 | - 'message' => '#^Class Smarty not found\\.$#', |
|
671 | - 'count' => 1, |
|
672 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
670 | + 'message' => '#^Class Smarty not found\\.$#', |
|
671 | + 'count' => 1, |
|
672 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
673 | 673 | ]; |
674 | 674 | $ignoreErrors[] = [ |
675 | - 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
676 | - 'count' => 1, |
|
677 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
675 | + 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
676 | + 'count' => 1, |
|
677 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
678 | 678 | ]; |
679 | 679 | $ignoreErrors[] = [ |
680 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
681 | - 'count' => 1, |
|
682 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
680 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
681 | + 'count' => 1, |
|
682 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
683 | 683 | ]; |
684 | 684 | $ignoreErrors[] = [ |
685 | - 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
686 | - 'count' => 1, |
|
687 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
685 | + 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
686 | + 'count' => 1, |
|
687 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
688 | 688 | ]; |
689 | 689 | $ignoreErrors[] = [ |
690 | - 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
691 | - 'count' => 1, |
|
692 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
690 | + 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
691 | + 'count' => 1, |
|
692 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
693 | 693 | ]; |
694 | 694 | $ignoreErrors[] = [ |
695 | - 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
696 | - 'count' => 1, |
|
697 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
695 | + 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
696 | + 'count' => 1, |
|
697 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
698 | 698 | ]; |
699 | 699 | $ignoreErrors[] = [ |
700 | - 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
701 | - 'count' => 1, |
|
702 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
700 | + 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
701 | + 'count' => 1, |
|
702 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
703 | 703 | ]; |
704 | 704 | $ignoreErrors[] = [ |
705 | - 'message' => '#^Call to method disableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
706 | - 'count' => 1, |
|
707 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
705 | + 'message' => '#^Call to method disableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
706 | + 'count' => 1, |
|
707 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
708 | 708 | ]; |
709 | 709 | $ignoreErrors[] = [ |
710 | - 'message' => '#^Call to method disableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
711 | - 'count' => 1, |
|
712 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
710 | + 'message' => '#^Call to method disableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
711 | + 'count' => 1, |
|
712 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
713 | 713 | ]; |
714 | 714 | $ignoreErrors[] = [ |
715 | - 'message' => '#^Call to method enableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
716 | - 'count' => 1, |
|
717 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
715 | + 'message' => '#^Call to method enableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
716 | + 'count' => 1, |
|
717 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
718 | 718 | ]; |
719 | 719 | $ignoreErrors[] = [ |
720 | - 'message' => '#^Call to method enableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
721 | - 'count' => 1, |
|
722 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
720 | + 'message' => '#^Call to method enableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
721 | + 'count' => 1, |
|
722 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
723 | 723 | ]; |
724 | 724 | $ignoreErrors[] = [ |
725 | - 'message' => '#^Call to method enableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
726 | - 'count' => 1, |
|
727 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
725 | + 'message' => '#^Call to method enableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
726 | + 'count' => 1, |
|
727 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
728 | 728 | ]; |
729 | 729 | $ignoreErrors[] = [ |
730 | - 'message' => '#^Call to method render\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
731 | - 'count' => 1, |
|
732 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
730 | + 'message' => '#^Call to method render\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
731 | + 'count' => 1, |
|
732 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
733 | 733 | ]; |
734 | 734 | $ignoreErrors[] = [ |
735 | - 'message' => '#^Call to method setCache\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
736 | - 'count' => 1, |
|
737 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
735 | + 'message' => '#^Call to method setCache\\(\\) 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 setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
741 | - 'count' => 1, |
|
742 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
740 | + 'message' => '#^Call to method setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
741 | + 'count' => 1, |
|
742 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
743 | 743 | ]; |
744 | 744 | $ignoreErrors[] = [ |
745 | - 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
746 | - 'count' => 1, |
|
747 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
745 | + 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
746 | + 'count' => 1, |
|
747 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
748 | 748 | ]; |
749 | 749 | $ignoreErrors[] = [ |
750 | - 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
751 | - 'count' => 1, |
|
752 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
750 | + 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
751 | + 'count' => 1, |
|
752 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
753 | 753 | ]; |
754 | 754 | $ignoreErrors[] = [ |
755 | - 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
756 | - 'count' => 1, |
|
757 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
755 | + 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
756 | + 'count' => 1, |
|
757 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
758 | 758 | ]; |
759 | 759 | $ignoreErrors[] = [ |
760 | - 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
761 | - 'count' => 1, |
|
762 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
760 | + 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
761 | + 'count' => 1, |
|
762 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
763 | 763 | ]; |
764 | 764 | $ignoreErrors[] = [ |
765 | - 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
766 | - 'count' => 1, |
|
767 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
765 | + 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
766 | + 'count' => 1, |
|
767 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
768 | 768 | ]; |
769 | 769 | $ignoreErrors[] = [ |
770 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
771 | - 'count' => 1, |
|
772 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
770 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
771 | + 'count' => 1, |
|
772 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
773 | 773 | ]; |
774 | 774 | $ignoreErrors[] = [ |
775 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
776 | - 'count' => 1, |
|
777 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
775 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
776 | + 'count' => 1, |
|
777 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
778 | 778 | ]; |
779 | 779 | $ignoreErrors[] = [ |
780 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
781 | - 'count' => 1, |
|
782 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
780 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
781 | + 'count' => 1, |
|
782 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
783 | 783 | ]; |
784 | 784 | $ignoreErrors[] = [ |
785 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
786 | - 'count' => 1, |
|
787 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
785 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
786 | + 'count' => 1, |
|
787 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
788 | 788 | ]; |
789 | 789 | $ignoreErrors[] = [ |
790 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
791 | - 'count' => 1, |
|
792 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
790 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
791 | + 'count' => 1, |
|
792 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
793 | 793 | ]; |
794 | 794 | |
795 | 795 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function exists(string $key): bool |
57 | 57 | { |
58 | - if (! $this->configurator->exists($key)) { |
|
58 | + if (!$this->configurator->exists($key)) { |
|
59 | 59 | $config = explode('.', $key); |
60 | 60 | $this->load($config[0]); |
61 | 61 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function missing(string $key): bool |
80 | 80 | { |
81 | - return ! $this->exists($key); |
|
81 | + return !$this->exists($key); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | { |
121 | 121 | if (is_array($config)) { |
122 | 122 | foreach ($config as $key => $value) { |
123 | - if (! is_string($value) || empty($value)) { |
|
123 | + if (!is_string($value) || empty($value)) { |
|
124 | 124 | continue; |
125 | 125 | } |
126 | 126 | if (is_string($key)) { |
@@ -132,13 +132,13 @@ discard block |
||
132 | 132 | } |
133 | 133 | self::load($conf, $file); |
134 | 134 | } |
135 | - } elseif (is_string($config) && ! isset(self::$loaded[$config])) { |
|
135 | + } elseif (is_string($config) && !isset(self::$loaded[$config])) { |
|
136 | 136 | if (empty($file)) { |
137 | 137 | $file = self::path($config); |
138 | 138 | } |
139 | 139 | |
140 | 140 | $configurations = []; |
141 | - if (file_exists($file) && ! in_array($file, get_included_files(), true)) { |
|
141 | + if (file_exists($file) && !in_array($file, get_included_files(), true)) { |
|
142 | 142 | $configurations = (array) require $file; |
143 | 143 | } |
144 | 144 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | { |
166 | 166 | if (is_array($accepts_values)) { |
167 | 167 | $accepts_values = '(Accept values: ' . implode('/', $accepts_values) . ')'; |
168 | - } elseif (! is_string($accepts_values)) { |
|
168 | + } elseif (!is_string($accepts_values)) { |
|
169 | 169 | throw new InvalidArgumentException('Misuse of the method ' . __METHOD__); |
170 | 170 | } |
171 | 171 | |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $schema = require $app_schema; |
208 | 208 | } |
209 | 209 | |
210 | - if (empty($schema) || ! ($schema instanceof Schema)) { |
|
210 | + if (empty($schema) || !($schema instanceof Schema)) { |
|
211 | 211 | $schema = Expect::mixed(); |
212 | 212 | } |
213 | 213 | |
@@ -253,14 +253,14 @@ discard block |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | $class = new ReflectionClass($classname); |
256 | - $methods = $class->getMethods(ReflectionMethod::IS_STATIC | ReflectionMethod::IS_PUBLIC); |
|
256 | + $methods = $class->getMethods(ReflectionMethod::IS_STATIC|ReflectionMethod::IS_PUBLIC); |
|
257 | 257 | |
258 | 258 | foreach ($methods as $method) { |
259 | - if (! ($method->isPublic() && $method->isStatic())) { |
|
259 | + if (!($method->isPublic() && $method->isStatic())) { |
|
260 | 260 | continue; |
261 | 261 | } |
262 | 262 | |
263 | - if (! is_array($result = $method->invoke(null))) { |
|
263 | + if (!is_array($result = $method->invoke(null))) { |
|
264 | 264 | continue; |
265 | 265 | } |
266 | 266 | |
@@ -329,12 +329,12 @@ discard block |
||
329 | 329 | { |
330 | 330 | $config = $this->get('app.show_debugbar', 'auto'); |
331 | 331 | |
332 | - if (! in_array($config, ['auto', true, false], true)) { |
|
332 | + if (!in_array($config, ['auto', true, false], true)) { |
|
333 | 333 | self::exceptBadConfigValue('show_debugbar', ['auto', true, false], 'app'); |
334 | 334 | } |
335 | 335 | |
336 | 336 | if ($config === 'auto') { |
337 | - $this->set('app.show_debugbar', ! is_online()); |
|
337 | + $this->set('app.show_debugbar', !is_online()); |
|
338 | 338 | } |
339 | 339 | } |
340 | 340 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | { |
71 | 71 | helper('assets'); |
72 | 72 | |
73 | - if (! empty($viewPathLocator)) { |
|
73 | + if (!empty($viewPathLocator)) { |
|
74 | 74 | if (is_string($viewPathLocator)) { |
75 | 75 | $this->viewPath = rtrim($viewPathLocator, '\\/ ') . DS; |
76 | 76 | } elseif ($viewPathLocator instanceof LocatorInterface) { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | $options = (array) $options; |
236 | 236 | |
237 | 237 | $viewPath = $options['viewPath'] ?? $this->viewPath; |
238 | - if (! empty($viewPath)) { |
|
238 | + if (!empty($viewPath)) { |
|
239 | 239 | $file = str_replace('/', DS, rtrim($viewPath, '/\\') . DS . ltrim($view, '/\\')); |
240 | 240 | } else { |
241 | 241 | $file = $view; |
@@ -243,14 +243,14 @@ discard block |
||
243 | 243 | |
244 | 244 | $file = Helpers::ensureExt($file, $ext); |
245 | 245 | |
246 | - if (! is_file($file) && $this->locator instanceof LocatorInterface) { |
|
246 | + if (!is_file($file) && $this->locator instanceof LocatorInterface) { |
|
247 | 247 | $file = $this->locator->locateFile($view, 'Views', empty($ext) ? 'php' : $ext); |
248 | 248 | } |
249 | 249 | |
250 | 250 | $file = realpath($file); |
251 | 251 | |
252 | 252 | // locateFile renverra une chaîne vide si le fichier est introuvable. |
253 | - if (! is_file($file)) { |
|
253 | + if (!is_file($file)) { |
|
254 | 254 | throw ViewException::invalidFile($view); |
255 | 255 | } |
256 | 256 |
@@ -179,7 +179,7 @@ discard block |
||
179 | 179 | $controller = $routes->getDefaultController(); |
180 | 180 | } |
181 | 181 | |
182 | - if (! $fullName && is_string($controller)) { |
|
182 | + if (!$fullName && is_string($controller)) { |
|
183 | 183 | $controller = str_replace($routes->getDefaultNamespace(), '', $controller); |
184 | 184 | } |
185 | 185 | |
@@ -324,14 +324,14 @@ discard block |
||
324 | 324 | return; |
325 | 325 | } |
326 | 326 | |
327 | - if (is_cli() && ! on_test()) { |
|
327 | + if (is_cli() && !on_test()) { |
|
328 | 328 | // @codeCoverageIgnoreStart |
329 | 329 | // $this->request = Services::clirequest($this->config); |
330 | 330 | // @codeCoverageIgnoreEnd |
331 | 331 | } |
332 | 332 | |
333 | 333 | $version = $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.1'; |
334 | - if (! is_numeric($version)) { |
|
334 | + if (!is_numeric($version)) { |
|
335 | 335 | $version = substr($version, strpos($version, '/') + 1); |
336 | 336 | } |
337 | 337 | |
@@ -350,7 +350,7 @@ discard block |
||
350 | 350 | // Supposons le succès jusqu'à preuve du contraire. |
351 | 351 | $this->response = Services::response()->withStatus(200); |
352 | 352 | |
353 | - if (! is_cli() || on_test()) { |
|
353 | + if (!is_cli() || on_test()) { |
|
354 | 354 | } |
355 | 355 | |
356 | 356 | $this->response = $this->response->withProtocolVersion($this->request->getProtocolVersion()); |
@@ -464,7 +464,7 @@ discard block |
||
464 | 464 | */ |
465 | 465 | protected function determinePath(): string |
466 | 466 | { |
467 | - if (! empty($this->path)) { |
|
467 | + if (!empty($this->path)) { |
|
468 | 468 | return $this->path; |
469 | 469 | } |
470 | 470 | |
@@ -505,7 +505,7 @@ discard block |
||
505 | 505 | } |
506 | 506 | |
507 | 507 | // Essayez de charger automatiquement la classe |
508 | - if (! class_exists($this->controller, true) || ($this->method[0] === '_' && $this->method !== '__invoke')) { |
|
508 | + if (!class_exists($this->controller, true) || ($this->method[0] === '_' && $this->method !== '__invoke')) { |
|
509 | 509 | throw PageNotFoundException::controllerNotFound($this->controller, $this->method); |
510 | 510 | } |
511 | 511 | |
@@ -597,7 +597,7 @@ discard block |
||
597 | 597 | |
598 | 598 | $this->outputBufferingEnd(); |
599 | 599 | |
600 | - throw PageNotFoundException::pageNotFound(! on_prod() || is_cli() ? $e->getMessage() : ''); |
|
600 | + throw PageNotFoundException::pageNotFound(!on_prod() || is_cli() ? $e->getMessage() : ''); |
|
601 | 601 | } |
602 | 602 | |
603 | 603 | /** |
@@ -639,7 +639,7 @@ discard block |
||
639 | 639 | public function storePreviousURL($uri) |
640 | 640 | { |
641 | 641 | // Ignorer les requêtes CLI |
642 | - if (is_cli() && ! on_test()) { |
|
642 | + if (is_cli() && !on_test()) { |
|
643 | 643 | return; // @codeCoverageIgnore |
644 | 644 | } |
645 | 645 | |
@@ -649,7 +649,7 @@ discard block |
||
649 | 649 | } |
650 | 650 | |
651 | 651 | // Ignorer les reponses non-HTML |
652 | - if (! str_contains($this->response->getHeaderLine('Content-Type'), 'text/html')) { |
|
652 | + if (!str_contains($this->response->getHeaderLine('Content-Type'), 'text/html')) { |
|
653 | 653 | return; |
654 | 654 | } |
655 | 655 | |
@@ -761,11 +761,11 @@ discard block |
||
761 | 761 | */ |
762 | 762 | private function spoofRequestMethod(): callable |
763 | 763 | { |
764 | - return static function (ServerRequestInterface $request, ResponseInterface $response, callable $next) { |
|
764 | + return static function(ServerRequestInterface $request, ResponseInterface $response, callable $next) { |
|
765 | 765 | $post = $request->getParsedBody(); |
766 | 766 | |
767 | 767 | // Ne fonctionne qu'avec les formulaires POST |
768 | - if (strtoupper($request->getMethod()) === 'POST' && ! empty($post['_method'])) { |
|
768 | + if (strtoupper($request->getMethod()) === 'POST' && !empty($post['_method'])) { |
|
769 | 769 | // Accepte seulement PUT, PATCH, DELETE |
770 | 770 | if (in_array(strtoupper($post['_method']), ['PUT', 'PATCH', 'DELETE'], true)) { |
771 | 771 | $request = $request->withMethod($post['_method']); |
@@ -778,15 +778,15 @@ discard block |
||
778 | 778 | |
779 | 779 | private function bootApp(): callable |
780 | 780 | { |
781 | - return function (ServerRequestInterface $request, ResponseInterface $response, callable $next): ResponseInterface { |
|
781 | + return function(ServerRequestInterface $request, ResponseInterface $response, callable $next): ResponseInterface { |
|
782 | 782 | try { |
783 | 783 | $returned = $this->startController($request, $response); |
784 | 784 | |
785 | 785 | // Closure controller has run in startController(). |
786 | - if (! is_callable($this->controller)) { |
|
786 | + if (!is_callable($this->controller)) { |
|
787 | 787 | $controller = $this->createController($request, $response); |
788 | 788 | |
789 | - if (! method_exists($controller, '_remap') && ! is_callable([$controller, $this->method], false)) { |
|
789 | + if (!method_exists($controller, '_remap') && !is_callable([$controller, $this->method], false)) { |
|
790 | 790 | throw PageNotFoundException::methodNotFound($this->method); |
791 | 791 | } |
792 | 792 |