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 19
19
- name : Run PHP-CS-Fixer
20
20
uses : docker://jakzal/phpqa:php7.3-alpine
21
21
with :
22
- args : php-cs-fixer fix --dry-run --diff-format udiff -vvv
22
+ args : php-cs-fixer fix --diff --dry-run -vvv
23
23
24
24
roave-bc-check :
25
25
name : Roave BC Check
Original file line number Diff line number Diff line change
1
+ /.php-cs-fixer.cache
1
2
/build /
2
3
/composer.lock
3
4
/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}
4
4
QA_IMAGE := jakzal/phpqa:php7.3-alpine
5
5
6
6
cs-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
8
8
9
9
cs-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
11
11
12
12
phpstan :
13
13
@docker run --rm -v $(DIR ) :/project -w /project $(QA_IMAGE ) phpstan analyze
You can’t perform that action at this time.
0 commit comments