File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
4
4
# PHP_Codesniffer baseline
5
5
6
- PHP_Codesniffer extension to allow baselining existing issues until [ PR:3387] ( https://github.com/squizlabs/PHP_CodeSniffer/pull/3387 ) is accepted.
6
+ To be able to add PHP_Codesniffer or adding new rules to an existing project, it is not always possible to solve
7
+ all the new issues that appear. As PHPCodesniffer doesn't have a baseline mechanism and while
8
+ [ PR:3387] ( https://github.com/squizlabs/PHP_CodeSniffer/pull/3387 ) is not accepted yet, this package can be used to
9
+ baseline your projects current issues.
7
10
8
11
## Getting Started
9
12
@@ -26,7 +29,8 @@ file and skip errors that are contained within the baseline.
26
29
27
30
As PHP_Codesniffer doesn't have a nice and clean way to add an extension, this package will inject a single line of code
28
31
into the ` /vendor/squizlabs/php_codesniffer/src/Files/File.php ` upon ` composer install ` or ` composer update ` . While this
29
- is a fragile solution, this is only until [ PR:3387] ( https://github.com/squizlabs/PHP_CodeSniffer/pull/3387 ) is accepted.
32
+ is a fragile solution, this is only until [ PR:3387] ( https://github.com/squizlabs/PHP_CodeSniffer/pull/3387 ) is accepted
33
+ or another baseline method has been added.
30
34
31
35
## About us
32
36
You can’t perform that action at this time.
0 commit comments