You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When reviewing PRs in VSCode, I get the following linter error:
Class name App\Actions\MyAction does not match filepath STDIN.
(SlevomatCodingStandard.Files.TypeNameMatchesFileName.NoMatchBetweenTypeNameAndFileName)phpcs
I believe this is due to the diffed files being displayed from memory. Is there a recommended way to set up the linter to not throw errors for this circumstance?
I have tried the following rule, but not quite sure how to structure the rule, as it basically needs to apply to any namespace:
When reviewing PRs in VSCode, I get the following linter error:
I believe this is due to the diffed files being displayed from memory. Is there a recommended way to set up the linter to not throw errors for this circumstance?
I have tried the following rule, but not quite sure how to structure the rule, as it basically needs to apply to any namespace:
Thanks for your assistance!
The text was updated successfully, but these errors were encountered: