Skip to content

Commit 93e0a15

Browse files
committed
Add ComposerRequireChecker
1 parent 20e0b99 commit 93e0a15

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,12 @@ jobs:
6767
if: matrix.coding-standards
6868
run: php vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --diff --dry-run -v
6969

70+
- name: Analyze composer dependencies
71+
if: matrix.coding-standards
72+
run: |
73+
curl -LSs https://github.com/maglnet/ComposerRequireChecker/releases/latest/download/composer-require-checker.phar > composer-require-checker.phar
74+
php composer-require-checker.phar check composer.json
75+
7076
- name: Check license year
7177
if: matrix.coding-standards
7278
run: cat LICENSE |grep -E "\(c\) ([0-9]+\-)*`date +%G`"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
composer.lock
2+
/composer-require-checker.phar
23
.php-cs-fixer.cache
34
.phpunit.result.cache
45
vendor/

0 commit comments

Comments
 (0)