File tree Expand file tree Collapse file tree 5 files changed +21
-20
lines changed Expand file tree Collapse file tree 5 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1919 - name : Run PHP-CS-Fixer
2020 uses : docker://jakzal/phpqa:php7.3-alpine
2121 with :
22- args : php-cs-fixer fix --dry-run --diff-format udiff -vvv
22+ args : php-cs-fixer fix --diff --dry-run -vvv
2323
2424 roave-bc-check :
2525 name : Roave BC Check
Original file line number Diff line number Diff line change 1+ /.php-cs-fixer.cache
12/build /
23/composer.lock
34/phpspec.yml
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ $ finder = PhpCsFixer \Finder::create ()
4+ ->exclude (__DIR__ .'/vendor ' )
5+ ->name ('*.php ' )
6+ ->in (__DIR__ )
7+ ;
8+
9+ $ config = new PhpCsFixer \Config ();
10+ return $ config ->setRules ([
11+ '@Symfony ' => true ,
12+ '@Symfony:risky ' => true ,
13+ 'array_syntax ' => ['syntax ' => 'short ' ],
14+ ])
15+ ->setRiskyAllowed (true )
16+ ->setFinder ($ finder )
17+ ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ DIR := ${CURDIR}
44QA_IMAGE := jakzal/phpqa:php7.3-alpine
55
66cs-fix :
7- @docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) php-cs-fixer fix --diff-format udiff -vvv
7+ @docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) php-cs-fixer fix --diff -vvv
88
99cs-diff :
10- @docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) php-cs-fixer fix --diff-format udiff --dry-run -vvv
10+ @docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) php-cs-fixer fix --diff --dry-run -vvv
1111
1212phpstan :
1313 @docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) phpstan analyze
You can’t perform that action at this time.
0 commit comments