Skip to content

Commit 8fd6dd4

Browse files
committed
Add missing dependency
1 parent 7a7058e commit 8fd6dd4

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/tests.yml

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

71+
- name: Analyze composer dependencies
72+
if: matrix.coding-standards
73+
run: |
74+
curl -LSs https://github.com/maglnet/ComposerRequireChecker/releases/latest/download/composer-require-checker.phar > composer-require-checker.phar
75+
php composer-require-checker.phar check composer.json
76+
7177
- name: Check license year
7278
if: matrix.coding-standards
7379
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/

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
},
1919
"require": {
2020
"php": "^7.2|^8.0",
21+
"doctrine/collections": "^1.5",
2122
"doctrine/common": "^2.11|^3.0",
2223
"doctrine/orm": "^2.7"
2324
},

0 commit comments

Comments
 (0)