ObliviousHarmony / vscode-php-codesniffer

A VS Code extension for integrating PHP_CodeSniffer.
https://marketplace.visualstudio.com/items?itemName=obliviousharmony.vscode-php-codesniffer
Other
40 stars 2 forks source link

ERROR: Class file for report "ObliviousHarmony\VSCodePHPCSIntegration\VSCodeIntegration" not found #101

Closed Eitan-brightleaf closed 1 month ago

Eitan-brightleaf commented 1 month ago

Description

I just installed the extension today. At first it was working but than I started getting this error message: ERROR: Class file for report "ObliviousHarmony\VSCodePHPCSIntegration\VSCodeIntegration" not found every time I open a file and after that nothing happens. I'm not sure if I configured something wrong or not...

Thanks in advance

ObliviousHarmony commented 1 month ago

Hi @Eitan-brightleaf,

Would you mind sharing your configuration? I think you may have accidentally enabled the phpCodeSniffer.autoloadPHPCSIntegration setting. This allows folks to install my Composer package to get the report files instead of pulling them from the extension's directory.

You can read a little more about this behavior here.

Eitan-brightleaf commented 1 month ago

Hi @ObliviousHarmony. That was it. Thank you! Sorry for the trouble

ObliviousHarmony commented 1 month ago

No worries!