I’ve tried to clone a Laravel project from my Docker-Laravel repository. After installing the composer the vendor folder is added with a red color, and I’m getting errors like the below images in files inside the vendor:
I think this is because of the PHP configuration but I don’t know how to fix this. everything is alright in PHPStorm.
The installed PHP address is /opt/homebrew/opt/[email protected]/bin/php and I’ve added this address to setting.json file of VSCode with "php.executablePath": "/opt/homebrew/opt/[email protected]/bin/php" code
Also I’ve added the export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH" to the ~/.zshrc file.
This doesn’t pause my work but it’s annoying to see these red alerts. How can I solve this?
