Explorar o código

Fix unrelated StyleCI problems

Grégoire Paris %!s(int64=8) %!d(string=hai) anos
pai
achega
0b14ca99cd
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      Admin/AbstractAdmin.php
  2. 1 1
      Tests/Controller/CRUDControllerTest.php

+ 1 - 1
Admin/AbstractAdmin.php

@@ -1648,7 +1648,7 @@ which is not the one registered with this admin class ("%s").
 This is deprecated since 3.x and will no longer be supported in 4.0.
 EOT;
 
-            trigger_error(
+            @trigger_error(
                 sprintf($message, get_class($subject), $this->class),
                 E_USER_DEPRECATED
             ); // NEXT_MAJOR : throw an exception instead

+ 1 - 1
Tests/Controller/CRUDControllerTest.php

@@ -315,7 +315,7 @@ class CRUDControllerTest extends \PHPUnit_Framework_TestCase
                     return true;
                 }
 
-                if ($id == 'security.csrf.token_manager' && Kernel::MAJOR_VERSION >= 3  && $tthis->getCsrfProvider() !== null) {
+                if ($id == 'security.csrf.token_manager' && Kernel::MAJOR_VERSION >= 3 && $tthis->getCsrfProvider() !== null) {
                     return true;
                 }