Skip to content

Commit 66d3eba

Browse files
committed
Declare dependencies
A lot of the dependencies we use in the code were not declared. Since the library requires doctrine/dbal, it should be fine to require it in the bundle as well. Since this is a bundle, it should be fine to require Symfony components. Since psr/log is very widely used, it should be fine to require it.
1 parent 18a3801 commit 66d3eba

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

composer.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,18 @@
2525
"homepage": "https://www.doctrine-project.org",
2626
"require": {
2727
"php": "^7.2 || ^8.0",
28+
"doctrine/dbal": "^2 || ^3 || ^4",
2829
"doctrine/doctrine-bundle": "^2.4 || ^3.0",
2930
"doctrine/migrations": "^3.2",
31+
"psr/log": "^1 || ^2 || ^3",
32+
"symfony/config": "^5.4 || ^6.0 || ^7.0 || ^8.0",
33+
"symfony/console": "^5.4 || ^6.0 || ^7.0 || ^8.0",
34+
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0 || ^8.0",
3035
"symfony/deprecation-contracts": "^2.1 || ^3",
3136
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0 || ^8.0",
32-
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0"
37+
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0 || ^8.0",
38+
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
39+
"symfony/service-contracts": "^1.0 || ^2.0 || ^3.0"
3340
},
3441
"require-dev": {
3542
"composer/semver": "^3.0",

0 commit comments

Comments
 (0)