Skip to content

Commit ccf5d94

Browse files
committed
imp: install PHP-CS-Fixer locally, allowing us to run in locally
1 parent 8e3c70c commit ccf5d94

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-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
13+
- uses: ramsey/composer-install@v2
1414
- name: php-cs-fixer
15-
run: php-cs-fixer fix --dry-run --diff
15+
run: ./vendor/bin/php-cs-fixer fix --dry-run --diff
1616

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

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "symfony/ux",
33
"license": "MIT",
44
"require-dev": {
5-
"symfony/filesystem": "^5.2|^6.0"
5+
"symfony/filesystem": "^5.2|^6.0",
6+
"friendsofphp/php-cs-fixer": "^3.13"
67
}
78
}

0 commit comments

Comments
 (0)