Skip to content

Commit e7b1633

Browse files
committed
returning support for php 8.1
1 parent e9b1d38 commit e7b1633

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

.github/workflows/deptrac.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,9 @@ jobs:
3434
- name: Install dependencies
3535
run: composer install --prefer-dist --no-progress
3636

37+
- name: Install deptrac
38+
run: composer req --dev qossmic/deptrac-shim
39+
if: hashFiles('vendor/bin/deptrac') == ''
40+
3741
- name: Run deptrac
38-
run: composer deptrac
42+
run: php vendor/bin/deptrac analyse

.github/workflows/phpunits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
php-versions: [7.4, 8.0] # , 8.1
21+
php-versions: [7.4, 8.0, 8.1]
2222
databases: [testing, pgsql, mysql, mariadb]
2323
caches: [array, redis, memcached]
2424

composer.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"phpstan/phpstan": "^1.1",
4242
"phpunit/phpunit": "^9.5",
4343
"psalm/plugin-laravel": "^1.5",
44-
"qossmic/deptrac-shim": "^0.16.0",
4544
"symplify/easy-coding-standard": "^9.4",
4645
"vimeo/psalm": "^4.12"
4746
},
@@ -70,8 +69,7 @@
7069
"ecs-fix": "@php vendor/bin/ecs check --fix",
7170
"ecs-cc": "@php vendor/bin/ecs --clear-cache",
7271
"psalm": "@php vendor/bin/psalm",
73-
"psalm-cc": "@php vendor/bin/psalm --clear-cache",
74-
"deptrac": "@php vendor/bin/deptrac analyse"
72+
"psalm-cc": "@php vendor/bin/psalm --clear-cache"
7573
},
7674
"extra": {
7775
"laravel": {

0 commit comments

Comments
 (0)