File tree 4 files changed +7
-7
lines changed
4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 13
13
- name : Fix style
14
14
uses : docker://oskarstark/php-cs-fixer-ga
15
15
with :
16
- args : --config=.php_cs --allow-risky=yes
16
+ args : --config=.php-cs-fixer.dist.php --allow-risky=yes
17
17
18
18
- name : Extract branch name
19
19
shell : bash
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ composer.lock
3
3
vendor
4
4
docs
5
5
.phpunit.result.cache
6
- .php_cs .cache
6
+ .php-cs-fixer .cache
Original file line number Diff line number Diff line change 13
13
->ignoreDotFiles (true )
14
14
->ignoreVCS (true );
15
15
16
- return PhpCsFixer \Config:: create ( )
16
+ return ( new PhpCsFixer \Config )
17
17
->setRules ([
18
18
'@PSR2 ' => true ,
19
19
'array_syntax ' => ['syntax ' => 'short ' ],
20
- 'ordered_imports ' => ['sortAlgorithm ' => 'alpha ' ],
20
+ 'ordered_imports ' => ['sort_algorithm ' => 'alpha ' ],
21
21
'no_unused_imports ' => true ,
22
22
'not_operator_with_successor_space ' => true ,
23
- 'trailing_comma_in_multiline_array ' => true ,
23
+ 'trailing_comma_in_multiline ' => true ,
24
24
'phpdoc_scalar ' => true ,
25
25
'unary_operator_spaces ' => true ,
26
26
'binary_operator_spaces ' => true ,
31
31
'phpdoc_var_without_name ' => true ,
32
32
'class_attributes_separation ' => [
33
33
'elements ' => [
34
- 'method ' , 'property ' ,
34
+ 'method ' => 'one ' ,
35
+ 'property ' => 'one ' ,
35
36
],
36
37
],
37
38
'method_argument_space ' => [
Original file line number Diff line number Diff line change @@ -47,5 +47,4 @@ public function it_contains_the_necessary_css_classes_for_javascript_functionali
47
47
$ this ->assertStringContainsString ('js-cookie-consent ' , $ html );
48
48
$ this ->assertStringContainsString ('js-cookie-consent-agree ' , $ html );
49
49
}
50
-
51
50
}
You can’t perform that action at this time.
0 commit comments