I try this feature in a simple project which just has these file at the porject root path:
<?php
namespace ttt;
class Test1
{
public function t1(int $a, string $b)
{
return $a + $b;
}
}
Test2.php :
<?php
namespace ttt;
class Test2
{
public static function realt2(int $h1, int $h2)
{
return $h1 + $h2;
}
}
Test.php :
<?php
use ttt\Test2;
Test2::t2()->t1(1, '2');
Test2::realt2(3, 4);
.phpstorm.meta.php
<?php
namespace PHPSTORM_META {
override(\ttt\Test2::t2(), map([
'' => \ttt\Test1::class
]));
}
I excpet the .phpstorm.meta.php will work and the Test2::t2()->t1(1, '2'); in the Test.php should show me the function t1() refer to the function Test1::t1(). However, my expected results did not appear. (I have tried to reload vscode)

In order to verify whether my coding was wrong, I opened this project in phpstorm and saw the result I expected.

So, does this prove that the plugin does not have the effective .phpstorm.meta.php feature? Or did I use it wrongly?
SystemOS : MacOS 12.6
VSCode Version: 1.102.1
DEVSENSE PHP Plugin(PHP、PHP Profiler、Composer) Version: 1.59.17638
(I have try Community and trial of Personal)
IntelliPHP Plugin Version: 0.12.17635
PHPStorm Version: 2024.1.4