Skip to content

Commit fde191d

Browse files
committed
Fixing php cs + making CI fails more clear
The cs2pr was not, for some reason, always showing results. So, just print the diff in the CI: simple
1 parent b2e03eb commit fde191d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ jobs:
1010
- uses: shivammathur/setup-php@v2
1111
with:
1212
php-version: '8.0'
13-
tools: php-cs-fixer, cs2pr
13+
tools: php-cs-fixer
1414
- name: php-cs-fixer
15-
run: php-cs-fixer fix --dry-run --format=checkstyle | cs2pr
15+
run: php-cs-fixer fix --dry-run --diff
1616

1717
coding-style-js:
1818
runs-on: ubuntu-latest

src/Autocomplete/tests/Functional/FieldAutocompleterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public function testItEnforcesSecurity(): void
7979
;
8080
}
8181

82-
public function testItCheckMaxResultsOption() : void
82+
public function testItCheckMaxResultsOption(): void
8383
{
8484
CategoryFactory::createMany(30, ['name' => 'foo']);
8585

0 commit comments

Comments
 (0)