-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refine and clean up the include/exclude patterns in phpcs.xml.dist: (#…
…59712) 1. removed unnecessary dots at the start of include/exclude patterns; 2. added leading slashes to patterns to ensure they match the intended paths without accidentally including unintended ones; 3. escaped dots as `\.` to match literal dots in file paths, enhancing the precision of the patterns, as advised by PHP_CodeSniffer's [documentation](https://github.com/squizlabs/PHP_CodeSniffer/wiki/Advanced-Usage#ignoring-files-and-folders); 4. added `$` to the end of patterns targeting `.php` files to ensure they match only at the end of file paths. Co-authored-by: anton-vlasenko <[email protected]> Co-authored-by: ironprogrammer <[email protected]> Co-authored-by: scruffian <[email protected]> Co-authored-by: azaozz <[email protected]>
- Loading branch information
1 parent
a6c0757
commit 6c86365
Showing
1 changed file
with
19 additions
and
19 deletions.
There are no files selected for viewing
This file contains 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