I've got these 3 files:
TestClass.php
<?php
class TestClass
{
public function testMethod(): string
{
return 'testMethod';
}
}
test.php
<?php
require_once 'TestClass.php';
$test = new TestClass();
echo $test->testMethod();
and test_two.php
<?php
echo $test->testMethod();
When I look up all references from the testMethod in the TestClass, the PHP extension will also include the call in test_two.php, but this is incorrect.
Can we toggle this behaviour to only include references which strictly use the same class? Because this makes it impossible to find exact references in one huge monolith repository.
