|
override(\Ns\MyClass::create(0), map([ |
I found out, that the PhpStormMetaScanner works correctly only if the method (here create) is written in lowercased.
|
if ($meta_method_name !== $method_name |
$method_name seems to be always lowercased. But $meta_method_name is cased like it is written in .phpstorm.meta.php.
psalm/tests/fixtures/stubs/phpstorm.meta.php
Line 4 in 748abaf
I found out, that the PhpStormMetaScanner works correctly only if the method (here
create) is written in lowercased.psalm/src/Psalm/Internal/Scanner/PhpStormMetaScanner.php
Line 114 in 748abaf
$method_nameseems to be always lowercased. But$meta_method_nameis cased like it is written in .phpstorm.meta.php.