Skip to content

Commit 6939fe5

Browse files
committed
Fix path to PHPCS cache on CI
1 parent 89235db commit 6939fe5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/format_php.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
- name: Retrieve PHPCS‘s cache
4444
uses: actions/cache@v3
4545
with:
46-
path: .phpcs.cache
46+
path: .cache/phpcs
4747
key: ${{ runner.os }}-phpcs-${{ hashFiles('phpcs.xml') }}
4848
restore-keys: |
4949
${{ runner.os }}-phpcs-

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
}
3232
},
3333
"scripts": {
34-
"cs:check": "phpcs -p -s --colors --report-full --report-summary --cache=./.cache/phpcs",
35-
"cs:fix": "phpcbf -p --colors --cache=./.cache/phpcs",
34+
"cs:check": "phpcs -p -s --colors --report-full --report-summary --cache=.cache/phpcs",
35+
"cs:fix": "phpcbf -p --colors --cache=.cache/phpcs",
3636
"test": "phpunit",
3737
"psalm": "psalm"
3838
}

0 commit comments

Comments
 (0)