-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
Fix build #303
Fix build #303
Conversation
🤔 the 7.4 job fails, maybe it doesn't pull the same deps as the other jobs? EDIT: doesn't look like it from the output |
I now believe this has to do with the data-fixtures lib |
I made a PR to address this: doctrine/data-fixtures#333 |
Ok so now it's slightly better… but the version of the lib I'm requiring requires php 7.2… should I drop 7.1? |
A backwards-compatibility layer has been added to persistence to help consumers move to the new namespacing. It is based on class aliases, which means the type declaration changes should not be a BC-break: types are the same. See doctrine/persistence#71 This means: - using the new namespaces - adding autoload calls for new types to types that may be extended and use persistence types in type declarations of non-constructor methods, so that signature compatibility is recognized by old versions of php. Luckily, there are none of those in this bundle. This explicitely requires the persistence lib, which was an unworded dependency of this bundle. I think it was not added because it the depency was not noticed, but there might be more implicit dependencies (doctrine/common, doctrine/doctrine-bundle). Addressing the deprecations fixes the unit tests, because one of them was expecting the old namespace in an exception message.
It is recommended to do so.
To be reverted on master, where the deprecation can be addressed by upgrading doctrine/data-fixtures (the latest version require php ^7.2, which we cannot use on 3.3.x).
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.
LGTM
No description provided.