Skip to content

Commit ba21633

Browse files
committed
Add composer-dependency-analyser
1 parent 77685c5 commit ba21633

File tree

4 files changed

+74
-1
lines changed

4 files changed

+74
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ jobs:
4242
- name: Check composer.json normalization
4343
run: composer normalize --diff --dry-run
4444

45+
- name: Check dependencies
46+
run: vendor/bin/composer-dependency-analyser
47+
4548
- name: Run PHP CS Fixer
4649
run: vendor/bin/php-cs-fixer check --diff
4750

captainhook.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@
1212
{
1313
"action": "composer normalize --diff --dry-run"
1414
},
15+
{
16+
"action": "vendor/bin/composer-dependency-analyser"
17+
},
1518
{
1619
"action": "\\CaptainHook\\App\\Hook\\PHP\\Action\\Linting"
1720
},

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
"phpstan/phpstan": "^2.1",
2525
"phpunit/phpunit": "^12.3",
2626
"ruudk/readme-examples-sync-hook": "^1.0",
27+
"shipmonk/composer-dependency-analyser": "^1.8",
2728
"ticketswap/php-cs-fixer-config": "^1.0",
2829
"ticketswap/phpstan-error-formatter": "^1.1"
2930
},

composer.lock

Lines changed: 67 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)