@@ -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 | } |
@@ -234,7 +234,7 @@ discard block |
||
| 234 | 234 | $this->cookies = $config['cookies']; |
| 235 | 235 | |
| 236 | 236 | if (isset($config['uri'])) { |
| 237 | - if (! $config['uri'] instanceof UriInterface) { |
|
| 237 | + if (!$config['uri'] instanceof UriInterface) { |
|
| 238 | 238 | throw new FrameworkException('The `uri` key must be an instance of ' . UriInterface::class); |
| 239 | 239 | } |
| 240 | 240 | $uri = $config['uri']; |
@@ -437,7 +437,7 @@ discard block |
||
| 437 | 437 | } |
| 438 | 438 | |
| 439 | 439 | $type = strtolower($type); |
| 440 | - if (! isset(static::$_detectors[$type])) { |
|
| 440 | + if (!isset(static::$_detectors[$type])) { |
|
| 441 | 441 | return false; |
| 442 | 442 | } |
| 443 | 443 | if ($args) { |
@@ -589,7 +589,7 @@ discard block |
||
| 589 | 589 | public function isAll(array $types): bool |
| 590 | 590 | { |
| 591 | 591 | foreach ($types as $type) { |
| 592 | - if (! $this->is($type)) { |
|
| 592 | + if (!$this->is($type)) { |
|
| 593 | 593 | return false; |
| 594 | 594 | } |
| 595 | 595 | } |
@@ -693,7 +693,7 @@ discard block |
||
| 693 | 693 | protected function normalizeHeaderName(string $name): string |
| 694 | 694 | { |
| 695 | 695 | $name = str_replace('-', '_', strtoupper($name)); |
| 696 | - if (! in_array($name, ['CONTENT_LENGTH', 'CONTENT_TYPE'], true)) { |
|
| 696 | + if (!in_array($name, ['CONTENT_LENGTH', 'CONTENT_TYPE'], true)) { |
|
| 697 | 697 | $name = 'HTTP_' . $name; |
| 698 | 698 | } |
| 699 | 699 | |
@@ -871,7 +871,7 @@ discard block |
||
| 871 | 871 | { |
| 872 | 872 | $new = clone $this; |
| 873 | 873 | |
| 874 | - if (! preg_match('/^[!#$%&\'*+.^_`\|~0-9a-z-]+$/i', $method)) { |
|
| 874 | + if (!preg_match('/^[!#$%&\'*+.^_`\|~0-9a-z-]+$/i', $method)) { |
|
| 875 | 875 | throw new InvalidArgumentException(sprintf( |
| 876 | 876 | 'Méthode HTTP non prise en charge "%s" fournie', |
| 877 | 877 | $method |
@@ -1114,7 +1114,7 @@ discard block |
||
| 1114 | 1114 | } |
| 1115 | 1115 | } |
| 1116 | 1116 | |
| 1117 | - if (! isset($accept[$prefValue])) { |
|
| 1117 | + if (!isset($accept[$prefValue])) { |
|
| 1118 | 1118 | $accept[$prefValue] = []; |
| 1119 | 1119 | } |
| 1120 | 1120 | if ($prefValue) { |
@@ -1192,7 +1192,7 @@ discard block |
||
| 1192 | 1192 | if ($name === null) { |
| 1193 | 1193 | return $this->data; |
| 1194 | 1194 | } |
| 1195 | - if (! is_array($this->data)) { |
|
| 1195 | + if (!is_array($this->data)) { |
|
| 1196 | 1196 | return $default; |
| 1197 | 1197 | } |
| 1198 | 1198 | |
@@ -1332,7 +1332,7 @@ discard block |
||
| 1332 | 1332 | */ |
| 1333 | 1333 | public function withProtocolVersion(string $version): static |
| 1334 | 1334 | { |
| 1335 | - if (! preg_match('/^(1\.[01]|2(\.[0])?)$/', $version)) { |
|
| 1335 | + if (!preg_match('/^(1\.[01]|2(\.[0])?)$/', $version)) { |
|
| 1336 | 1336 | throw new InvalidArgumentException(sprintf('Version de protocole `%s` non prise en charge fournie.', $version)); |
| 1337 | 1337 | } |
| 1338 | 1338 | $new = clone $this; |
@@ -1354,7 +1354,7 @@ discard block |
||
| 1354 | 1354 | public function getEnv(string $key, ?string $default = null): ?string |
| 1355 | 1355 | { |
| 1356 | 1356 | $key = strtoupper($key); |
| 1357 | - if (! array_key_exists($key, $this->_environment)) { |
|
| 1357 | + if (!array_key_exists($key, $this->_environment)) { |
|
| 1358 | 1358 | $this->_environment[$key] = env($key); |
| 1359 | 1359 | } |
| 1360 | 1360 | |
@@ -1571,7 +1571,7 @@ discard block |
||
| 1571 | 1571 | $file = Arr::get($this->uploadedFiles, $path); |
| 1572 | 1572 | if (is_array($file)) { |
| 1573 | 1573 | foreach ($file as $f) { |
| 1574 | - if (! ($f instanceof UploadedFile)) { |
|
| 1574 | + if (!($f instanceof UploadedFile)) { |
|
| 1575 | 1575 | return null; |
| 1576 | 1576 | } |
| 1577 | 1577 | } |
@@ -1579,7 +1579,7 @@ discard block |
||
| 1579 | 1579 | return $file; |
| 1580 | 1580 | } |
| 1581 | 1581 | |
| 1582 | - if (! ($file instanceof UploadedFileInterface)) { |
|
| 1582 | + if (!($file instanceof UploadedFileInterface)) { |
|
| 1583 | 1583 | return null; |
| 1584 | 1584 | } |
| 1585 | 1585 | |
@@ -1627,7 +1627,7 @@ discard block |
||
| 1627 | 1627 | continue; |
| 1628 | 1628 | } |
| 1629 | 1629 | |
| 1630 | - if (! $file instanceof UploadedFileInterface) { |
|
| 1630 | + if (!$file instanceof UploadedFileInterface) { |
|
| 1631 | 1631 | throw new InvalidArgumentException("Fichier invalide à '{$path}{$key}'"); |
| 1632 | 1632 | } |
| 1633 | 1633 | } |
@@ -1678,7 +1678,7 @@ discard block |
||
| 1678 | 1678 | } |
| 1679 | 1679 | |
| 1680 | 1680 | $host = $uri->getHost(); |
| 1681 | - if (! $host) { |
|
| 1681 | + if (!$host) { |
|
| 1682 | 1682 | return $new; |
| 1683 | 1683 | } |
| 1684 | 1684 | $port = $uri->getPort(); |
@@ -1786,7 +1786,7 @@ discard block |
||
| 1786 | 1786 | $validLocales = config('app.supported_locales'); |
| 1787 | 1787 | // S'il ne s'agit pas d'un paramètre régional valide, définissez-le |
| 1788 | 1788 | // aux paramètres régionaux par défaut du site. |
| 1789 | - if (! in_array($locale, $validLocales, true)) { |
|
| 1789 | + if (!in_array($locale, $validLocales, true)) { |
|
| 1790 | 1790 | $locale = config('app.language'); |
| 1791 | 1791 | } |
| 1792 | 1792 | |
@@ -1886,7 +1886,7 @@ discard block |
||
| 1886 | 1886 | $override = true; |
| 1887 | 1887 | } |
| 1888 | 1888 | |
| 1889 | - if ($override && ! in_array($this->_environment['REQUEST_METHOD'], ['PUT', 'POST', 'DELETE', 'PATCH'], true)) { |
|
| 1889 | + if ($override && !in_array($this->_environment['REQUEST_METHOD'], ['PUT', 'POST', 'DELETE', 'PATCH'], true)) { |
|
| 1890 | 1890 | $data = []; |
| 1891 | 1891 | } |
| 1892 | 1892 | |
@@ -1936,7 +1936,7 @@ discard block |
||
| 1936 | 1936 | */ |
| 1937 | 1937 | protected function _processFiles(array $post, array $files): array |
| 1938 | 1938 | { |
| 1939 | - if (! is_array($files)) { |
|
| 1939 | + if (!is_array($files)) { |
|
| 1940 | 1940 | return $post; |
| 1941 | 1941 | } |
| 1942 | 1942 | |
@@ -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 | |
@@ -24,7 +24,7 @@ discard block |
||
| 24 | 24 | |
| 25 | 25 | // ================================= FONCTIONS UTIILITAIRES ESSENTIELLES ================================= // |
| 26 | 26 | |
| 27 | -if (! function_exists('env')) { |
|
| 27 | +if (!function_exists('env')) { |
|
| 28 | 28 | /** |
| 29 | 29 | * Obtient une variable d'environnement à partir des sources disponibles et fournit une émulation |
| 30 | 30 | * pour les variables d'environnement non prises en charge ou incohérentes |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | } |
| 41 | 41 | } |
| 42 | 42 | |
| 43 | -if (! function_exists('helper')) { |
|
| 43 | +if (!function_exists('helper')) { |
|
| 44 | 44 | /** |
| 45 | 45 | * Charge un fichier d'aide en mémoire. Prend en charge les assistants d'espace de noms, |
| 46 | 46 | * à la fois dans et hors du répertoire 'helpers' d'un répertoire à espace de noms. |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | } |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | -if (! function_exists('model')) { |
|
| 59 | +if (!function_exists('model')) { |
|
| 60 | 60 | /** |
| 61 | 61 | * Simple maniere d'obtenir un modele. |
| 62 | 62 | * |
@@ -66,13 +66,13 @@ discard block |
||
| 66 | 66 | * |
| 67 | 67 | * @return T |
| 68 | 68 | */ |
| 69 | - function model(array|string $name, ?ConnectionInterface &$conn = null) |
|
| 69 | + function model(array|string $name, ?ConnectionInterface&$conn = null) |
|
| 70 | 70 | { |
| 71 | 71 | return Load::model($name, $conn); |
| 72 | 72 | } |
| 73 | 73 | } |
| 74 | 74 | |
| 75 | -if (! function_exists('service')) { |
|
| 75 | +if (!function_exists('service')) { |
|
| 76 | 76 | /** |
| 77 | 77 | * Permet un accès plus propre au fichier de configuration des services. |
| 78 | 78 | * Renvoie toujours une instance SHARED de la classe, donc |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | } |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | -if (! function_exists('single_service')) { |
|
| 92 | +if (!function_exists('single_service')) { |
|
| 93 | 93 | /** |
| 94 | 94 | * Autoriser l'accès propre à un service. |
| 95 | 95 | * Renvoie toujours une nouvelle instance de la classe. |
@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | } |
| 104 | 104 | } |
| 105 | 105 | |
| 106 | -if (! function_exists('show404')) { |
|
| 106 | +if (!function_exists('show404')) { |
|
| 107 | 107 | /** |
| 108 | 108 | * Afficher une page 404 introuvable dans le navigateur |
| 109 | 109 | */ |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | } |
| 114 | 114 | } |
| 115 | 115 | |
| 116 | -if (! function_exists('config')) { |
|
| 116 | +if (!function_exists('config')) { |
|
| 117 | 117 | /** |
| 118 | 118 | * GET/SET App config |
| 119 | 119 | * |
@@ -141,7 +141,7 @@ discard block |
||
| 141 | 141 | } |
| 142 | 142 | } |
| 143 | 143 | |
| 144 | -if (! function_exists('logger')) { |
|
| 144 | +if (!function_exists('logger')) { |
|
| 145 | 145 | /** |
| 146 | 146 | * Une méthode de commodité pour les événements de journalisation via le système Log. |
| 147 | 147 | * |
@@ -171,7 +171,7 @@ discard block |
||
| 171 | 171 | } |
| 172 | 172 | } |
| 173 | 173 | |
| 174 | -if (! function_exists('cache')) { |
|
| 174 | +if (!function_exists('cache')) { |
|
| 175 | 175 | /** |
| 176 | 176 | * Une méthode pratique qui donne accès au cache |
| 177 | 177 | * objet. Si aucun paramètre n'est fourni, renverra l'objet, |
@@ -201,7 +201,7 @@ discard block |
||
| 201 | 201 | } |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | -if (! function_exists('session')) { |
|
| 204 | +if (!function_exists('session')) { |
|
| 205 | 205 | /** |
| 206 | 206 | * Une méthode pratique pour accéder à l'instance de session, ou un élément qui a été défini dans la session. |
| 207 | 207 | * |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | |
| 227 | 227 | // =========================== FONCTIONS DE PREVENTION D'ATTAQUE =========================== // |
| 228 | 228 | |
| 229 | -if (! function_exists('esc')) { |
|
| 229 | +if (!function_exists('esc')) { |
|
| 230 | 230 | /** |
| 231 | 231 | * Effectue un simple échappement automatique des données pour des raisons de sécurité. |
| 232 | 232 | * Pourrait envisager de rendre cela plus complexe à une date ultérieure. |
@@ -253,7 +253,7 @@ discard block |
||
| 253 | 253 | } |
| 254 | 254 | } |
| 255 | 255 | |
| 256 | -if (! function_exists('h')) { |
|
| 256 | +if (!function_exists('h')) { |
|
| 257 | 257 | /** |
| 258 | 258 | * Méthode pratique pour htmlspecialchars. |
| 259 | 259 | * |
@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | } |
| 273 | 273 | } |
| 274 | 274 | |
| 275 | -if (! function_exists('purify')) { |
|
| 275 | +if (!function_exists('purify')) { |
|
| 276 | 276 | /** |
| 277 | 277 | * Purifiez l'entrée à l'aide de la classe autonome HTMLPurifier. |
| 278 | 278 | * Utilisez facilement plusieurs configurations de purificateur. |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | } |
| 289 | 289 | } |
| 290 | 290 | |
| 291 | -if (! function_exists('remove_invisible_characters')) { |
|
| 291 | +if (!function_exists('remove_invisible_characters')) { |
|
| 292 | 292 | /** |
| 293 | 293 | * Supprimer les caractères invisibles |
| 294 | 294 | * |
@@ -301,7 +301,7 @@ discard block |
||
| 301 | 301 | } |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | -if (! function_exists('stringify_attributes')) { |
|
| 304 | +if (!function_exists('stringify_attributes')) { |
|
| 305 | 305 | /** |
| 306 | 306 | * Chaîner les attributs à utiliser dans les balises HTML. |
| 307 | 307 | * |
@@ -315,7 +315,7 @@ discard block |
||
| 315 | 315 | |
| 316 | 316 | // ================================= FONCTIONS D'ENVIRONNEMENT D'EXECUTION ================================= // |
| 317 | 317 | |
| 318 | -if (! function_exists('environment')) { |
|
| 318 | +if (!function_exists('environment')) { |
|
| 319 | 319 | /** |
| 320 | 320 | * Renvoi l'environnement d'execution actuel ou determine si on est dans un environnement specifie |
| 321 | 321 | * |
@@ -353,7 +353,7 @@ discard block |
||
| 353 | 353 | } |
| 354 | 354 | } |
| 355 | 355 | |
| 356 | -if (! function_exists('on_dev')) { |
|
| 356 | +if (!function_exists('on_dev')) { |
|
| 357 | 357 | /** |
| 358 | 358 | * Testez pour voir si nous sommes dans un environnement de développement. |
| 359 | 359 | */ |
@@ -367,7 +367,7 @@ discard block |
||
| 367 | 367 | } |
| 368 | 368 | } |
| 369 | 369 | |
| 370 | -if (! function_exists('on_prod')) { |
|
| 370 | +if (!function_exists('on_prod')) { |
|
| 371 | 371 | /** |
| 372 | 372 | * Testez pour voir si nous sommes dans un environnement de production. |
| 373 | 373 | */ |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | } |
| 382 | 382 | } |
| 383 | 383 | |
| 384 | -if (! function_exists('on_test')) { |
|
| 384 | +if (!function_exists('on_test')) { |
|
| 385 | 385 | /** |
| 386 | 386 | * Testez pour voir si nous sommes dans un environnement de test |
| 387 | 387 | */ |
@@ -391,7 +391,7 @@ discard block |
||
| 391 | 391 | } |
| 392 | 392 | } |
| 393 | 393 | |
| 394 | -if (! function_exists('is_cli')) { |
|
| 394 | +if (!function_exists('is_cli')) { |
|
| 395 | 395 | /** |
| 396 | 396 | * Testez pour voir si une demande a été faite à partir de la ligne de commande. |
| 397 | 397 | */ |
@@ -401,7 +401,7 @@ discard block |
||
| 401 | 401 | } |
| 402 | 402 | } |
| 403 | 403 | |
| 404 | -if (! function_exists('is_php')) { |
|
| 404 | +if (!function_exists('is_php')) { |
|
| 405 | 405 | /** |
| 406 | 406 | * Détermine si la version actuelle de PHP est égale ou supérieure à la valeur fournie. |
| 407 | 407 | */ |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | } |
| 412 | 412 | } |
| 413 | 413 | |
| 414 | -if (! function_exists('is_windows')) { |
|
| 414 | +if (!function_exists('is_windows')) { |
|
| 415 | 415 | /** |
| 416 | 416 | * Déterminez si l'environnement actuel est basé sur Windows. |
| 417 | 417 | */ |
@@ -421,7 +421,7 @@ discard block |
||
| 421 | 421 | } |
| 422 | 422 | } |
| 423 | 423 | |
| 424 | -if (! function_exists('is_https')) { |
|
| 424 | +if (!function_exists('is_https')) { |
|
| 425 | 425 | /** |
| 426 | 426 | * Determines if the application is accessed via an encrypted * (HTTPS) connection. |
| 427 | 427 | */ |
@@ -431,7 +431,7 @@ discard block |
||
| 431 | 431 | } |
| 432 | 432 | } |
| 433 | 433 | |
| 434 | -if (! function_exists('is_localfile')) { |
|
| 434 | +if (!function_exists('is_localfile')) { |
|
| 435 | 435 | /** |
| 436 | 436 | * Vérifiez si le fichier auquel vous souhaitez accéder est un fichier local de votre application ou non |
| 437 | 437 | */ |
@@ -441,11 +441,11 @@ discard block |
||
| 441 | 441 | return true; |
| 442 | 442 | } |
| 443 | 443 | |
| 444 | - return ! preg_match('#^(https?://)#i', $name); |
|
| 444 | + return !preg_match('#^(https?://)#i', $name); |
|
| 445 | 445 | } |
| 446 | 446 | } |
| 447 | 447 | |
| 448 | -if (! function_exists('is_online')) { |
|
| 448 | +if (!function_exists('is_online')) { |
|
| 449 | 449 | /** |
| 450 | 450 | * Tester si l'application s'exécute en local ou en ligne. |
| 451 | 451 | */ |
@@ -455,7 +455,7 @@ discard block |
||
| 455 | 455 | } |
| 456 | 456 | } |
| 457 | 457 | |
| 458 | -if (! function_exists('is_connected')) { |
|
| 458 | +if (!function_exists('is_connected')) { |
|
| 459 | 459 | /** |
| 460 | 460 | * Verifie si l'utilisateur a une connexion internet active. |
| 461 | 461 | */ |
@@ -465,7 +465,7 @@ discard block |
||
| 465 | 465 | } |
| 466 | 466 | } |
| 467 | 467 | |
| 468 | -if (! function_exists('is_ajax_request')) { |
|
| 468 | +if (!function_exists('is_ajax_request')) { |
|
| 469 | 469 | /** |
| 470 | 470 | * Testez pour voir si une requête contient l'en-tête HTTP_X_REQUESTED_WITH. |
| 471 | 471 | */ |
@@ -475,7 +475,7 @@ discard block |
||
| 475 | 475 | } |
| 476 | 476 | } |
| 477 | 477 | |
| 478 | -if (! function_exists('redirection')) { |
|
| 478 | +if (!function_exists('redirection')) { |
|
| 479 | 479 | /** |
| 480 | 480 | * Redirige l'utilisateur |
| 481 | 481 | */ |
@@ -489,7 +489,7 @@ discard block |
||
| 489 | 489 | } |
| 490 | 490 | } |
| 491 | 491 | |
| 492 | -if (! function_exists('redirect')) { |
|
| 492 | +if (!function_exists('redirect')) { |
|
| 493 | 493 | /** |
| 494 | 494 | * Méthode pratique qui fonctionne avec la $request globale actuelle et |
| 495 | 495 | * l'instance $router à rediriger à l'aide de routes nommées et le routage inversé |
@@ -503,7 +503,7 @@ discard block |
||
| 503 | 503 | { |
| 504 | 504 | $redirection = Services::redirection(); |
| 505 | 505 | |
| 506 | - if (! empty($uri)) { |
|
| 506 | + if (!empty($uri)) { |
|
| 507 | 507 | return $redirection->route($uri); |
| 508 | 508 | } |
| 509 | 509 | |
@@ -511,7 +511,7 @@ discard block |
||
| 511 | 511 | } |
| 512 | 512 | } |
| 513 | 513 | |
| 514 | -if (! function_exists('back')) { |
|
| 514 | +if (!function_exists('back')) { |
|
| 515 | 515 | /** |
| 516 | 516 | * Retourne a la page precedente |
| 517 | 517 | * |
@@ -523,7 +523,7 @@ discard block |
||
| 523 | 523 | } |
| 524 | 524 | } |
| 525 | 525 | |
| 526 | -if (! function_exists('link_to')) { |
|
| 526 | +if (!function_exists('link_to')) { |
|
| 527 | 527 | /** |
| 528 | 528 | * Étant donné une chaîne de contrôleur/méthode et tous les paramètres, |
| 529 | 529 | * tentera de créer l'URL relative à la route correspondante. |
@@ -543,7 +543,7 @@ discard block |
||
| 543 | 543 | } |
| 544 | 544 | } |
| 545 | 545 | |
| 546 | -if (! function_exists('clean_path')) { |
|
| 546 | +if (!function_exists('clean_path')) { |
|
| 547 | 547 | /** |
| 548 | 548 | * Une méthode pratique pour nettoyer les chemins pour |
| 549 | 549 | * une sortie plus belle. Utile pour les exceptions |
@@ -575,7 +575,7 @@ discard block |
||
| 575 | 575 | } |
| 576 | 576 | } |
| 577 | 577 | |
| 578 | -if (! function_exists('old')) { |
|
| 578 | +if (!function_exists('old')) { |
|
| 579 | 579 | /** |
| 580 | 580 | * Fournit l'accès à "entrée ancienne" qui a été définie dans la session lors d'un redirect()-withInput(). |
| 581 | 581 | * |
@@ -588,7 +588,7 @@ discard block |
||
| 588 | 588 | function old(string $key, $default = null, $escape = 'html') |
| 589 | 589 | { |
| 590 | 590 | // Assurez-vous de charger la session |
| 591 | - if (session_status() === PHP_SESSION_NONE && ! on_test()) { |
|
| 591 | + if (session_status() === PHP_SESSION_NONE && !on_test()) { |
|
| 592 | 592 | session(); // @codeCoverageIgnore |
| 593 | 593 | } |
| 594 | 594 | |
@@ -603,7 +603,7 @@ discard block |
||
| 603 | 603 | |
| 604 | 604 | // ================================= FONCTIONS DE DEBOGAGE ================================= // |
| 605 | 605 | |
| 606 | -if (! function_exists('deprecationWarning')) { |
|
| 606 | +if (!function_exists('deprecationWarning')) { |
|
| 607 | 607 | /** |
| 608 | 608 | * Méthode d'assistance pour générer des avertissements d'obsolescence |
| 609 | 609 | * |
@@ -619,7 +619,7 @@ discard block |
||
| 619 | 619 | } |
| 620 | 620 | } |
| 621 | 621 | |
| 622 | -if (! function_exists('pr')) { |
|
| 622 | +if (!function_exists('pr')) { |
|
| 623 | 623 | /** |
| 624 | 624 | * print_r() convenience function. |
| 625 | 625 | * |
@@ -641,7 +641,7 @@ discard block |
||
| 641 | 641 | } |
| 642 | 642 | } |
| 643 | 643 | |
| 644 | -if (! function_exists('pj')) { |
|
| 644 | +if (!function_exists('pj')) { |
|
| 645 | 645 | /** |
| 646 | 646 | * json pretty print convenience function. |
| 647 | 647 | * |
@@ -662,7 +662,7 @@ discard block |
||
| 662 | 662 | } |
| 663 | 663 | } |
| 664 | 664 | |
| 665 | -if (! function_exists('trigger_warning')) { |
|
| 665 | +if (!function_exists('trigger_warning')) { |
|
| 666 | 666 | /** |
| 667 | 667 | * Déclenche un E_USER_WARNING. |
| 668 | 668 | */ |
@@ -674,7 +674,7 @@ discard block |
||
| 674 | 674 | |
| 675 | 675 | // ================================= FONCTIONS DIVERSES ================================= // |
| 676 | 676 | |
| 677 | -if (! function_exists('force_https')) { |
|
| 677 | +if (!function_exists('force_https')) { |
|
| 678 | 678 | /** |
| 679 | 679 | * Utilisé pour forcer l'accès à une page via HTTPS. |
| 680 | 680 | * Utilise une redirection standard, plus définira l'en-tête HSTS |
@@ -732,7 +732,7 @@ discard block |
||
| 732 | 732 | } |
| 733 | 733 | } |
| 734 | 734 | |
| 735 | -if (! function_exists('get_type_name')) { |
|
| 735 | +if (!function_exists('get_type_name')) { |
|
| 736 | 736 | /** |
| 737 | 737 | * Renvoie la classe d'objets ou le type var de ce n'est pas un objet |
| 738 | 738 | * |
@@ -746,7 +746,7 @@ discard block |
||
| 746 | 746 | } |
| 747 | 747 | } |
| 748 | 748 | |
| 749 | -if (! function_exists('ip_address')) { |
|
| 749 | +if (!function_exists('ip_address')) { |
|
| 750 | 750 | /** |
| 751 | 751 | * Renvoie l'adresse IP de l'utilisateur actuel |
| 752 | 752 | */ |
@@ -756,7 +756,7 @@ discard block |
||
| 756 | 756 | } |
| 757 | 757 | } |
| 758 | 758 | |
| 759 | -if (! function_exists('is_really_writable')) { |
|
| 759 | +if (!function_exists('is_really_writable')) { |
|
| 760 | 760 | /** |
| 761 | 761 | * Tests d'inscriptibilité des fichiers |
| 762 | 762 | */ |
@@ -766,7 +766,7 @@ discard block |
||
| 766 | 766 | } |
| 767 | 767 | } |
| 768 | 768 | |
| 769 | -if (! function_exists('lang')) { |
|
| 769 | +if (!function_exists('lang')) { |
|
| 770 | 770 | /** |
| 771 | 771 | * Une méthode pratique pour traduire une chaîne ou un tableau d'entrées et formater |
| 772 | 772 | * le résultat avec le MessageFormatter de l'extension intl. |
@@ -777,7 +777,7 @@ discard block |
||
| 777 | 777 | } |
| 778 | 778 | } |
| 779 | 779 | |
| 780 | -if (! function_exists('__')) { |
|
| 780 | +if (!function_exists('__')) { |
|
| 781 | 781 | /** |
| 782 | 782 | * Une méthode pratique pour traduire une chaîne ou un tableau d'entrées et formater |
| 783 | 783 | * le résultat avec le MessageFormatter de l'extension intl. |
@@ -790,7 +790,7 @@ discard block |
||
| 790 | 790 | } |
| 791 | 791 | } |
| 792 | 792 | |
| 793 | -if (! function_exists('namespace_split')) { |
|
| 793 | +if (!function_exists('namespace_split')) { |
|
| 794 | 794 | /** |
| 795 | 795 | * Séparez l'espace de noms du nom de classe. |
| 796 | 796 | * |
@@ -811,7 +811,7 @@ discard block |
||
| 811 | 811 | } |
| 812 | 812 | } |
| 813 | 813 | |
| 814 | -if (! function_exists('view_exist')) { |
|
| 814 | +if (!function_exists('view_exist')) { |
|
| 815 | 815 | /** |
| 816 | 816 | * Verifie si un fichier de vue existe. Utile pour limiter les failles include |
| 817 | 817 | */ |
@@ -825,7 +825,7 @@ discard block |
||
| 825 | 825 | } |
| 826 | 826 | } |
| 827 | 827 | |
| 828 | -if (! function_exists('view')) { |
|
| 828 | +if (!function_exists('view')) { |
|
| 829 | 829 | /** |
| 830 | 830 | * Charge une vue |
| 831 | 831 | * |
@@ -841,7 +841,7 @@ discard block |
||
| 841 | 841 | } |
| 842 | 842 | } |
| 843 | 843 | |
| 844 | -if (! function_exists('flash')) { |
|
| 844 | +if (!function_exists('flash')) { |
|
| 845 | 845 | /** |
| 846 | 846 | * Fournisseur d'acces rapide a la classe PHP Flash |
| 847 | 847 | * |
@@ -873,7 +873,7 @@ discard block |
||
| 873 | 873 | }*/ |
| 874 | 874 | } |
| 875 | 875 | |
| 876 | -if (! function_exists('geo_ip')) { |
|
| 876 | +if (!function_exists('geo_ip')) { |
|
| 877 | 877 | /** |
| 878 | 878 | * Recuperation des coordonnees (pays, ville, etc) d'un utilisateur en fonction de son ip |
| 879 | 879 | */ |
@@ -883,7 +883,7 @@ discard block |
||
| 883 | 883 | } |
| 884 | 884 | } |
| 885 | 885 | |
| 886 | -if (! function_exists('to_stream')) { |
|
| 886 | +if (!function_exists('to_stream')) { |
|
| 887 | 887 | /** |
| 888 | 888 | * Créez un nouveau flux basé sur le type d'entrée. |
| 889 | 889 | * |
@@ -904,7 +904,7 @@ discard block |
||
| 904 | 904 | } |
| 905 | 905 | } |
| 906 | 906 | |
| 907 | -if (! function_exists('value')) { |
|
| 907 | +if (!function_exists('value')) { |
|
| 908 | 908 | /** |
| 909 | 909 | * Renvoie la valeur par défaut de la valeur donnée. |
| 910 | 910 | */ |
@@ -914,7 +914,7 @@ discard block |
||
| 914 | 914 | } |
| 915 | 915 | } |
| 916 | 916 | |
| 917 | -if (! function_exists('collect')) { |
|
| 917 | +if (!function_exists('collect')) { |
|
| 918 | 918 | /** |
| 919 | 919 | * Créez une collection à partir de la valeur donnée. |
| 920 | 920 | */ |
@@ -924,7 +924,7 @@ discard block |
||
| 924 | 924 | } |
| 925 | 925 | } |
| 926 | 926 | |
| 927 | -if (! function_exists('with')) { |
|
| 927 | +if (!function_exists('with')) { |
|
| 928 | 928 | /** |
| 929 | 929 | * Renvoie la valeur donnée, éventuellement transmise via le rappel donné. |
| 930 | 930 | * |
@@ -936,7 +936,7 @@ discard block |
||
| 936 | 936 | } |
| 937 | 937 | } |
| 938 | 938 | |
| 939 | -if (! function_exists('tap')) { |
|
| 939 | +if (!function_exists('tap')) { |
|
| 940 | 940 | /** |
| 941 | 941 | * Appelez la Closure donnée avec cette instance puis renvoyez l'instance. |
| 942 | 942 | */ |
@@ -946,7 +946,7 @@ discard block |
||
| 946 | 946 | } |
| 947 | 947 | } |
| 948 | 948 | |
| 949 | -if (! function_exists('last')) { |
|
| 949 | +if (!function_exists('last')) { |
|
| 950 | 950 | /** |
| 951 | 951 | * Recupere le dernier element d'un tableau |
| 952 | 952 | */ |
@@ -956,7 +956,7 @@ discard block |
||
| 956 | 956 | } |
| 957 | 957 | } |
| 958 | 958 | |
| 959 | -if (! function_exists('invade')) { |
|
| 959 | +if (!function_exists('invade')) { |
|
| 960 | 960 | /** |
| 961 | 961 | * Cette classe offre une fonction d'invasion qui vous permettra de lire / écrire des propriétés privées d'un objet. |
| 962 | 962 | * Il vous permettra également de définir, obtenir et appeler des méthodes privées. |
@@ -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); |
@@ -190,7 +190,7 @@ discard block |
||
| 190 | 190 | foreach ($files as $file) { |
| 191 | 191 | $className = $locator->getClassname($file); |
| 192 | 192 | |
| 193 | - if ($className === '' || ! class_exists($className)) { |
|
| 193 | + if ($className === '' || !class_exists($className)) { |
|
| 194 | 194 | continue; |
| 195 | 195 | } |
| 196 | 196 | |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | $class = new ReflectionClass($className); |
| 217 | 217 | $logger = $logger ?: Services::logger(); |
| 218 | 218 | |
| 219 | - if (! $class->isInstantiable() || ! $class->isSubclassOf(Command::class)) { |
|
| 219 | + if (!$class->isInstantiable() || !$class->isSubclassOf(Command::class)) { |
|
| 220 | 220 | throw CLIException::invalidCommand($className); |
| 221 | 221 | } |
| 222 | 222 | |
@@ -243,13 +243,13 @@ discard block |
||
| 243 | 243 | $value = (array) $value; |
| 244 | 244 | |
| 245 | 245 | $description = $value[0]; |
| 246 | - if (! is_string($description)) { |
|
| 246 | + if (!is_string($description)) { |
|
| 247 | 247 | continue; |
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | $default = $value[1] ?? null; |
| 251 | 251 | $filter = $value[2] ?? null; |
| 252 | - if ($filter !== null && ! is_callable($filter)) { |
|
| 252 | + if ($filter !== null && !is_callable($filter)) { |
|
| 253 | 253 | $filter = null; |
| 254 | 254 | } |
| 255 | 255 | |
@@ -261,7 +261,7 @@ discard block |
||
| 261 | 261 | $value = (array) $value; |
| 262 | 262 | |
| 263 | 263 | $description = $value[0]; |
| 264 | - if (! is_string($description)) { |
|
| 264 | + if (!is_string($description)) { |
|
| 265 | 265 | continue; |
| 266 | 266 | } |
| 267 | 267 | |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | } |
| 272 | 272 | |
| 273 | 273 | $console = $this; |
| 274 | - $action = static function (?array $arguments = [], ?array $options = [], ?bool $suppress = null) use ($instance, $command, $console) { |
|
| 274 | + $action = static function(?array $arguments = [], ?array $options = [], ?bool $suppress = null) use ($instance, $command, $console) { |
|
| 275 | 275 | foreach ($instance->required as $package) { |
| 276 | 276 | $package = explode(':', $package); |
| 277 | 277 | $version = $package[1] ?? null; |
@@ -280,9 +280,9 @@ discard block |
||
| 280 | 280 | /** @var \Ahc\Cli\IO\Interactor $io */ |
| 281 | 281 | $io = $console->io(); |
| 282 | 282 | |
| 283 | - if (! InstalledVersions::isInstalled($package)) { |
|
| 283 | + if (!InstalledVersions::isInstalled($package)) { |
|
| 284 | 284 | $io->info('Cette commande nécessite le package "' . $package . '" mais vous ne l\'avez pas', true); |
| 285 | - if (! $io->confirm('Voulez-vous l\'installer maintenant ?')) { |
|
| 285 | + if (!$io->confirm('Voulez-vous l\'installer maintenant ?')) { |
|
| 286 | 286 | return; |
| 287 | 287 | } |
| 288 | 288 | |
@@ -298,7 +298,7 @@ discard block |
||
| 298 | 298 | } |
| 299 | 299 | |
| 300 | 300 | $suppress = $suppress ?: $console->suppress; |
| 301 | - if (! $suppress) { |
|
| 301 | + if (!$suppress) { |
|
| 302 | 302 | $console->start($instance->service); |
| 303 | 303 | } |
| 304 | 304 | |
@@ -313,7 +313,7 @@ discard block |
||
| 313 | 313 | |
| 314 | 314 | $result = $instance->setOptions($options)->setArguments($arguments)->execute($parameters); |
| 315 | 315 | |
| 316 | - if (! $suppress) { |
|
| 316 | + if (!$suppress) { |
|
| 317 | 317 | $console->end(); |
| 318 | 318 | } |
| 319 | 319 | |
@@ -328,7 +328,7 @@ discard block |
||
| 328 | 328 | |
| 329 | 329 | private function registerException(Logger $logger) |
| 330 | 330 | { |
| 331 | - $this->onException(static function (Throwable $e, int $exitCode) use ($logger) { |
|
| 331 | + $this->onException(static function(Throwable $e, int $exitCode) use ($logger) { |
|
| 332 | 332 | $logger->error((string) $e, ['exitCode' => $exitCode, 'klinge' => true]); |
| 333 | 333 | |
| 334 | 334 | throw new CLIException($e->getMessage(), $exitCode, $e); |
@@ -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 | } |
@@ -2,774 +2,774 @@ |
||
| 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' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 81 | - 'count' => 1, |
|
| 82 | - 'path' => __DIR__ . '/src/Http/Request.php', |
|
| 80 | + 'message' => '#^Parameter \\$default of method BlitzPHP\\\\Http\\\\Request\\:\\:old\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 81 | + 'count' => 1, |
|
| 82 | + 'path' => __DIR__ . '/src/Http/Request.php', |
|
| 83 | 83 | ]; |
| 84 | 84 | $ignoreErrors[] = [ |
| 85 | - 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
| 86 | - 'count' => 1, |
|
| 87 | - 'path' => __DIR__ . '/src/Http/Response.php', |
|
| 85 | + 'message' => '#^Call to an undefined method DateTimeInterface\\:\\:setTimezone\\(\\)\\.$#', |
|
| 86 | + 'count' => 1, |
|
| 87 | + 'path' => __DIR__ . '/src/Http/Response.php', |
|
| 88 | 88 | ]; |
| 89 | 89 | $ignoreErrors[] = [ |
| 90 | - 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
| 91 | - 'count' => 1, |
|
| 92 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 90 | + 'message' => '#^Access to constant DEBUG_SERVER on an unknown class PHPMailer\\\\PHPMailer\\\\SMTP\\.$#', |
|
| 91 | + 'count' => 1, |
|
| 92 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 93 | 93 | ]; |
| 94 | 94 | $ignoreErrors[] = [ |
| 95 | - 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 96 | - 'count' => 2, |
|
| 97 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 95 | + 'message' => '#^Access to property \\$AltBody on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 96 | + 'count' => 2, |
|
| 97 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 98 | 98 | ]; |
| 99 | 99 | $ignoreErrors[] = [ |
| 100 | - 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 101 | - 'count' => 2, |
|
| 102 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 100 | + 'message' => '#^Access to property \\$Body on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 101 | + 'count' => 2, |
|
| 102 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 103 | 103 | ]; |
| 104 | 104 | $ignoreErrors[] = [ |
| 105 | - 'message' => '#^Access to property \\$CharSet on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 106 | - 'count' => 2, |
|
| 107 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 105 | + 'message' => '#^Access to property \\$CharSet 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 \\$DKIM_domain on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 111 | - 'count' => 2, |
|
| 112 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 110 | + 'message' => '#^Access to property \\$DKIM_domain 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 \\$DKIM_identity on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 116 | - 'count' => 2, |
|
| 117 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 115 | + 'message' => '#^Access to property \\$DKIM_identity 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_passphrase on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 121 | - 'count' => 2, |
|
| 122 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 120 | + 'message' => '#^Access to property \\$DKIM_passphrase 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_private on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 126 | - 'count' => 2, |
|
| 127 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 125 | + 'message' => '#^Access to property \\$DKIM_private 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_selector on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 131 | - 'count' => 2, |
|
| 132 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 130 | + 'message' => '#^Access to property \\$DKIM_selector 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 \\$Debugoutput on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 136 | - 'count' => 2, |
|
| 137 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 135 | + 'message' => '#^Access to property \\$Debugoutput 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 \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 141 | - 'count' => 1, |
|
| 142 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 140 | + 'message' => '#^Access to property \\$From on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 141 | + 'count' => 1, |
|
| 142 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 143 | 143 | ]; |
| 144 | 144 | $ignoreErrors[] = [ |
| 145 | - 'message' => '#^Access to property \\$Host on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 146 | - 'count' => 2, |
|
| 147 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 145 | + 'message' => '#^Access to property \\$Host 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 \\$Password on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 151 | - 'count' => 2, |
|
| 152 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 150 | + 'message' => '#^Access to property \\$Password on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 151 | + 'count' => 2, |
|
| 152 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 153 | 153 | ]; |
| 154 | 154 | $ignoreErrors[] = [ |
| 155 | - 'message' => '#^Access to property \\$Port on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 156 | - 'count' => 2, |
|
| 157 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 155 | + 'message' => '#^Access to property \\$Port 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 \\$Priority on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 161 | - 'count' => 2, |
|
| 162 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 160 | + 'message' => '#^Access to property \\$Priority 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 \\$SMTPAuth on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 166 | - 'count' => 2, |
|
| 167 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 165 | + 'message' => '#^Access to property \\$SMTPAuth 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 \\$SMTPDebug on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 171 | - 'count' => 2, |
|
| 172 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 170 | + 'message' => '#^Access to property \\$SMTPDebug 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 \\$SMTPSecure on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 176 | - 'count' => 2, |
|
| 177 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 175 | + 'message' => '#^Access to property \\$SMTPSecure 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 \\$Subject on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 181 | - 'count' => 2, |
|
| 182 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 180 | + 'message' => '#^Access to property \\$Subject 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 \\$Timeout on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 186 | - 'count' => 2, |
|
| 187 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 185 | + 'message' => '#^Access to property \\$Timeout 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 \\$Username on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 191 | - 'count' => 2, |
|
| 192 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 190 | + 'message' => '#^Access to property \\$Username 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' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 196 | - 'count' => 1, |
|
| 197 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 195 | + 'message' => '#^Call to method addAddress\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 196 | + 'count' => 1, |
|
| 197 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 198 | 198 | ]; |
| 199 | 199 | $ignoreErrors[] = [ |
| 200 | - 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 201 | - 'count' => 1, |
|
| 202 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 200 | + 'message' => '#^Call to method addAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 201 | + 'count' => 1, |
|
| 202 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 203 | 203 | ]; |
| 204 | 204 | $ignoreErrors[] = [ |
| 205 | - 'message' => '#^Call to method addBCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 206 | - 'count' => 1, |
|
| 207 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 205 | + 'message' => '#^Call to method addBCC\\(\\) 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 addCC\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 211 | - 'count' => 1, |
|
| 212 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 210 | + 'message' => '#^Call to method addCC\\(\\) 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 addCustomHeader\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 216 | - 'count' => 1, |
|
| 217 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 215 | + 'message' => '#^Call to method addCustomHeader\\(\\) 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 addEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 221 | - 'count' => 1, |
|
| 222 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 220 | + 'message' => '#^Call to method addEmbeddedImage\\(\\) 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 addReplyTo\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 226 | - 'count' => 1, |
|
| 227 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 225 | + 'message' => '#^Call to method addReplyTo\\(\\) 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 addStringAttachment\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 231 | - 'count' => 1, |
|
| 232 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 230 | + 'message' => '#^Call to method addStringAttachment\\(\\) 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 addStringEmbeddedImage\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 236 | - 'count' => 1, |
|
| 237 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 235 | + 'message' => '#^Call to method addStringEmbeddedImage\\(\\) 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 clearAddresses\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 241 | - 'count' => 1, |
|
| 242 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 240 | + 'message' => '#^Call to method clearAddresses\\(\\) 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 clearBCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 246 | - 'count' => 1, |
|
| 247 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 245 | + 'message' => '#^Call to method clearBCCs\\(\\) 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 clearCCs\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 251 | - 'count' => 1, |
|
| 252 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 250 | + 'message' => '#^Call to method clearCCs\\(\\) 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 clearReplyTos\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 256 | - 'count' => 1, |
|
| 257 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 255 | + 'message' => '#^Call to method clearReplyTos\\(\\) 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 getLastMessageID\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 261 | - 'count' => 1, |
|
| 262 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 260 | + 'message' => '#^Call to method getLastMessageID\\(\\) 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 isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 266 | - 'count' => 2, |
|
| 267 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 265 | + 'message' => '#^Call to method isHTML\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 266 | + 'count' => 2, |
|
| 267 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 268 | 268 | ]; |
| 269 | 269 | $ignoreErrors[] = [ |
| 270 | - 'message' => '#^Call to method isMail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 271 | - 'count' => 1, |
|
| 272 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 270 | + 'message' => '#^Call to method isMail\\(\\) 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 isQmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 276 | - 'count' => 1, |
|
| 277 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 275 | + 'message' => '#^Call to method isQmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 276 | + 'count' => 1, |
|
| 277 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 278 | 278 | ]; |
| 279 | 279 | $ignoreErrors[] = [ |
| 280 | - 'message' => '#^Call to method isSMTP\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 281 | - 'count' => 1, |
|
| 282 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 280 | + 'message' => '#^Call to method isSMTP\\(\\) 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 isSendmail\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 286 | - 'count' => 1, |
|
| 287 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 285 | + 'message' => '#^Call to method isSendmail\\(\\) 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 send\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 291 | - 'count' => 1, |
|
| 292 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 290 | + 'message' => '#^Call to method send\\(\\) 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 setFrom\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 296 | - 'count' => 1, |
|
| 297 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 295 | + 'message' => '#^Call to method setFrom\\(\\) 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 sign\\(\\) on an unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer\\.$#', |
|
| 301 | - 'count' => 1, |
|
| 302 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 300 | + 'message' => '#^Call to method sign\\(\\) 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' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
| 306 | - 'count' => 1, |
|
| 307 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 305 | + 'message' => '#^Class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
| 306 | + 'count' => 1, |
|
| 307 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 308 | 308 | ]; |
| 309 | 309 | $ignoreErrors[] = [ |
| 310 | - 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
| 311 | - 'count' => 1, |
|
| 312 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 310 | + 'message' => '#^Instantiated class PHPMailer\\\\PHPMailer\\\\PHPMailer not found\\.$#', |
|
| 311 | + 'count' => 1, |
|
| 312 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 313 | 313 | ]; |
| 314 | 314 | $ignoreErrors[] = [ |
| 315 | - 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
| 316 | - 'count' => 11, |
|
| 317 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 315 | + 'message' => '#^PHPDoc tag @throws with type PHPMailer\\\\PHPMailer\\\\Exception is not subtype of Throwable$#', |
|
| 316 | + 'count' => 11, |
|
| 317 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 318 | 318 | ]; |
| 319 | 319 | $ignoreErrors[] = [ |
| 320 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
| 321 | - 'count' => 1, |
|
| 322 | - 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 320 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\PHPMailer\\:\\:\\$mailer has unknown class PHPMailer\\\\PHPMailer\\\\PHPMailer as its type\\.$#', |
|
| 321 | + 'count' => 1, |
|
| 322 | + 'path' => __DIR__ . '/src/Mail/Adapters/PHPMailer.php', |
|
| 323 | 323 | ]; |
| 324 | 324 | $ignoreErrors[] = [ |
| 325 | - 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 326 | - 'count' => 1, |
|
| 327 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 325 | + 'message' => '#^Call to method addBcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 326 | + 'count' => 1, |
|
| 327 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 328 | 328 | ]; |
| 329 | 329 | $ignoreErrors[] = [ |
| 330 | - 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 331 | - 'count' => 1, |
|
| 332 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 330 | + 'message' => '#^Call to method addCC\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 331 | + 'count' => 1, |
|
| 332 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 333 | 333 | ]; |
| 334 | 334 | $ignoreErrors[] = [ |
| 335 | - 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 336 | - 'count' => 4, |
|
| 337 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 335 | + 'message' => '#^Call to method addPart\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 336 | + 'count' => 4, |
|
| 337 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 338 | 338 | ]; |
| 339 | 339 | $ignoreErrors[] = [ |
| 340 | - 'message' => '#^Call to method addReplyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 341 | - 'count' => 1, |
|
| 342 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 340 | + 'message' => '#^Call to method addReplyTo\\(\\) 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 addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 346 | - 'count' => 1, |
|
| 347 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 345 | + 'message' => '#^Call to method addTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 346 | + 'count' => 1, |
|
| 347 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 348 | 348 | ]; |
| 349 | 349 | $ignoreErrors[] = [ |
| 350 | - 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
| 351 | - 'count' => 2, |
|
| 352 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 350 | + 'message' => '#^Call to method asInline\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart\\.$#', |
|
| 351 | + 'count' => 2, |
|
| 352 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 353 | 353 | ]; |
| 354 | 354 | $ignoreErrors[] = [ |
| 355 | - 'message' => '#^Call to method bcc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 356 | - 'count' => 1, |
|
| 357 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 355 | + 'message' => '#^Call to method bcc\\(\\) 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 cc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 361 | - 'count' => 1, |
|
| 362 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 360 | + 'message' => '#^Call to method cc\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 361 | + 'count' => 1, |
|
| 362 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 363 | 363 | ]; |
| 364 | 364 | $ignoreErrors[] = [ |
| 365 | - 'message' => '#^Call to method from\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 366 | - 'count' => 1, |
|
| 367 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 365 | + 'message' => '#^Call to method from\\(\\) 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 generateMessageId\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 371 | - 'count' => 1, |
|
| 372 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 370 | + 'message' => '#^Call to method generateMessageId\\(\\) 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 getHeaders\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 376 | - 'count' => 1, |
|
| 377 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 375 | + 'message' => '#^Call to method getHeaders\\(\\) 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 html\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 381 | - 'count' => 1, |
|
| 382 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 380 | + 'message' => '#^Call to method html\\(\\) 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 priority\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 386 | - 'count' => 1, |
|
| 387 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 385 | + 'message' => '#^Call to method priority\\(\\) 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 replyTo\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 391 | - 'count' => 1, |
|
| 392 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 390 | + 'message' => '#^Call to method replyTo\\(\\) 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 send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
| 396 | - 'count' => 1, |
|
| 397 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 395 | + 'message' => '#^Call to method send\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
| 396 | + 'count' => 1, |
|
| 397 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 398 | 398 | ]; |
| 399 | 399 | $ignoreErrors[] = [ |
| 400 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
| 401 | - 'count' => 1, |
|
| 402 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 400 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner\\.$#', |
|
| 401 | + 'count' => 1, |
|
| 402 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 403 | 403 | ]; |
| 404 | 404 | $ignoreErrors[] = [ |
| 405 | - 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
| 406 | - 'count' => 1, |
|
| 407 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 405 | + 'message' => '#^Call to method sign\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner\\.$#', |
|
| 406 | + 'count' => 1, |
|
| 407 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 408 | 408 | ]; |
| 409 | 409 | $ignoreErrors[] = [ |
| 410 | - 'message' => '#^Call to method subject\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 411 | - 'count' => 1, |
|
| 412 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 410 | + 'message' => '#^Call to method subject\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 411 | + 'count' => 1, |
|
| 412 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 413 | 413 | ]; |
| 414 | 414 | $ignoreErrors[] = [ |
| 415 | - 'message' => '#^Call to method text\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 416 | - 'count' => 1, |
|
| 417 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 415 | + 'message' => '#^Call to method text\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 416 | + 'count' => 1, |
|
| 417 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 418 | 418 | ]; |
| 419 | 419 | $ignoreErrors[] = [ |
| 420 | - 'message' => '#^Call to method to\\(\\) on an unknown class Symfony\\\\Component\\\\Mime\\\\Email\\.$#', |
|
| 421 | - 'count' => 1, |
|
| 422 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 420 | + 'message' => '#^Call to method to\\(\\) 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 static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
| 426 | - 'count' => 1, |
|
| 427 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 425 | + 'message' => '#^Call to static method fromDsn\\(\\) on an unknown class Symfony\\\\Component\\\\Mailer\\\\Transport\\.$#', |
|
| 426 | + 'count' => 1, |
|
| 427 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 428 | 428 | ]; |
| 429 | 429 | $ignoreErrors[] = [ |
| 430 | - 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
| 431 | - 'count' => 1, |
|
| 432 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 430 | + 'message' => '#^Class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
| 431 | + 'count' => 1, |
|
| 432 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 433 | 433 | ]; |
| 434 | 434 | $ignoreErrors[] = [ |
| 435 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
| 436 | - 'count' => 1, |
|
| 437 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 435 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mailer\\\\Mailer not found\\.$#', |
|
| 436 | + 'count' => 1, |
|
| 437 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 438 | 438 | ]; |
| 439 | 439 | $ignoreErrors[] = [ |
| 440 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
| 441 | - 'count' => 1, |
|
| 442 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 440 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Address not found\\.$#', |
|
| 441 | + 'count' => 1, |
|
| 442 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 443 | 443 | ]; |
| 444 | 444 | $ignoreErrors[] = [ |
| 445 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner not found\\.$#', |
|
| 446 | - 'count' => 1, |
|
| 447 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 445 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\DkimSigner 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\\\\Crypto\\\\SMimeSigner not found\\.$#', |
|
| 451 | - 'count' => 1, |
|
| 452 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 450 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Crypto\\\\SMimeSigner 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\\\\Email not found\\.$#', |
|
| 456 | - 'count' => 1, |
|
| 457 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 455 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Email 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\\\\Part\\\\DataPart not found\\.$#', |
|
| 461 | - 'count' => 4, |
|
| 462 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 460 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\DataPart not found\\.$#', |
|
| 461 | + 'count' => 4, |
|
| 462 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 463 | 463 | ]; |
| 464 | 464 | $ignoreErrors[] = [ |
| 465 | - 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
| 466 | - 'count' => 2, |
|
| 467 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 465 | + 'message' => '#^Instantiated class Symfony\\\\Component\\\\Mime\\\\Part\\\\File not found\\.$#', |
|
| 466 | + 'count' => 2, |
|
| 467 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 468 | 468 | ]; |
| 469 | 469 | $ignoreErrors[] = [ |
| 470 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
| 471 | - 'count' => 1, |
|
| 472 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 470 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:makeAddress\\(\\) has invalid return type Symfony\\\\Component\\\\Mime\\\\Address\\.$#', |
|
| 471 | + 'count' => 1, |
|
| 472 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 473 | 473 | ]; |
| 474 | 474 | $ignoreErrors[] = [ |
| 475 | - 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
| 476 | - 'count' => 1, |
|
| 477 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 475 | + 'message' => '#^Method BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:transporter\\(\\) has invalid return type Symfony\\\\Component\\\\Mailer\\\\Mailer\\.$#', |
|
| 476 | + 'count' => 1, |
|
| 477 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 478 | 478 | ]; |
| 479 | 479 | $ignoreErrors[] = [ |
| 480 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
| 481 | - 'count' => 1, |
|
| 482 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 480 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$mailer has unknown class Symfony\\\\Component\\\\Mime\\\\Email as its type\\.$#', |
|
| 481 | + 'count' => 1, |
|
| 482 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 483 | 483 | ]; |
| 484 | 484 | $ignoreErrors[] = [ |
| 485 | - 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
| 486 | - 'count' => 1, |
|
| 487 | - 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 485 | + 'message' => '#^Property BlitzPHP\\\\Mail\\\\Adapters\\\\SymfonyMailer\\:\\:\\$transporter has unknown class Symfony\\\\Component\\\\Mailer\\\\Mailer as its type\\.$#', |
|
| 486 | + 'count' => 1, |
|
| 487 | + 'path' => __DIR__ . '/src/Mail/Adapters/SymfonyMailer.php', |
|
| 488 | 488 | ]; |
| 489 | 489 | $ignoreErrors[] = [ |
| 490 | - 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 491 | - 'count' => 1, |
|
| 492 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
| 490 | + 'message' => '#^Call to method getKeyName\\(\\) on an unknown class BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 491 | + 'count' => 1, |
|
| 492 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
| 493 | 493 | ]; |
| 494 | 494 | $ignoreErrors[] = [ |
| 495 | - 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 496 | - 'count' => 1, |
|
| 497 | - 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
| 495 | + 'message' => '#^Parameter \\$entity of method BlitzPHP\\\\Validation\\\\Rules\\\\Unique\\:\\:ignoreModel\\(\\) has invalid type BlitzPHP\\\\Wolke\\\\Model\\.$#', |
|
| 496 | + 'count' => 1, |
|
| 497 | + 'path' => __DIR__ . '/src/Validation/Rules/Unique.php', |
|
| 498 | 498 | ]; |
| 499 | 499 | $ignoreErrors[] = [ |
| 500 | - 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 501 | - 'count' => 1, |
|
| 502 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 500 | + 'message' => '#^Call to method directive\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 501 | + 'count' => 1, |
|
| 502 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 503 | 503 | ]; |
| 504 | 504 | $ignoreErrors[] = [ |
| 505 | - 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 506 | - 'count' => 1, |
|
| 507 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 505 | + 'message' => '#^Call to method if\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 506 | + 'count' => 1, |
|
| 507 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 508 | 508 | ]; |
| 509 | 509 | $ignoreErrors[] = [ |
| 510 | - 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 511 | - 'count' => 1, |
|
| 512 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 510 | + 'message' => '#^Call to method render\\(\\) on an unknown class Jenssegers\\\\Blade\\\\Blade\\.$#', |
|
| 511 | + 'count' => 1, |
|
| 512 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 513 | 513 | ]; |
| 514 | 514 | $ignoreErrors[] = [ |
| 515 | - 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
| 516 | - 'count' => 1, |
|
| 517 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 515 | + 'message' => '#^Instantiated class Jenssegers\\\\Blade\\\\Blade not found\\.$#', |
|
| 516 | + 'count' => 1, |
|
| 517 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 518 | 518 | ]; |
| 519 | 519 | $ignoreErrors[] = [ |
| 520 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
| 521 | - 'count' => 1, |
|
| 522 | - 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 520 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\BladeAdapter\\:\\:\\$engine has unknown class Jenssegers\\\\Blade\\\\Blade as its type\\.$#', |
|
| 521 | + 'count' => 1, |
|
| 522 | + 'path' => __DIR__ . '/src/View/Adapters/BladeAdapter.php', |
|
| 523 | 523 | ]; |
| 524 | 524 | $ignoreErrors[] = [ |
| 525 | - 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 526 | - 'count' => 1, |
|
| 527 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 525 | + 'message' => '#^Call to method renderToString\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 526 | + 'count' => 1, |
|
| 527 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 528 | 528 | ]; |
| 529 | 529 | $ignoreErrors[] = [ |
| 530 | - 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 531 | - 'count' => 1, |
|
| 532 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 530 | + 'message' => '#^Call to method setAutoRefresh\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 531 | + 'count' => 1, |
|
| 532 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 533 | 533 | ]; |
| 534 | 534 | $ignoreErrors[] = [ |
| 535 | - 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 536 | - 'count' => 1, |
|
| 537 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 535 | + 'message' => '#^Call to method setLoader\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 536 | + 'count' => 1, |
|
| 537 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 538 | 538 | ]; |
| 539 | 539 | $ignoreErrors[] = [ |
| 540 | - 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 541 | - 'count' => 1, |
|
| 542 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 540 | + 'message' => '#^Call to method setTempDirectory\\(\\) on an unknown class Latte\\\\Engine\\.$#', |
|
| 541 | + 'count' => 1, |
|
| 542 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 543 | 543 | ]; |
| 544 | 544 | $ignoreErrors[] = [ |
| 545 | - 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
| 546 | - 'count' => 1, |
|
| 547 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 545 | + 'message' => '#^Class Latte\\\\Engine not found\\.$#', |
|
| 546 | + 'count' => 1, |
|
| 547 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 548 | 548 | ]; |
| 549 | 549 | $ignoreErrors[] = [ |
| 550 | - 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
| 551 | - 'count' => 1, |
|
| 552 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 550 | + 'message' => '#^Instantiated class Latte\\\\Engine not found\\.$#', |
|
| 551 | + 'count' => 1, |
|
| 552 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 553 | 553 | ]; |
| 554 | 554 | $ignoreErrors[] = [ |
| 555 | - 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
| 556 | - 'count' => 1, |
|
| 557 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 555 | + 'message' => '#^Instantiated class Latte\\\\Loaders\\\\FileLoader not found\\.$#', |
|
| 556 | + 'count' => 1, |
|
| 557 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 558 | 558 | ]; |
| 559 | 559 | $ignoreErrors[] = [ |
| 560 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
| 561 | - 'count' => 1, |
|
| 562 | - 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 560 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\LatteAdapter\\:\\:\\$latte has unknown class Latte\\\\Engine as its type\\.$#', |
|
| 561 | + 'count' => 1, |
|
| 562 | + 'path' => __DIR__ . '/src/View/Adapters/LatteAdapter.php', |
|
| 563 | 563 | ]; |
| 564 | 564 | $ignoreErrors[] = [ |
| 565 | - 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 566 | - 'count' => 2, |
|
| 567 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 565 | + 'message' => '#^Call to method addFolder\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 566 | + 'count' => 2, |
|
| 567 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 568 | 568 | ]; |
| 569 | 569 | $ignoreErrors[] = [ |
| 570 | - 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 571 | - 'count' => 1, |
|
| 572 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 570 | + 'message' => '#^Call to method loadExtension\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 571 | + 'count' => 1, |
|
| 572 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 573 | 573 | ]; |
| 574 | 574 | $ignoreErrors[] = [ |
| 575 | - 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 576 | - 'count' => 1, |
|
| 577 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 575 | + 'message' => '#^Call to method registerFunction\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 576 | + 'count' => 1, |
|
| 577 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 578 | 578 | ]; |
| 579 | 579 | $ignoreErrors[] = [ |
| 580 | - 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 581 | - 'count' => 1, |
|
| 582 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 580 | + 'message' => '#^Call to method render\\(\\) on an unknown class League\\\\Plates\\\\Engine\\.$#', |
|
| 581 | + 'count' => 1, |
|
| 582 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 583 | 583 | ]; |
| 584 | 584 | $ignoreErrors[] = [ |
| 585 | - 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
| 586 | - 'count' => 1, |
|
| 587 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 585 | + 'message' => '#^Class League\\\\Plates\\\\Engine not found\\.$#', |
|
| 586 | + 'count' => 1, |
|
| 587 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 588 | 588 | ]; |
| 589 | 589 | $ignoreErrors[] = [ |
| 590 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
| 591 | - 'count' => 1, |
|
| 592 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 590 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Engine not found\\.$#', |
|
| 591 | + 'count' => 1, |
|
| 592 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 593 | 593 | ]; |
| 594 | 594 | $ignoreErrors[] = [ |
| 595 | - 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
| 596 | - 'count' => 1, |
|
| 597 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 595 | + 'message' => '#^Instantiated class League\\\\Plates\\\\Extension\\\\Asset not found\\.$#', |
|
| 596 | + 'count' => 1, |
|
| 597 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 598 | 598 | ]; |
| 599 | 599 | $ignoreErrors[] = [ |
| 600 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
| 601 | - 'count' => 1, |
|
| 602 | - 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 600 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\PlatesAdapter\\:\\:\\$engine has unknown class League\\\\Plates\\\\Engine as its type\\.$#', |
|
| 601 | + 'count' => 1, |
|
| 602 | + 'path' => __DIR__ . '/src/View/Adapters/PlatesAdapter.php', |
|
| 603 | 603 | ]; |
| 604 | 604 | $ignoreErrors[] = [ |
| 605 | - 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
| 606 | - 'count' => 1, |
|
| 607 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 605 | + 'message' => '#^Access to constant CACHING_LIFETIME_SAVED on an unknown class Smarty\\.$#', |
|
| 606 | + 'count' => 1, |
|
| 607 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 608 | 608 | ]; |
| 609 | 609 | $ignoreErrors[] = [ |
| 610 | - 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
| 611 | - 'count' => 1, |
|
| 612 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 610 | + 'message' => '#^Access to constant CACHING_OFF on an unknown class Smarty\\.$#', |
|
| 611 | + 'count' => 1, |
|
| 612 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 613 | 613 | ]; |
| 614 | 614 | $ignoreErrors[] = [ |
| 615 | - 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
| 616 | - 'count' => 1, |
|
| 617 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 615 | + 'message' => '#^Call to method addPluginsDir\\(\\) on an unknown class Smarty\\.$#', |
|
| 616 | + 'count' => 1, |
|
| 617 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 618 | 618 | ]; |
| 619 | 619 | $ignoreErrors[] = [ |
| 620 | - 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
| 621 | - 'count' => 1, |
|
| 622 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 620 | + 'message' => '#^Call to method assign\\(\\) on an unknown class Smarty\\.$#', |
|
| 621 | + 'count' => 1, |
|
| 622 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 623 | 623 | ]; |
| 624 | 624 | $ignoreErrors[] = [ |
| 625 | - 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
| 626 | - 'count' => 1, |
|
| 627 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 625 | + 'message' => '#^Call to method fetch\\(\\) on an unknown class Smarty\\.$#', |
|
| 626 | + 'count' => 1, |
|
| 627 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 628 | 628 | ]; |
| 629 | 629 | $ignoreErrors[] = [ |
| 630 | - 'message' => '#^Call to method setCacheLifetime\\(\\) on an unknown class Smarty\\.$#', |
|
| 631 | - 'count' => 1, |
|
| 632 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 630 | + 'message' => '#^Call to method setCacheLifetime\\(\\) 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 setCaching\\(\\) on an unknown class Smarty\\.$#', |
|
| 636 | - 'count' => 1, |
|
| 637 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 635 | + 'message' => '#^Call to method setCaching\\(\\) 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 setCompileId\\(\\) on an unknown class Smarty\\.$#', |
|
| 641 | - 'count' => 1, |
|
| 642 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 640 | + 'message' => '#^Call to method setCompileId\\(\\) 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 setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
| 646 | - 'count' => 1, |
|
| 647 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 645 | + 'message' => '#^Call to method setTemplateDir\\(\\) on an unknown class Smarty\\.$#', |
|
| 646 | + 'count' => 1, |
|
| 647 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 648 | 648 | ]; |
| 649 | 649 | $ignoreErrors[] = [ |
| 650 | - 'message' => '#^Class Smarty not found\\.$#', |
|
| 651 | - 'count' => 1, |
|
| 652 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 650 | + 'message' => '#^Class Smarty not found\\.$#', |
|
| 651 | + 'count' => 1, |
|
| 652 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 653 | 653 | ]; |
| 654 | 654 | $ignoreErrors[] = [ |
| 655 | - 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
| 656 | - 'count' => 1, |
|
| 657 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 655 | + 'message' => '#^Instantiated class Smarty not found\\.$#', |
|
| 656 | + 'count' => 1, |
|
| 657 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 658 | 658 | ]; |
| 659 | 659 | $ignoreErrors[] = [ |
| 660 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
| 661 | - 'count' => 1, |
|
| 662 | - 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 660 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\SmartyAdapter\\:\\:\\$engine has unknown class Smarty as its type\\.$#', |
|
| 661 | + 'count' => 1, |
|
| 662 | + 'path' => __DIR__ . '/src/View/Adapters/SmartyAdapter.php', |
|
| 663 | 663 | ]; |
| 664 | 664 | $ignoreErrors[] = [ |
| 665 | - 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 666 | - 'count' => 1, |
|
| 667 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 665 | + 'message' => '#^Call to method addFilter\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 666 | + 'count' => 1, |
|
| 667 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 668 | 668 | ]; |
| 669 | 669 | $ignoreErrors[] = [ |
| 670 | - 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 671 | - 'count' => 1, |
|
| 672 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 670 | + 'message' => '#^Call to method addFunction\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 671 | + 'count' => 1, |
|
| 672 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 673 | 673 | ]; |
| 674 | 674 | $ignoreErrors[] = [ |
| 675 | - 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 676 | - 'count' => 1, |
|
| 677 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 675 | + 'message' => '#^Call to method addGlobal\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 676 | + 'count' => 1, |
|
| 677 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 678 | 678 | ]; |
| 679 | 679 | $ignoreErrors[] = [ |
| 680 | - 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 681 | - 'count' => 1, |
|
| 682 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 680 | + 'message' => '#^Call to method disableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 681 | + 'count' => 1, |
|
| 682 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 683 | 683 | ]; |
| 684 | 684 | $ignoreErrors[] = [ |
| 685 | - 'message' => '#^Call to method disableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 686 | - 'count' => 1, |
|
| 687 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 685 | + 'message' => '#^Call to method disableDebug\\(\\) 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 disableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 691 | - 'count' => 1, |
|
| 692 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 690 | + 'message' => '#^Call to method disableStrictVariables\\(\\) 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 enableAutoReload\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 696 | - 'count' => 1, |
|
| 697 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 695 | + 'message' => '#^Call to method enableAutoReload\\(\\) 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 enableDebug\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 701 | - 'count' => 1, |
|
| 702 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 700 | + 'message' => '#^Call to method enableDebug\\(\\) 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 enableStrictVariables\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 706 | - 'count' => 1, |
|
| 707 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 705 | + 'message' => '#^Call to method enableStrictVariables\\(\\) 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 render\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 711 | - 'count' => 1, |
|
| 712 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 710 | + 'message' => '#^Call to method render\\(\\) 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 setCache\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 716 | - 'count' => 1, |
|
| 717 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 715 | + 'message' => '#^Call to method setCache\\(\\) 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 setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 721 | - 'count' => 1, |
|
| 722 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 720 | + 'message' => '#^Call to method setCharset\\(\\) on an unknown class Twig\\\\Environment\\.$#', |
|
| 721 | + 'count' => 1, |
|
| 722 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 723 | 723 | ]; |
| 724 | 724 | $ignoreErrors[] = [ |
| 725 | - 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
| 726 | - 'count' => 1, |
|
| 727 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 725 | + 'message' => '#^Class Twig\\\\Environment not found\\.$#', |
|
| 726 | + 'count' => 1, |
|
| 727 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 728 | 728 | ]; |
| 729 | 729 | $ignoreErrors[] = [ |
| 730 | - 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
| 731 | - 'count' => 1, |
|
| 732 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 730 | + 'message' => '#^Class Twig\\\\TwigFilter not found\\.$#', |
|
| 731 | + 'count' => 1, |
|
| 732 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 733 | 733 | ]; |
| 734 | 734 | $ignoreErrors[] = [ |
| 735 | - 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
| 736 | - 'count' => 1, |
|
| 737 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 735 | + 'message' => '#^Class Twig\\\\TwigFunction not found\\.$#', |
|
| 736 | + 'count' => 1, |
|
| 737 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 738 | 738 | ]; |
| 739 | 739 | $ignoreErrors[] = [ |
| 740 | - 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
| 741 | - 'count' => 1, |
|
| 742 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 740 | + 'message' => '#^Instantiated class Twig\\\\Environment not found\\.$#', |
|
| 741 | + 'count' => 1, |
|
| 742 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 743 | 743 | ]; |
| 744 | 744 | $ignoreErrors[] = [ |
| 745 | - 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
| 746 | - 'count' => 1, |
|
| 747 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 745 | + 'message' => '#^Instantiated class Twig\\\\Loader\\\\FilesystemLoader not found\\.$#', |
|
| 746 | + 'count' => 1, |
|
| 747 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 748 | 748 | ]; |
| 749 | 749 | $ignoreErrors[] = [ |
| 750 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
| 751 | - 'count' => 1, |
|
| 752 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 750 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$cache_id$#', |
|
| 751 | + 'count' => 1, |
|
| 752 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 753 | 753 | ]; |
| 754 | 754 | $ignoreErrors[] = [ |
| 755 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
| 756 | - 'count' => 1, |
|
| 757 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 755 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$compile_id$#', |
|
| 756 | + 'count' => 1, |
|
| 757 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 758 | 758 | ]; |
| 759 | 759 | $ignoreErrors[] = [ |
| 760 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
| 761 | - 'count' => 1, |
|
| 762 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 760 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$parent$#', |
|
| 761 | + 'count' => 1, |
|
| 762 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 763 | 763 | ]; |
| 764 | 764 | $ignoreErrors[] = [ |
| 765 | - 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
| 766 | - 'count' => 1, |
|
| 767 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 765 | + 'message' => '#^PHPDoc tag @param references unknown parameter\\: \\$template$#', |
|
| 766 | + 'count' => 1, |
|
| 767 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 768 | 768 | ]; |
| 769 | 769 | $ignoreErrors[] = [ |
| 770 | - 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
| 771 | - 'count' => 1, |
|
| 772 | - 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 770 | + 'message' => '#^Property BlitzPHP\\\\View\\\\Adapters\\\\TwigAdapter\\:\\:\\$engine has unknown class Twig\\\\Environment as its type\\.$#', |
|
| 771 | + 'count' => 1, |
|
| 772 | + 'path' => __DIR__ . '/src/View/Adapters/TwigAdapter.php', |
|
| 773 | 773 | ]; |
| 774 | 774 | |
| 775 | 775 | return ['parameters' => ['ignoreErrors' => $ignoreErrors]]; |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | $ignoreErrors = []; |
| 4 | 4 | $ignoreErrors[] = [ |