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 doctrine migrations #318

Closed
wants to merge 1 commit into from
Closed

Fix doctrine migrations #318

wants to merge 1 commit into from

Conversation

lemuelroberto
Copy link
Contributor

@lemuelroberto lemuelroberto commented Jan 19, 2019

Fix #317 issue.

Context:

The commit 060d162 updated the composer
dependencies and introduced some breakages.

The composer.lock was using the doctrine/doctrine-migrations-bundle:v1.3.2
and the doctrine/migrations:v1.8.1 versions.

The doctrine/migrations package major upgrade to the v2.0.0 version changed
the autoload namespace of AbstractMigration class and started to use the new
PHP 7.0 return type declarations feature.

Context:

The commit 060d162 updated the composer
dependencies and introduced some breakages.

The composer.lock was using the doctrine/doctrine-migrations-bundle:v1.3.2
and the doctrine/migrations:v1.8.1 versions.

The doctrine/migrations package major upgrade to the v2.0.0 version changed
the autoload namespace of AbstractMigration class and started to use the new
PHP 7.0 return type declarations feature.

Fix #317
@lemuelroberto lemuelroberto requested a review from a team as a code owner January 19, 2019 14:01
@Zales0123
Copy link
Member

Hello @lemuelroberto and thank you for this fix! Two more things should be done to make it work:

  1. Copying this migration as new fields has been added recently
  2. Running vendor/bin/ecs check src/ --fix to fix ecs-related problems

Good luck! :)

@lemuelroberto
Copy link
Contributor Author

Hi @Zales0123 for your support.

I'll work this through soon :)

@Zales0123
Copy link
Member

Thank you @lemuelroberto for your work, there was a lot of other fixes that were required to make build green, I've included your changes in #322. Thank you!

@Zales0123 Zales0123 closed this Jan 22, 2019
pamil added a commit that referenced this pull request Jan 22, 2019
This PR was merged into the 1.3-dev branch.

Discussion
----------

It contains changes from #318

Commits
-------

5b5282c Fix doctrine migrations
0603090 Add missing migration and remove unused use statements
2a1bce1 Use SymfonyExtension 2.0
fbc4abd After rebase fixes
40e1547 PR review fixes
windragon0910 added a commit to windragon0910/symfony_ecom_framework that referenced this pull request Oct 25, 2023
This PR was merged into the 1.3-dev branch.

Discussion
----------

It contains changes from Sylius/Sylius-Standard#318

Commits
-------

5b5282c3522cf7e53d1875320798cdd9661e5c45 Fix doctrine migrations
0603090c4a8687cded4e036c89ea424abcd5599f Add missing migration and remove unused use statements
2a1bce1fc2656c8a6f96902020a905c3f20a021f Use SymfonyExtension 2.0
fbc4abdcd450c0ad70ff1649690991d429780b91 After rebase fixes
40e154759bcdfb0a8446d4d24f5d805b5f258bd0 PR review fixes
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.

2 participants