-
-
Notifications
You must be signed in to change notification settings - Fork 82
Improve error message for an invalid sniff code #344
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
Merged
jrfnl
merged 23 commits into
PHPCSStandards:master
from
fredden:feature/improve-sniff-code-error-message
Feb 12, 2025
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
4d5b0c4
Improve error message for an invalid sniff code
fredden 8dd0102
Update src/Config.php
fredden 995522f
Update src/Config.php
fredden 792cf66
Report all errors, even if duplicates
fredden 4ed5733
Filter out empty values sooner
fredden 9850de4
Complain if nothing (or only commas) specified
fredden 95d5955
Ignore case when removing duplicates from final list
fredden 5c48598
Add missing `@covers` annotation
fredden d36d44a
Update src/Config.php
fredden c2aec40
Remove invalid assumption regarding valid characters
fredden d5f5fe0
Update test to reflect change via GitHub
fredden 994bb1c
Update test: treat empty values as errors
fredden af962dc
Merge remote-tracking branch 'upstream/master' into feature/improve-s…
fredden 0dcd4ef
Remove unused variable
fredden bccdffc
Update docblocks to match reality
fredden 3421e00
Apply whitespace changes from phpcbf
fredden 99753e8
Add more tests
fredden d1bfb0a
Apply whitespace changes from phpcbf
fredden b270da2
Move method further up the file
fredden d0e1cf8
Correct param type for $errors
fredden b127df4
Use phpstan-style return types
fredden 5b5208b
Remove word 'sniffs' from method names
fredden f87a5e1
Use a different syntax for special comments
fredden File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fredden marked this conversation as resolved.
Show resolved
Hide resolved
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.