From 623125d8eea50d647ef78b944026a0d18fd843bb Mon Sep 17 00:00:00 2001 From: Martin Herndl Date: Fri, 2 Dec 2022 11:20:34 +0100 Subject: [PATCH] Fix issue number in test --- tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php | 4 ++-- .../Rules/Variables/data/{bug-5803.php => bug-5805.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename tests/PHPStan/Rules/Variables/data/{bug-5803.php => bug-5805.php} (90%) diff --git a/tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php b/tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php index d0687165fb..19949bea9e 100644 --- a/tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php +++ b/tests/PHPStan/Rules/Variables/DefinedVariableRuleTest.php @@ -918,13 +918,13 @@ public function testBug4173(): void ]); } - public function testBug5803(): void + public function testBug5805(): void { $this->cliArgumentsVariablesRegistered = true; $this->polluteScopeWithLoopInitialAssignments = false; $this->checkMaybeUndefinedVariables = true; $this->polluteScopeWithAlwaysIterableForeach = true; - $this->analyse([__DIR__ . '/data/bug-5803.php'], []); + $this->analyse([__DIR__ . '/data/bug-5805.php'], []); } } diff --git a/tests/PHPStan/Rules/Variables/data/bug-5803.php b/tests/PHPStan/Rules/Variables/data/bug-5805.php similarity index 90% rename from tests/PHPStan/Rules/Variables/data/bug-5803.php rename to tests/PHPStan/Rules/Variables/data/bug-5805.php index 60d74283f8..2f875db913 100644 --- a/tests/PHPStan/Rules/Variables/data/bug-5803.php +++ b/tests/PHPStan/Rules/Variables/data/bug-5805.php @@ -1,6 +1,6 @@