-
-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VS Code - intelephense(1009) error #140
Comments
Hi 👋,
Intelephense 1.3 added undefined type, function, constant, class constant,
method, and property diagnostics, where previously in 1.2 there was only
undefined variable diagnostics.
The package has some variables that not be defined by default that's why vs
code throw intelephense error.
…On Thu, Aug 11, 2022, 9:20 AM Iwan Suryawan ***@***.***> wrote:
- Sweet-Alert Package Version: v5.1.0
- Laravel Version: v9.19.0
- VS Code Version v1.70.0
Description:
Hi, I'm happy to use this alert and works well in my application.
But it's bit annoying to see VS Code gives "intelephense(1009) error" for
the *Alert* class as shown;
[image: image]
<https://user-images.githubusercontent.com/50900696/184063514-b874f6e0-506c-4ca3-8e77-d053e7d8f120.png>
I'm still new in Laravel, hope there's a way to fix this ... since we like
to see our code clean & sharp, thank you.
—
Reply to this email directly, view it on GitHub
<#140>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADXCPBMRYKZLBC4SGL6B2RLVYR5SPANCNFSM56GYGQJA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Closed Due to inactivity.. |
Hi, Turns out it just need to restart VS Code, after installing SWAL & publish to config .. for some reason pHp Intelephense does not initialize SWAL automatically. Restarting VS Code fix the issue ... Thank You |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
Hi, I'm happy to use this alert and works well in my application.
But it's bit annoying to see VS Code gives "intelephense(1009) error" for the Alert class as shown;
I'm still new in Laravel, hope there's a way to fix this ... since we like to see our code clean & sharp, thank you.
The text was updated successfully, but these errors were encountered: