File tree Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Expand file tree Collapse file tree 4 files changed +2
-28
lines changed Original file line number Diff line number Diff line change 85
85
fail-fast : false
86
86
matrix :
87
87
command :
88
- - sniffer
89
88
- fixer
90
89
- stan
91
90
php-version :
@@ -120,7 +119,7 @@ jobs:
120
119
121
120
- name : Install development tools
122
121
run : |
123
- phive --no-progress install --trust-gpg-keys BBAB5DF0A0D6672989CF1869E82B2FB314E9906E,95DE904AB800754A11D80B605E6DDE998AB73B8E
122
+ phive --no-progress install --trust-gpg-keys BBAB5DF0A0D6672989CF1869E82B2FB314E9906E
124
123
125
124
- name : Run Command
126
125
run : composer ci:php:${{ matrix.command }}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phive xmlns =" https://phar.io/phive" >
3
3
<phar name =" php-cs-fixer" version =" ^3.49.0" installed =" 3.49.0" location =" ./.phive/php-cs-fixer.phar" copy =" false" />
4
- <phar name =" phpcbf" version =" ^3.8.1" installed =" 3.8.1" location =" ./.phive/phpcbf.phar" copy =" false" />
5
- <phar name =" phpcs" version =" ^3.8.1" installed =" 3.8.1" location =" ./.phive/phpcs.phar" copy =" false" />
6
4
</phive >
Original file line number Diff line number Diff line change 65
65
" @ci:static"
66
66
],
67
67
"ci:php:fixer" : " @php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix --dry-run -v --show-progress=dots bin src tests" ,
68
- "ci:php:sniffer" : " @php ./.phive/phpcs.phar --standard=config/phpcs.xml bin src tests" ,
69
68
"ci:php:stan" : " phpstan --no-progress --configuration=config/phpstan.neon" ,
70
69
"ci:static" : [
71
70
" @ci:php:fixer" ,
72
- " @ci:php:sniffer" ,
73
71
" @ci:php:stan"
74
72
],
75
73
"fix:php" : [
76
- " @fix:php:fixer" ,
77
- " @fix:php:sniffer"
74
+ " @fix:php:fixer"
78
75
],
79
76
"fix:php:fixer" : " @php ./.phive/php-cs-fixer.phar --config=config/php-cs-fixer.php fix bin src tests" ,
80
- "fix:php:sniffer" : " @php ./.phive/phpcbf.phar --standard=config/phpcs.xml bin src tests" ,
81
77
"phpstan:baseline" : " phpstan --configuration=config/phpstan.neon --generate-baseline=config/phpstan-baseline.neon"
82
78
},
83
79
"scripts-descriptions" : {
84
80
"ci" : " Runs all dynamic and static code checks (i.e. currently, only the static checks)." ,
85
81
"ci:php:fixer" : " Checks the code style with PHP CS Fixer." ,
86
- "ci:php:sniffer" : " Checks the code style with PHP_CodeSniffer." ,
87
82
"ci:php:stan" : " Checks the types with PHPStan." ,
88
83
"ci:static" : " Runs all static code analysis checks for the code." ,
89
84
"fix:php" : " Autofixes all autofixable issues in the PHP code." ,
90
85
"fix:php:fixer" : " Fixes autofixable issues found by PHP CS Fixer." ,
91
- "fix:php:sniffer" : " Fixes autofixable issues found by PHP_CodeSniffer." ,
92
86
"phpstand:baseline" : " Updates the PHPStan baseline file to match the code."
93
87
}
94
88
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments