Skip to content

Commit e9aa66f

Browse files
committed
Use Fabbot in the CI
Inspired by symfony/panther#684 Signed-off-by: Hugo Alliaume <[email protected]>
1 parent a227377 commit e9aa66f

File tree

5 files changed

+0
-40
lines changed

5 files changed

+0
-40
lines changed
File renamed without changes.

.github/workflows/static.yml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,6 @@ jobs:
2828
- name: PHPStan
2929
run: tools/phpstan/vendor/bin/phpstan analyze --no-progress --error-format=checkstyle | cs2pr
3030

31-
php-cs-fixer:
32-
name: PHP-CS-Fixer
33-
runs-on: ubuntu-22.04
34-
35-
steps:
36-
- name: Checkout code
37-
uses: actions/checkout@v2
38-
39-
- name: Setup PHP
40-
uses: shivammathur/setup-php@v2
41-
with:
42-
php-version: 8.1
43-
coverage: none
44-
tools: cs2pr
45-
46-
- name: Install php-cs-fixer
47-
uses: ramsey/composer-install@v1
48-
with:
49-
composer-options: "--working-dir=tools/php-cs-fixer"
50-
51-
- name: PHP-CS-Fixer
52-
run: tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff
53-
5431
psalm:
5532
name: Psalm
5633
runs-on: ubuntu-22.04

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ phpunit.xml
33
tools/*/composer.lock
44
tools/*/vendor
55
vendor/
6-
.php-cs-fixer.cache
76
.phpunit.result.cache

CONTRIBUTING.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,6 @@ tools/phpstan/vendor/bin/phpstan analyze
1515
tools/phpstan/vendor/bin/phpstan analyze --generate-baseline
1616
```
1717

18-
PHP CS Fixer
19-
------------
20-
21-
```bash
22-
composer install --working-dir=tools/php-cs-fixer
23-
# Check what can be fixed
24-
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --dry-run --diff
25-
# Fix them
26-
tools/php-cs-fixer/vendor/bin/php-cs-fixer fix --diff
27-
```
28-
2918
Psalm
3019
-----
3120

tools/php-cs-fixer/composer.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)