File tree Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Expand file tree Collapse file tree 4 files changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -53,13 +53,15 @@ jobs:
5353 with :
5454 composer-options : " --no-suggest"
5555
56+ - name : " Format the code"
57+ run : |
58+ mkdir .cache
59+ ./vendor/bin/phpcbf
60+
5661 # The -q option is required until phpcs v4 is released
5762 - name : " Run PHP_CodeSniffer"
5863 run : " vendor/bin/phpcs -q --no-colors --report=checkstyle | cs2pr"
5964
60- - name : " Format the code"
61- run : ./vendor/bin/phpcbf
62-
6365 - name : " Commit the changes"
6466 uses : stefanzweifel/git-auto-commit-action@v5
6567 with :
Original file line number Diff line number Diff line change 33* .sublime-workspace
44.DS_Store
55.idea /
6- .phpunit.cache /
7- .phpcs-cache
86/vendor
97composer.lock
108composer.phar
119phpunit.xml
1210phpstan.neon
13- /.cache /phpstan /
11+ /.cache /
Original file line number Diff line number Diff line change 33 <arg name =" basepath" value =" ." />
44 <arg name =" extensions" value =" php" />
55 <arg name =" parallel" value =" 80" />
6- <arg name =" cache" value =" .phpcs- cache" />
6+ <arg name =" cache" value =" .cache/phpcs " />
77 <arg name =" colors" />
88
99 <!-- Ignore warnings (n), show progress of the run (p), and show sniff names (s) -->
Original file line number Diff line number Diff line change 22<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
33 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.4/phpunit.xsd"
44 bootstrap =" vendor/autoload.php"
5- colors =" true"
6- cacheDirectory =" .phpunit.cache"
7- >
8- <coverage />
5+ cacheDirectory =" .cache/phpunit"
6+ executionOrder =" depends,defects"
7+ beStrictAboutCoverageMetadata =" true"
8+ beStrictAboutOutputDuringTests =" true"
9+ failOnRisky =" true"
10+ failOnWarning =" true" >
911 <testsuites >
1012 <testsuite name =" Test Suite" >
1113 <directory >tests/</directory >
1719 <env name =" SQLITE_DATABASE" value =" :memory:" />
1820 <env name =" QUEUE_CONNECTION" value =" database" />
1921 </php >
20- <source >
22+
23+ <source restrictDeprecations =" true"
24+ restrictNotices =" true"
25+ restrictWarnings =" true" >
2126 <include >
2227 <directory >./src</directory >
2328 </include >
You can’t perform that action at this time.
0 commit comments