Skip to content

Commit

Permalink
Add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed May 8, 2019
1 parent 6cc41f7 commit 633bf16
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,17 @@ if (true) {};

while (true) {};

class ABC {} ; ;

switch ( $a ) {
case 1:
break;
case 2:
break;
default:
break; ;
};

// Do not break closure and anonymous class;
$a = function () {};
$b = new class {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,17 @@ if (true) {}

while (true) {}

class ABC {}

switch ( $a ) {
case 1:
break;
case 2:
break;
default:
break;
}

// Do not break closure and anonymous class;
$a = function () {};
$b = new class {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ public function getWarningList()
57 => 1,
59 => 1,
61 => 1,
63 => 2,
71 => 1,
72 => 1,
];

}//end getWarningList()
Expand Down

0 comments on commit 633bf16

Please sign in to comment.