From 9fa2631490695248ef7abd3916b9300006fa064b Mon Sep 17 00:00:00 2001 From: Yohta Kimura Date: Tue, 20 Dec 2022 08:35:27 +0900 Subject: [PATCH] fix typo, the related issue is https://github.com/phpstan/phpstan/issues/7270 --- .../Rules/Comparison/BooleanAndConstantConditionRuleTest.php | 2 +- .../Rules/Comparison/data/{bug-7271.php => bug-7270.php} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename tests/PHPStan/Rules/Comparison/data/{bug-7271.php => bug-7270.php} (94%) 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 @@