I'm currently facing an issue with development that propagates very far through a code base making use of Spatie\Enum\Laravel\Enum due to an ambiguity with the new enum keyword.
Because PHP Tools fails to differentiate the name as part of a namespace, it stops analyzing the rest of the file and subsequently fails to recognize references throughout the project.
The code runs fine, the only issue is partially broken linting (and whatever impact that has on the project's progress speed).
Was hoping the issue would fix itself after some updates, but alas.


Was hoping the issue would fix itself after some updates, but alas.
Env info
OS: Windows 10
IDE: Visual Studio Code, also in VS Codium
PHP version: 8.1
PHP Tools version: 1.23.11293, also with pre-release 1.23.11333
I'm currently facing an issue with development that propagates very far through a code base making use of


Spatie\Enum\Laravel\Enumdue to an ambiguity with the newenumkeyword.Because PHP Tools fails to differentiate the name as part of a namespace, it stops analyzing the rest of the file and subsequently fails to recognize references throughout the project.
The code runs fine, the only issue is partially broken linting (and whatever impact that has on the project's progress speed).
Was hoping the issue would fix itself after some updates, but alas.
Was hoping the issue would fix itself after some updates, but alas.
Env info
OS: Windows 10
IDE: Visual Studio Code, also in VS Codium
PHP version: 8.1
PHP Tools version: 1.23.11293, also with pre-release 1.23.11333