@@ -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); |
@@ -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[] = [ |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | */ |
56 | 56 | public function exists(string $key): bool |
57 | 57 | { |
58 | - if (! $this->configurator->exists($key)) { |
|
58 | + if (!$this->configurator->exists($key)) { |
|
59 | 59 | $config = explode('.', $key); |
60 | 60 | $this->load($config[0]); |
61 | 61 | |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function missing(string $key): bool |
80 | 80 | { |
81 | - return ! $this->exists($key); |
|
81 | + return !$this->exists($key); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | { |
121 | 121 | if (is_array($config)) { |
122 | 122 | foreach ($config as $key => $value) { |
123 | - if (! is_string($value) || empty($value)) { |
|
123 | + if (!is_string($value) || empty($value)) { |
|
124 | 124 | continue; |
125 | 125 | } |
126 | 126 | if (is_string($key)) { |
@@ -132,13 +132,13 @@ discard block |
||
132 | 132 | } |
133 | 133 | self::load($conf, $file); |
134 | 134 | } |
135 | - } elseif (is_string($config) && ! isset(self::$loaded[$config])) { |
|
135 | + } elseif (is_string($config) && !isset(self::$loaded[$config])) { |
|
136 | 136 | if (empty($file)) { |
137 | 137 | $file = self::path($config); |
138 | 138 | } |
139 | 139 | |
140 | 140 | $configurations = []; |
141 | - if (file_exists($file) && ! in_array($file, get_included_files(), true)) { |
|
141 | + if (file_exists($file) && !in_array($file, get_included_files(), true)) { |
|
142 | 142 | $configurations = (array) require $file; |
143 | 143 | } |
144 | 144 | |
@@ -165,7 +165,7 @@ discard block |
||
165 | 165 | { |
166 | 166 | if (is_array($accepts_values)) { |
167 | 167 | $accepts_values = '(Accept values: ' . implode('/', $accepts_values) . ')'; |
168 | - } elseif (! is_string($accepts_values)) { |
|
168 | + } elseif (!is_string($accepts_values)) { |
|
169 | 169 | throw new InvalidArgumentException('Misuse of the method ' . __METHOD__); |
170 | 170 | } |
171 | 171 | |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | $schema = require $app_schema; |
208 | 208 | } |
209 | 209 | |
210 | - if (empty($schema) || ! ($schema instanceof Schema)) { |
|
210 | + if (empty($schema) || !($schema instanceof Schema)) { |
|
211 | 211 | $schema = Expect::mixed(); |
212 | 212 | } |
213 | 213 | |
@@ -253,14 +253,14 @@ discard block |
||
253 | 253 | } |
254 | 254 | |
255 | 255 | $class = new ReflectionClass($classname); |
256 | - $methods = $class->getMethods(ReflectionMethod::IS_STATIC | ReflectionMethod::IS_PUBLIC); |
|
256 | + $methods = $class->getMethods(ReflectionMethod::IS_STATIC|ReflectionMethod::IS_PUBLIC); |
|
257 | 257 | |
258 | 258 | foreach ($methods as $method) { |
259 | - if (! ($method->isPublic() && $method->isStatic())) { |
|
259 | + if (!($method->isPublic() && $method->isStatic())) { |
|
260 | 260 | continue; |
261 | 261 | } |
262 | 262 | |
263 | - if (! is_array($result = $method->invoke(null))) { |
|
263 | + if (!is_array($result = $method->invoke(null))) { |
|
264 | 264 | continue; |
265 | 265 | } |
266 | 266 | |
@@ -329,12 +329,12 @@ discard block |
||
329 | 329 | { |
330 | 330 | $config = $this->get('app.show_debugbar', 'auto'); |
331 | 331 | |
332 | - if (! in_array($config, ['auto', true, false], true)) { |
|
332 | + if (!in_array($config, ['auto', true, false], true)) { |
|
333 | 333 | self::exceptBadConfigValue('show_debugbar', ['auto', true, false], 'app'); |
334 | 334 | } |
335 | 335 | |
336 | 336 | if ($config === 'auto') { |
337 | - $this->set('app.show_debugbar', ! is_online()); |
|
337 | + $this->set('app.show_debugbar', !is_online()); |
|
338 | 338 | } |
339 | 339 | } |
340 | 340 | } |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | // Incluez le fichier routesFile s'il n'existe pas. |
264 | 264 | // Ne conserver que pour les fins BC pour l'instant. |
265 | 265 | $routeFiles = $this->routeFiles; |
266 | - if (! in_array($routesFile, $routeFiles, true)) { |
|
266 | + if (!in_array($routesFile, $routeFiles, true)) { |
|
267 | 267 | $routeFiles[] = $routesFile; |
268 | 268 | } |
269 | 269 | |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | $routes = $this; |
272 | 272 | |
273 | 273 | foreach ($routeFiles as $routesFile) { |
274 | - if (! is_file($routesFile)) { |
|
274 | + if (!is_file($routesFile)) { |
|
275 | 275 | logger()->warning(sprintf('Fichier de route introuvable : "%s"', $routesFile)); |
276 | 276 | |
277 | 277 | continue; |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | */ |
321 | 321 | public function placeholder(array|string $placeholder, ?string $pattern = null): self |
322 | 322 | { |
323 | - if (! is_array($placeholder)) { |
|
323 | + if (!is_array($placeholder)) { |
|
324 | 324 | $placeholder = [$placeholder => $pattern]; |
325 | 325 | } |
326 | 326 | |
@@ -1022,7 +1022,7 @@ discard block |
||
1022 | 1022 | * |
1023 | 1023 | * @param array|Closure|string $to |
1024 | 1024 | */ |
1025 | - public function match(array $verbs = [], string $from = '', $to = '', ?array $options = null): self |
|
1025 | + public function match(array $verbs = [], string $from = '', $to = '', ?array $options = null) : self |
|
1026 | 1026 | { |
1027 | 1027 | if (empty($from) || empty($to)) { |
1028 | 1028 | throw new InvalidArgumentException('Vous devez fournir les paramètres : $from, $to.'); |
@@ -1211,7 +1211,7 @@ discard block |
||
1211 | 1211 | $from = $route['from']; |
1212 | 1212 | |
1213 | 1213 | // on ignore les closures |
1214 | - if (! is_string($to)) { |
|
1214 | + if (!is_string($to)) { |
|
1215 | 1215 | continue; |
1216 | 1216 | } |
1217 | 1217 | |
@@ -1222,7 +1222,7 @@ discard block |
||
1222 | 1222 | |
1223 | 1223 | // S'il y a une chance de correspondance, alors ce sera |
1224 | 1224 | // soit avec $search au début de la chaîne $to. |
1225 | - if (! str_starts_with($to, $search)) { |
|
1225 | + if (!str_starts_with($to, $search)) { |
|
1226 | 1226 | continue; |
1227 | 1227 | } |
1228 | 1228 | |
@@ -1298,7 +1298,7 @@ discard block |
||
1298 | 1298 | |
1299 | 1299 | // Construisez notre chaîne résultante, en insérant les $params aux endroits appropriés. |
1300 | 1300 | foreach ($matches[0] as $index => $placeholder) { |
1301 | - if (! isset($params[$index])) { |
|
1301 | + if (!isset($params[$index])) { |
|
1302 | 1302 | throw new InvalidArgumentException( |
1303 | 1303 | 'Argument manquant pour "' . $placeholder . '" dans la route "' . $from . '".' |
1304 | 1304 | ); |
@@ -1309,7 +1309,7 @@ discard block |
||
1309 | 1309 | // ou peut-être que $placeholder n'est pas un espace réservé, mais une regex. |
1310 | 1310 | $pattern = $this->placeholders[$placeholderName] ?? $placeholder; |
1311 | 1311 | |
1312 | - if (! preg_match('#^' . $pattern . '$#u', $params[$index])) { |
|
1312 | + if (!preg_match('#^' . $pattern . '$#u', $params[$index])) { |
|
1313 | 1313 | throw RouterException::invalidParameterType(); |
1314 | 1314 | } |
1315 | 1315 | |
@@ -1366,7 +1366,7 @@ discard block |
||
1366 | 1366 | $from = trim($from, '/'); |
1367 | 1367 | } |
1368 | 1368 | |
1369 | - if (is_string($to) && ! str_contains($to, '::') && class_exists($to) && method_exists($to, '__invoke')) { |
|
1369 | + if (is_string($to) && !str_contains($to, '::') && class_exists($to) && method_exists($to, '__invoke')) { |
|
1370 | 1370 | $to = [$to, '__invoke']; |
1371 | 1371 | } |
1372 | 1372 | |
@@ -1378,7 +1378,7 @@ discard block |
||
1378 | 1378 | $options = array_merge($this->currentOptions ?? [], $options ?? []); |
1379 | 1379 | |
1380 | 1380 | if (isset($options['middleware'])) { |
1381 | - if (! isset($options['middlewares'])) { |
|
1381 | + if (!isset($options['middlewares'])) { |
|
1382 | 1382 | $options['middlewares'] = (array) $options['middleware']; |
1383 | 1383 | } |
1384 | 1384 | unset($options['middleware']); |
@@ -1399,9 +1399,9 @@ discard block |
||
1399 | 1399 | } |
1400 | 1400 | |
1401 | 1401 | // Limitation du nom d'hôte ? |
1402 | - if (! empty($options['hostname'])) { |
|
1402 | + if (!empty($options['hostname'])) { |
|
1403 | 1403 | // @todo déterminer s'il existe un moyen de mettre les hôtes sur liste blanche ? |
1404 | - if (! $this->checkHostname($options['hostname'])) { |
|
1404 | + if (!$this->checkHostname($options['hostname'])) { |
|
1405 | 1405 | return; |
1406 | 1406 | } |
1407 | 1407 | |
@@ -1409,10 +1409,10 @@ discard block |
||
1409 | 1409 | } |
1410 | 1410 | |
1411 | 1411 | // Limitation du nom sous-domaine ? |
1412 | - elseif (! empty($options['subdomain'])) { |
|
1412 | + elseif (!empty($options['subdomain'])) { |
|
1413 | 1413 | // Si nous ne correspondons pas au sous-domaine actuel, alors |
1414 | 1414 | // nous n'avons pas besoin d'ajouter la route. |
1415 | - if (! $this->checkSubdomains($options['subdomain'])) { |
|
1415 | + if (!$this->checkSubdomains($options['subdomain'])) { |
|
1416 | 1416 | return; |
1417 | 1417 | } |
1418 | 1418 | |
@@ -1445,9 +1445,9 @@ discard block |
||
1445 | 1445 | } |
1446 | 1446 | |
1447 | 1447 | // S'il s'agit d'une redirection, aucun traitement |
1448 | - if (! isset($options['redirect']) && is_string($to)) { |
|
1448 | + if (!isset($options['redirect']) && is_string($to)) { |
|
1449 | 1449 | // Si aucun espace de noms n'est trouvé, ajouter l'espace de noms par défaut |
1450 | - if (! str_contains($to, '\\') || strpos($to, '\\') > 0) { |
|
1450 | + if (!str_contains($to, '\\') || strpos($to, '\\') > 0) { |
|
1451 | 1451 | $namespace = $options['namespace'] ?? $this->defaultNamespace; |
1452 | 1452 | $to = trim($namespace, '\\') . '\\' . $to; |
1453 | 1453 | } |
@@ -1464,7 +1464,7 @@ discard block |
||
1464 | 1464 | // cela ne fonctionne que parce que les routes découvertes sont ajoutées juste avant |
1465 | 1465 | // pour tenter de router la requête. |
1466 | 1466 | $routeKeyExists = isset($this->routes[$verb][$routeKey]); |
1467 | - if ((isset($this->routesNames[$verb][$name]) || $routeKeyExists) && ! $overwrite) { |
|
1467 | + if ((isset($this->routesNames[$verb][$name]) || $routeKeyExists) && !$overwrite) { |
|
1468 | 1468 | return; |
1469 | 1469 | } |
1470 | 1470 | |
@@ -1490,7 +1490,7 @@ discard block |
||
1490 | 1490 | private function checkHostname(string $hostname): bool |
1491 | 1491 | { |
1492 | 1492 | // Les appels CLI ne peuvent pas être sur le nom d'hôte. |
1493 | - if (! isset($this->httpHost) || is_cli()) { |
|
1493 | + if (!isset($this->httpHost) || is_cli()) { |
|
1494 | 1494 | return false; |
1495 | 1495 | } |
1496 | 1496 | |
@@ -1506,7 +1506,7 @@ discard block |
||
1506 | 1506 | private function checkSubdomains($subdomains): bool |
1507 | 1507 | { |
1508 | 1508 | // Les appels CLI ne peuvent pas être sur le sous-domaine. |
1509 | - if (! isset($this->httpHost)) { |
|
1509 | + if (!isset($this->httpHost)) { |
|
1510 | 1510 | return false; |
1511 | 1511 | } |
1512 | 1512 | |
@@ -1514,13 +1514,13 @@ discard block |
||
1514 | 1514 | $this->currentSubdomain = $this->determineCurrentSubdomain(); |
1515 | 1515 | } |
1516 | 1516 | |
1517 | - if (! is_array($subdomains)) { |
|
1517 | + if (!is_array($subdomains)) { |
|
1518 | 1518 | $subdomains = [$subdomains]; |
1519 | 1519 | } |
1520 | 1520 | |
1521 | 1521 | // Les routes peuvent être limitées à n'importe quel sous-domaine. Dans ce cas, cependant, |
1522 | 1522 | // il nécessite la présence d'un sous-domaine. |
1523 | - if (! empty($this->currentSubdomain) && in_array('*', $subdomains, true)) { |
|
1523 | + if (!empty($this->currentSubdomain) && in_array('*', $subdomains, true)) { |
|
1524 | 1524 | return true; |
1525 | 1525 | } |
1526 | 1526 | |
@@ -1542,7 +1542,7 @@ discard block |
||
1542 | 1542 | // sur l'URL sinon parse_url sera mal interprété |
1543 | 1543 | // 'hôte' comme 'chemin'. |
1544 | 1544 | $url = $this->httpHost; |
1545 | - if (! str_starts_with($url, 'http')) { |
|
1545 | + if (!str_starts_with($url, 'http')) { |
|
1546 | 1546 | $url = 'http://' . $url; |
1547 | 1547 | } |
1548 | 1548 | |
@@ -1583,7 +1583,7 @@ discard block |
||
1583 | 1583 | |
1584 | 1584 | private function getControllerName(Closure|string $handler): ?string |
1585 | 1585 | { |
1586 | - if (! is_string($handler)) { |
|
1586 | + if (!is_string($handler)) { |
|
1587 | 1587 | return null; |
1588 | 1588 | } |
1589 | 1589 | |
@@ -1642,13 +1642,13 @@ discard block |
||
1642 | 1642 | */ |
1643 | 1643 | private function replaceLocale(string $route, ?string $locale = null): string |
1644 | 1644 | { |
1645 | - if (! str_contains($route, '{locale}')) { |
|
1645 | + if (!str_contains($route, '{locale}')) { |
|
1646 | 1646 | return $route; |
1647 | 1647 | } |
1648 | 1648 | |
1649 | 1649 | // Vérifier les paramètres régionaux non valides |
1650 | 1650 | if ($locale !== null) { |
1651 | - if (! in_array($locale, config('app.supported_locales'), true)) { |
|
1651 | + if (!in_array($locale, config('app.supported_locales'), true)) { |
|
1652 | 1652 | $locale = null; |
1653 | 1653 | } |
1654 | 1654 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | { |
71 | 71 | helper('assets'); |
72 | 72 | |
73 | - if (! empty($viewPathLocator)) { |
|
73 | + if (!empty($viewPathLocator)) { |
|
74 | 74 | if (is_string($viewPathLocator)) { |
75 | 75 | $this->viewPath = rtrim($viewPathLocator, '\\/ ') . DS; |
76 | 76 | } elseif ($viewPathLocator instanceof LocatorInterface) { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | $options = (array) $options; |
236 | 236 | |
237 | 237 | $viewPath = $options['viewPath'] ?? $this->viewPath; |
238 | - if (! empty($viewPath)) { |
|
238 | + if (!empty($viewPath)) { |
|
239 | 239 | $file = str_replace('/', DS, rtrim($viewPath, '/\\') . DS . ltrim($view, '/\\')); |
240 | 240 | } else { |
241 | 241 | $file = $view; |
@@ -243,14 +243,14 @@ discard block |
||
243 | 243 | |
244 | 244 | $file = Helpers::ensureExt($file, $ext); |
245 | 245 | |
246 | - if (! is_file($file) && $this->locator instanceof LocatorInterface) { |
|
246 | + if (!is_file($file) && $this->locator instanceof LocatorInterface) { |
|
247 | 247 | $file = $this->locator->locateFile($view, 'Views', empty($ext) ? 'php' : $ext); |
248 | 248 | } |
249 | 249 | |
250 | 250 | $file = realpath($file); |
251 | 251 | |
252 | 252 | // locateFile renverra une chaîne vide si le fichier est introuvable. |
253 | - if (! is_file($file)) { |
|
253 | + if (!is_file($file)) { |
|
254 | 254 | throw ViewException::invalidFile($view); |
255 | 255 | } |
256 | 256 |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | foreach ($files as $file) { |
191 | 191 | $className = $locator->findQualifiedNameFromPath($file); |
192 | 192 | |
193 | - if ($className === false || ! class_exists($className)) { |
|
193 | + if ($className === false || !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); |