File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 1818use PhpParser \Node \Expr \PropertyFetch ;
1919use PhpParser \Node \Expr \StaticPropertyFetch ;
2020use PhpParser \Node \Expr \Ternary ;
21- use PhpParser \Node \Scalar ;
21+ use PhpParser \Node \Scalar \ Encapsed ;
2222use PhpParser \Node \Stmt \Break_ ;
2323use PhpParser \Node \Stmt \Case_ ;
2424use PhpParser \Node \Stmt \Catch_ ;
@@ -135,6 +135,7 @@ private function isExecutable(Node $node): bool
135135 $ node instanceof Echo_ ||
136136 $ node instanceof ElseIf_ ||
137137 $ node instanceof Else_ ||
138+ $ node instanceof Encapsed ||
138139 $ node instanceof Expression ||
139140 $ node instanceof Finally_ ||
140141 $ node instanceof For_ ||
@@ -144,7 +145,6 @@ private function isExecutable(Node $node): bool
144145 $ node instanceof NullsafePropertyFetch ||
145146 $ node instanceof PropertyFetch ||
146147 $ node instanceof Return_ ||
147- $ node instanceof Scalar ||
148148 $ node instanceof StaticPropertyFetch ||
149149 $ node instanceof Switch_ ||
150150 $ node instanceof Ternary ||
Original file line number Diff line number Diff line change @@ -270,7 +270,6 @@ public function testUseStatementsAreUncovered(): void
270270 [
271271 12 ,
272272 14 ,
273- 15 ,
274273 16 ,
275274 18 ,
276275 ],
@@ -298,7 +297,6 @@ public function testInterfacesAreUncovered(): void
298297 [
299298 7 ,
300299 9 ,
301- 10 ,
302300 11 ,
303301 13 ,
304302 ],
@@ -340,13 +338,9 @@ public function testHeavyIndentationIsHandledCorrectly(): void
340338 25 ,
341339 28 ,
342340 31 ,
343- 33 ,
344- 38 ,
345341 40 ,
346342 46 ,
347343 48 ,
348- 50 ,
349- 52 ,
350344 54 ,
351345 60 ,
352346 71 ,
You can’t perform that action at this time.
0 commit comments