File tree 5 files changed +23
-24
lines changed
5 files changed +23
-24
lines changed Original file line number Diff line number Diff line change 10
10
phpstan :
11
11
name : PHPStan
12
12
runs-on : ubuntu-latest
13
-
13
+
14
14
steps :
15
15
- name : Checkout code
16
16
uses : actions/checkout@v2
31
31
- name : PHP-CS-Fixer
32
32
uses : docker://oskarstark/php-cs-fixer-ga
33
33
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
3
3
/build /
4
4
/composer.lock
5
5
/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 1
1
parameters :
2
2
ignoreErrors :
3
3
-
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\\ .$#"
5
5
count : 1
6
6
path : src/Exception/HttpException.php
7
7
@@ -11,12 +11,11 @@ parameters:
11
11
path : src/Exception/HttpException.php
12
12
13
13
-
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\\ .$#"
15
15
count : 1
16
16
path : src/Exception/NetworkException.php
17
17
18
18
-
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\\ .$#"
20
20
count : 1
21
21
path : src/Exception/RequestException.php
22
-
You can’t perform that action at this time.
0 commit comments