Skip to content

Commit b48f2c7

Browse files
authored
Update PHP-CS-Fixer to v3.11 (#6)
1 parent 125c577 commit b48f2c7

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

.github/workflows/fix-cs-php.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ jobs:
1717
ref: ${{ github.head_ref }}
1818

1919
- name: Run PHP-CS-Fixer
20-
uses: docker://oskarstark/php-cs-fixer-ga:2.19.0
20+
uses: docker://oskarstark/php-cs-fixer-ga:3.11.0
2121

2222
- name: Commit and push back changes
2323
uses: stefanzweifel/git-auto-commit-action@v4
2424
with:
25-
commit_message: "Fix CS with PHP-CS-Fixer 2.19.0"
25+
commit_message: "Fix CS with PHP-CS-Fixer"

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
vendor/
2-
.php_cs.cache
2+
.php-cs-fixer.cache
33
.phpunit.result.cache
44
composer.lock

.php_cs.dist renamed to .php-cs-fixer.dist.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
return PhpCsFixer\Config::create()
3+
return (new PhpCsFixer\Config())
44
->setRules([
55
'@Symfony' => true,
66
'array_syntax' => array('syntax' => 'short'),

tests/NotModified/Annotation/ReplaceWithNotModifiedResponseTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public function lastModifiedDescriptionsCannotBeEmpty()
3535

3636
/**
3737
* @test
38+
*
3839
* @doesNotPerformAssertions
3940
*/
4041
public function stringAsSimpleLastModifiedDescription()
@@ -63,6 +64,7 @@ public function serviceNameAsLastModifiedDescription()
6364

6465
/**
6566
* @test
67+
*
6668
* @doesNotPerformAssertions
6769
*/
6870
public function arrayAslastModifiedDeterminatorDescriptionWithConstructorArguments()
@@ -83,6 +85,7 @@ public function lastModifiedDeterminatorsHaveToImplementInterface()
8385

8486
/**
8587
* @test
88+
*
8689
* @group time-sensitive
8790
*/
8891
public function determineLastModifiedDeterminesLastModifiedOfOneDeterminator()

0 commit comments

Comments
 (0)