Skip to content

Commit

Permalink
Generic/MultipleStatementAlignment: add extra tests
Browse files Browse the repository at this point in the history
.. safeguarding the tokenizer fix which should prevent the issue as reported in 3326.
  • Loading branch information
jrfnl committed May 27, 2021
1 parent d2574b9 commit 16b6dda
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,13 @@ $resource = new class() {

$one <<= 8;
$onetwothree = 3;

// Issue 3326.
class Test
{
public const DEFAULT = 'default';
public const SOS = 'sos';
public const HELP = 'help';

protected static $thisIsAReallyLongVariableName = [];
}
Original file line number Diff line number Diff line change
Expand Up @@ -468,3 +468,13 @@ $resource = new class() {

$one <<= 8;
$onetwothree = 3;

// Issue 3326.
class Test
{
public const DEFAULT = 'default';
public const SOS = 'sos';
public const HELP = 'help';

protected static $thisIsAReallyLongVariableName = [];
}

0 comments on commit 16b6dda

Please sign in to comment.