File tree Expand file tree Collapse file tree 4 files changed +14
-2
lines changed
Expand file tree Collapse file tree 4 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 22
33All Notable changes to the ** Quality Assurance - PHP** package.
44
5+ ## [ Unreleased]
6+
7+ ### Added
8+
9+ - Add Unused use statement rule to PHPCS checks.
10+
511## [ 2.0.0]
612
713### Added
@@ -46,6 +52,7 @@ Initial setup of the qa-php package:
4652- Add support for PHP 7.3+
4753- Add support for PHP 8.0+
4854
55+ [ 2.1.0 ] : https://github.com/district09/php_package_qa-php/compare/2.0.0...2.1.0
4956[ 2.0.0 ] : https://github.com/district09/php_package_qa-php/compare/1.1.0...2.0.0
5057[ 1.1.0 ] : https://github.com/district09/php_package_qa-php/compare/1.0.1...1.1.0
5158[ 1.0.1 ] : https://github.com/district09/php_package_qa-php/compare/1.0.0...1.0.1
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Add the `grumphp` entry to the `extra` section of your `composer.json`.
2020Add the qa-php package as dev requirement:
2121
2222``` bash
23- composer require --dev district09/qa-php:^1 .0
23+ composer require --dev district09/qa-php:^2 .0
2424```
2525
2626## Configuration
Original file line number Diff line number Diff line change 3232 "sort-packages" : true ,
3333 "allow-plugins" : {
3434 "ergebnis/composer-normalize" : true ,
35- "phpro/grumphp-shim" : true
35+ "phpro/grumphp-shim" : true ,
36+ "dealerdirect/phpcodesniffer-composer-installer" : true
3637 }
3738 },
3839 "autoload" : {
5455 "phpstan/phpstan-deprecation-rules" : " ^1.0" ,
5556 "phpunit/phpunit" : " ^9" ,
5657 "sebastian/phpcpd" : " ^6.0" ,
58+ "slevomat/coding-standard" : " ^8.15" ,
5759 "squizlabs/php_codesniffer" : " ^3.5.6" ,
5860 "symfony/filesystem" : " ^5.2|^6.0|^7.0"
5961 }
Original file line number Diff line number Diff line change 1313 <arg value =" np" />
1414
1515 <rule ref =" PSR12" ></rule >
16+
17+ <!-- Extra rules not included in PSR12. -->
18+ <rule ref =" SlevomatCodingStandard.Namespaces.UnusedUses" />
1619</ruleset >
You can’t perform that action at this time.
0 commit comments