Skip to content

Commit 960c9df

Browse files
author
Vincent Langlet
committed
🚨 Add test
1 parent 32fb2ec commit 960c9df

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Symfony3Custom/Tests/Formatting/ConditionalReturnOrThrowUnitTest.inc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,16 @@ class Test
6464

6565
return null;
6666
}
67+
68+
public function __construct()
69+
{
70+
if (1 === 1) {
71+
if (2 === 2) {
72+
return null;
73+
}
74+
} else {
75+
$a = 1;
76+
}
77+
}
6778
}
6879

0 commit comments

Comments
 (0)