-
-
Notifications
You must be signed in to change notification settings - Fork 41
Make compatible with DBAL 3 #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -25,7 +25,8 @@ | |||
}, | |||
"require-dev": { | |||
"doctrine/doctrine-bundle": "^1.6.12|^2.0", | |||
"doctrine/dbal": "~2.2", | |||
"doctrine/dbal": "^2.13.1|^3.1", | |||
"doctrine/orm": "^2.7.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ORM wasn't being loaded in at all, and the AclSchemaListener
class is an ORM event listener, so I added it in here as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add the ORM to the dependencies, we won't run tests against DBAL 3 because the ORM does not support it yet and thus blocks the installation. 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It’s one of those odd quirks right now. A package supporting the DBAL and ORM can work on DBAL 3 support, but can’t actually get DBAL 3 installed. Dependency chains are fun 😆
@@ -25,7 +25,8 @@ | |||
}, | |||
"require-dev": { | |||
"doctrine/doctrine-bundle": "^1.6.12|^2.0", | |||
"doctrine/dbal": "~2.2", | |||
"doctrine/dbal": "^2.13.1|^3.1", | |||
"doctrine/orm": "^2.7.3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we add the ORM to the dependencies, we won't run tests against DBAL 3 because the ORM does not support it yet and thus blocks the installation. 🤔
Thank you @mbabker! |
The only change needed is updating the
acl:init
command to not use the deprecated API.