I installed php-cs-fixer locally and added some extensions.
This extension reads the config file, sees the extensions and throws because it can't import them.
This happens because it's not using the php-cs-fixer from the project. When I change my VSCode setting and change the executablePath to an absolute path to the project php-cs-fixervendor executable it works again.
EDIT: The executable path that doesn't work is "php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar".
I installed
php-cs-fixer
locally and added some extensions. This extension reads the config file, sees the extensions and throws because it can't import them. This happens because it's not using thephp-cs-fixer
from the project. When I change my VSCode setting and change theexecutablePath
to an absolute path to the projectphp-cs-fixer
vendor
executable it works again.EDIT: The executable path that doesn't work is
"php-cs-fixer.executablePath": "${extensionPath}/php-cs-fixer.phar"
.