Skip to content

Commit

Permalink
Avoid creating unused $new variable
Browse files Browse the repository at this point in the history
Co-authored-by: Weston Ruter <[email protected]>
  • Loading branch information
schlessera and westonruter authored Dec 7, 2021
1 parent a9975ea commit 2f6d6ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/CompatibilityFix/MovedClassesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class MovedClassesTest extends TestCase

public function testClassAliasesExist()
{
foreach (MovedClasses::ALIASES as $old => $new) {
foreach (array_keys(MovedClasses::ALIASES) as $old) {
$this->assertTrue(class_exists($old) || interface_exists($old));
}
}
Expand Down

0 comments on commit 2f6d6ec

Please sign in to comment.