Getting General errors in VSCode on PHP files and Laravel

one text

I'm using VS Code and I get a lot of errors that do not exist at all and there is no reason to accept them.

I have included 2 images that show the problem.

image from my PHP project that shows the errors I get

image from my Laravel projects that shows the errors I get

Source