Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excluded paths do not work when using automatic standard #75

Closed
leonardola opened this issue May 11, 2023 · 0 comments · Fixed by #82
Closed

Excluded paths do not work when using automatic standard #75

leonardola opened this issue May 11, 2023 · 0 comments · Fixed by #82
Labels
bug Something isn't working

Comments

@leonardola
Copy link

Description

The Exclude paths blob check only happens here which happens after it tries to load the .phpcs file.

Reproduction Steps

  • Set the Standard to Automatic
  • Create a project with a folder and a php file inside it and no .phpcs file
  • Add the folder to the exclude list in the extension settings
  • Open the php file
  • The extension will throw an error saying the .phpcs file was not found.

Expected Behavior

when a folder/file is excluded the .phpcs file should not be searched

@ObliviousHarmony ObliviousHarmony added the bug Something isn't working label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants