Skip to content

Commit 1a49537

Browse files
authored
Use local version of phplint
1 parent 69c9bca commit 1a49537

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/reusable_phplinter.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,12 @@ jobs:
4343
tools: phive
4444
php-version: ${{ inputs.php-version }}
4545
coverage: "none"
46+
tools: composer
47+
# A conflict exists between overtrue/phplint and redis
4648
extensions: :redis
4749

4850
- name: Install overtrue/phplint (v9.7)
49-
run: |
50-
sleep $((random % 10))
51-
phive install overtrue/phplint@~9.7.1 --force-accept-unsigned --target ./bin
51+
run: composer require overtrue/phplint
5252

5353
- name: Lint PHP files
54-
run: |
55-
./bin/phplint --no-cache --no-progress -v
54+
run: vendor/bin/phplint --no-cache --no-progress -v

0 commit comments

Comments
 (0)