bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.6k stars 94 forks source link

Unexpected 'unexpected' error #1654

Closed yarkingulacti closed 3 years ago

yarkingulacti commented 3 years ago

Describe the bug It says in Problems ';' expected. Unexpected 'Unknown' where there was nothing before.

To Reproduce

namespace App\Actions\Fortify;

use App\Models\User;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
use Laravel\Fortify\Contracts\CreatesNewUsers;
use Laravel\Jetstream\Jetstream;

Expected behavior Expected no errors.

Screenshots https://imgur.com/a/OSh0EA9

Platform and version 1.6.3 | Windows 10 Pro

bmewburn commented 3 years ago

I can't reproduce this with the supplied example. Are you sure these are coming from this extension? I don't see intelephense in the problem UI.

febrihidayan commented 3 years ago

I believe this is the fault of PHP IntelliSense, @YarkinGulacti ? please return information