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
Describe the bug
Fails to index file, causes the class being used not being recognized, underlines its uses as error.
To Reproduce
Create a new PHP project having "async-aws/core" dependency.
Open the project folder with VS Code
Open the intelephense output log in VS Code to see error
Expected behavior
Index the async-aws/core/src/Configuration.php class.
Able to have intelisense on use AsyncAws\Core\Configuration.
Screenshots
[Info - 3:04:55 PM] Indexing started.
[Error - 3:05:05 PM] Failed to index file:///Users/u/other-projects/test-intelephense/vendor/async-aws/core/src/Configuration.php TypeError: Cannot read properties of undefined (reading 'match')
at t.isWhitespace (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:3177359)
at Y (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2740668)
at /Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2741749
at W (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2741791)
at Y (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2740433)
at l (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2736748)
at r (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2732012)
at /Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2745017
at e.parse (/Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2745064)
at /Users/u/.vscode/extensions/bmewburn.vscode-intelephense-client-1.12.6/node_modules/intelephense/lib/intelephense.js:2:2474194
Platform and version
Intelephense version
v1.12.6 [ERROR]
v1.12.0 [ERROR]
v1.10.4 [WORKING]
VS Code version 1.95.3
OS attempted on
Ubuntu 18
Ubuntu 24
MacOS 14.6.1
NodeJS version
16
22
The text was updated successfully, but these errors were encountered:
Describe the bug
Fails to index file, causes the class being used not being recognized, underlines its uses as error.
To Reproduce
"async-aws/core"
dependency.Expected behavior
Index the
async-aws/core/src/Configuration.php
class.Able to have intelisense on
use AsyncAws\Core\Configuration
.Screenshots
Platform and version
Intelephense version
VS Code version 1.95.3
OS attempted on
NodeJS version
The text was updated successfully, but these errors were encountered: