Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
gsherwood committed Jun 22, 2020
2 parents 2bfc1d6 + f3833cc commit ad0bfc2
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function register()

$tokens[] = T_VARIABLE;
$tokens[] = T_CLOSE_CURLY_BRACKET;
$tokens[] = T_CLOSE_SQUARE_BRACKET;
$tokens[] = T_CLOSE_PARENTHESIS;

return $tokens;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ $bar = new stdClass(
4,
5,
6

);

$bar = new stdClass(
Expand Down Expand Up @@ -199,7 +199,7 @@ function foo()
myFunction(
'string'.
// comment
// comment
// comment
'string'.
/* comment
* comment
Expand Down Expand Up @@ -522,3 +522,6 @@ return trim(preg_replace_callback(
},
$search
));

$a = ['a' => function ($b) { return $b; }];
$a['a']( 1 );
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function foo()
myFunction(
'string'.
// comment
// comment
// comment
'string'.
/* comment
* comment
Expand Down Expand Up @@ -534,3 +534,6 @@ return trim(
$search
)
);

$a = ['a' => function ($b) { return $b; }];
$a['a'](1);
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ public function getErrorList($testFile='FunctionCallSignatureUnitTest.inc')
514 => 1,
523 => 1,
524 => 3,
527 => 2,
];

}//end getErrorList()
Expand Down

0 comments on commit ad0bfc2

Please sign in to comment.