diff --git a/tests/PHPStan/Rules/Comparison/BooleanAndConstantConditionRuleTest.php b/tests/PHPStan/Rules/Comparison/BooleanAndConstantConditionRuleTest.php index ba42e45fa2..e0da075170 100644 --- a/tests/PHPStan/Rules/Comparison/BooleanAndConstantConditionRuleTest.php +++ b/tests/PHPStan/Rules/Comparison/BooleanAndConstantConditionRuleTest.php @@ -409,7 +409,7 @@ public function testBug2741(): void public function testBug7270(): void { $this->treatPhpDocTypesAsCertain = true; - $this->analyse([__DIR__ . '/data/bug-7271.php'], []); + $this->analyse([__DIR__ . '/data/bug-7270.php'], []); } public function testBug5743(): void diff --git a/tests/PHPStan/Rules/Comparison/data/bug-7271.php b/tests/PHPStan/Rules/Comparison/data/bug-7270.php similarity index 94% rename from tests/PHPStan/Rules/Comparison/data/bug-7271.php rename to tests/PHPStan/Rules/Comparison/data/bug-7270.php index 91358218dd..746659180f 100644 --- a/tests/PHPStan/Rules/Comparison/data/bug-7271.php +++ b/tests/PHPStan/Rules/Comparison/data/bug-7270.php @@ -1,6 +1,6 @@