Skip to content
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 DiffGenerator #823

Merged
merged 1 commit into from May 24, 2019
Merged

Fix DiffGenerator #823

merged 1 commit into from May 24, 2019

Conversation

enumag
Copy link
Contributor

@enumag enumag commented May 17, 2019

Q A
Type bug
BC Break no
Fixed issues doctrine/DoctrineBundle#971

Summary

The getFilterSchemaAssetsExpression method is deprecated and with DoctrineBundle 1.11 it no longer returns the filter used in Symfony configuration. Because of that the schema filter was not applied and migrations generated extra tables in our system.

@enumag
Copy link
Contributor Author

enumag commented May 17, 2019

Btw. any reason for having a lock file committed in the repo? Afaik it's not considered good practice for libraries.

@enumag enumag force-pushed the patch-2 branch 3 times, most recently from d086b5f to 323e4d6 Compare May 17, 2019 08:55
@weaverryan
Copy link
Contributor

@enumag The Doctrine team decided to commit the lock file. There are reasons for it - so it's not by accident :)

@enumag
Copy link
Contributor Author

enumag commented May 20, 2019

@weaverryan Obviously. What are the reasons?

@jwage
Copy link
Member

jwage commented May 20, 2019

@enumag We have some information about that here https://www.doctrine-project.org/policies.html

@enumag
Copy link
Contributor Author

enumag commented May 20, 2019

@jwage I don't necessarily agree with the policy since you won't get notified about test failures caused by newer versions of other libraries. Tools like phpstan could be version-locked in the composer.json instead. But anyway thanks for the link.

@bendavies
Copy link
Contributor

The same issue exists in doctrine-fixtures, FYI.

@enumag
Copy link
Contributor Author

enumag commented May 24, 2019

So... can anyone do a review for me here?

@jwage jwage added this to the 2.1.0 milestone May 24, 2019
@jwage jwage self-assigned this May 24, 2019
@jwage jwage merged commit 6be28a9 into doctrine:master May 24, 2019
@jwage
Copy link
Member

jwage commented May 24, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants