Skip to content

Commit

Permalink
CallFinderTest: Better coverage in "non-function tokens" test
Browse files Browse the repository at this point in the history
  • Loading branch information
jnvsor committed Apr 26, 2024
1 parent bd7694d commit 334be47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/CallFinderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -672,16 +672,16 @@ public function sourceProvider()
$data['non-function tokens'] = [
'<?php
echo test::test; test($val);',
echo test::test($a); $test2->test($b); test3::test; test($c);',
'line' => 3,
'function' => 'test',
'result' => [
[
'modifiers' => [],
'parameters' => [
[
'path' => '$val',
'name' => '$val',
'path' => '$c',
'name' => '$c',
'expression' => false,
],
],
Expand Down

0 comments on commit 334be47

Please sign in to comment.