You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ php7.4 bin/phpstan analyse tests/HelloWorld.php
Note: Using configuration file /some/path/phpstan.neon.
1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------------------------------------
Line HelloWorld.php (in context of class Tests\HelloWorld)
------ ------------------------------------------------------------------------------------------------
9 Call to an undefined method DateTime::someUndefinedMethod().
✏️ /some/path/HelloWorld.php (in context of class Tests\HelloWorld):9
------ ------------------------------------------------------------------------------------------------
Expected output
❯ php7.4 bin/phpstan analyse tests/HelloWorld.php
Note: Using configuration file /some/path/phpstan.neon.
1/1 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ ------------------------------------------------------------------------------------------------
Line HelloWorld.php (in context of class Tests\HelloWorld)
------ ------------------------------------------------------------------------------------------------
9 Call to an undefined method DateTime::someUndefinedMethod().
✏️ /some/path/HelloWorld.php:9 (in context of class Tests\HelloWorld)
------ ------------------------------------------------------------------------------------------------
The text was updated successfully, but these errors were encountered:
Bug report
When using
editorUrl
and getting errors for a trait, the link becomes unusable because it contains the context of the class that checks the trait:the link is:
Test code
Actual ouput:
Expected output
The text was updated successfully, but these errors were encountered: