diff --git a/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/BinaryOpBetweenNumberAndStringRectorTest.php b/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/BinaryOpBetweenNumberAndStringRectorTest.php index 1b3abb827728..fa40bf234e44 100644 --- a/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/BinaryOpBetweenNumberAndStringRectorTest.php +++ b/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/BinaryOpBetweenNumberAndStringRectorTest.php @@ -9,7 +9,10 @@ final class BinaryOpBetweenNumberAndStringRectorTest extends AbstractRectorTestC { public function test(): void { - $this->doTestFiles([__DIR__ . '/Fixture/fixture.php.inc']); + $this->doTestFiles([ + __DIR__ . '/Fixture/fixture.php.inc', + __DIR__ . '/Fixture/ignore_concatenation_dot.php.inc', + ]); } protected function getRectorClass(): string diff --git a/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/Fixture/ignore_concatenation_dot.php.inc b/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/Fixture/ignore_concatenation_dot.php.inc new file mode 100644 index 000000000000..2083375ce59e --- /dev/null +++ b/packages/Php/tests/Rector/BinaryOp/BinaryOpBetweenNumberAndStringRector/Fixture/ignore_concatenation_dot.php.inc @@ -0,0 +1,31 @@ + +----- +