diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index f6559058..2403c878 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -25,8 +25,3 @@ parameters: count: 1 path: src/Value/CalcRuleValueList.php - - - message: "#^Variable \\$aActualColorLines might not be defined\\.$#" - count: 1 - path: tests/ParserTest.php - diff --git a/tests/ParserTest.php b/tests/ParserTest.php index bf40f410..cc6a9575 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -858,6 +858,7 @@ public function testLineNumbersParsing() $oColor = $aRules[1]->getValue(); $this->assertEquals(27, $aRules[1]->getLineNo()); + $aActualColorLines = []; foreach ($oColor->getColor() as $oSize) { $aActualColorLines[] = $oSize->getLineNo(); }