Skip to content

Commit

Permalink
Merge pull request #426 from PHPCSStandards/feature/tests-fix-invalid…
Browse files Browse the repository at this point in the history
…-testcase

IsReferenceTest: fix invalid test case
  • Loading branch information
jrfnl authored Mar 31, 2024
2 parents c5e1807 + 36aa41a commit eeb5c29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Core/File/IsReferenceTest.inc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ functionCall( $something , &new Foobar() );
$closure = function() use (&$var){};

/* testUseByReferenceWithCommentFirstParam */
$closure = function() use /*comment*/ (&$this->value){};
$closure = function() use /*comment*/ (&$value){};

/* testUseByReferenceWithCommentSecondParam */
$closure = function() use /*comment*/ ($varA, &$varB){};
Expand Down

0 comments on commit eeb5c29

Please sign in to comment.