Browse Source

Fix tests on 3.0

SpacePossum 4 years ago
parent
commit
65d21b84a2

+ 1 - 1
tests/Fixer/CastNotation/LowercaseCastFixerTest.php

@@ -61,7 +61,7 @@ final class LowercaseCastFixerTest extends AbstractFixerTestCase
      */
     public function testFix74Deprecated($expected, $input = null)
     {
-        $this->expectDeprecation('The (real) cast is deprecated, use (float) instead');
+        $this->expectDeprecation('%AThe (real) cast is deprecated, use (float) instead');
 
         $this->doTest($expected, $input);
     }

+ 1 - 1
tests/Fixer/CastNotation/ShortScalarCastFixerTest.php

@@ -61,7 +61,7 @@ final class ShortScalarCastFixerTest extends AbstractFixerTestCase
      */
     public function testFix74Deprecated($expected, $input = null)
     {
-        $this->expectDeprecation('The (real) cast is deprecated, use (float) instead');
+        $this->expectDeprecation('%AThe (real) cast is deprecated, use (float) instead');
 
         $this->doTest($expected, $input);
     }