File tree Expand file tree Collapse file tree 5 files changed +23
-24
lines changed Expand file tree Collapse file tree 5 files changed +23
-24
lines changed Original file line number Diff line number Diff line change 1010 phpstan :
1111 name : PHPStan
1212 runs-on : ubuntu-latest
13-
13+
1414 steps :
1515 - name : Checkout code
1616 uses : actions/checkout@v2
3131 - name : PHP-CS-Fixer
3232 uses : docker://oskarstark/php-cs-fixer-ga
3333 with :
34- args : --dry-run --diff-format udiff
34+ args : --dry-run
Original file line number Diff line number Diff line change 1- .php_cs
2- .php_cs .cache
1+ .php-cs-fixer.php
2+ .php-cs-fixer .cache
33/build /
44/composer.lock
55/phpspec.yml
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ $ finder = PhpCsFixer \Finder::create ()
4+ ->in (__DIR__ .'/src ' )
5+ ->name ('*.php ' )
6+ ;
7+
8+ $ config = (new PhpCsFixer \Config ())
9+ ->setRiskyAllowed (true )
10+ ->setRules ([
11+ '@Symfony ' => true ,
12+ ])
13+ ->setFinder ($ finder )
14+ ;
15+
16+ return $ config ;
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11parameters :
22 ignoreErrors :
33 -
4- message : " #^Method Http\\\\ Client\\\\ Exception\\\\ HttpException\\ :\\ :create\\ (\\ ) has no return typehint specified\\ .$#"
4+ message : " #^Method Http\\\\ Client\\\\ Exception\\\\ HttpException\\ :\\ :create\\ (\\ ) has no return type specified\\ .$#"
55 count : 1
66 path : src/Exception/HttpException.php
77
@@ -11,12 +11,11 @@ parameters:
1111 path : src/Exception/HttpException.php
1212
1313 -
14- message : " #^Method Http\\\\ Client\\\\ Exception\\\\ NetworkException\\ :\\ :setRequest\\ (\\ ) has no return typehint specified\\ .$#"
14+ message : " #^Method Http\\\\ Client\\\\ Exception\\\\ NetworkException\\ :\\ :setRequest\\ (\\ ) has no return type specified\\ .$#"
1515 count : 1
1616 path : src/Exception/NetworkException.php
1717
1818 -
19- message : " #^Method Http\\\\ Client\\\\ Exception\\\\ RequestException\\ :\\ :setRequest\\ (\\ ) has no return typehint specified\\ .$#"
19+ message : " #^Method Http\\\\ Client\\\\ Exception\\\\ RequestException\\ :\\ :setRequest\\ (\\ ) has no return type specified\\ .$#"
2020 count : 1
2121 path : src/Exception/RequestException.php
22-
You can’t perform that action at this time.
0 commit comments