Closed jrfnl closed 5 months ago
... in anticipation of adding addition test case files.
... on an _"Undefined array key "parenthesiscloser" " notice during live coding.
Includes unit test.
Squiz.ControlStructures.ForLoopDeclaration: prevent a potential "undefined array key" notice during live coding
Rebased without changes. Merging once the build passes.
The build failure is unrelated to this PR. PR #436 should fix this. I will rebase again once that one has been merged.
Description
Squiz/ForLoopDeclaration: rename test case file
... in anticipation of adding addition test case files.
Squiz/ForLoopDeclaration: move parse error test to its own file
Squiz/ForLoopDeclaration: bug fix - prevent sniff erroring out
... on an _"Undefined array key "parenthesiscloser" " notice during live coding.
Includes unit test.
Suggested changelog entry
Squiz.ControlStructures.ForLoopDeclaration: prevent a potential "undefined array key" notice during live coding