Hello Jakub, I'm not sure if this is the best place to post this. This question seemed close enough that I didn't post a new question. If you think I should create a new question, please let me know.
Before I get to the question, I'm using PHP Tools v1.27.12036 in VSCode and PHP 8.1.
Now for the issue, so I am getting the following error regarding an aliased method (not sure if that's the correct language to describe this or not):
It should also be noted that origGetHexId
method does not appear in the Intellisense drop-down either (despite the other members of the class correctly appearing there):
Here is the most relevant portion of the class:
Finally, when I run the traits-and-precedence.php
file, it runs with no errors, and the output is exactly as expected.
It is always possible that I have done something incorrectly, but it appears to be an issue with PHP Tools to me.
Please let me know if you need any additional information. Thank you!