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

[Maintenance] Remove php platform from composer #436

Merged
merged 4 commits into from
Oct 30, 2020

Conversation

lchrusciel
Copy link
Member

I've removed the platform from the composer to let flex detect the current environment based on used CLI PHP. In addition, I've added composer v2

Replacecment for #434

@lchrusciel lchrusciel requested a review from a team as a code owner October 27, 2020 14:15
@@ -39,7 +39,7 @@ jobs:

- echo "memory_limit=4096M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini

- composer self-update --1
- composer self-update --preview
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

composer self-update --2?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kept preview to have the newest versions, sometimes not stable even. We had it before v2 was announced, but I don't have a strong opinion about it. But if we will change it, I would go with --stable

use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;

final class Version20200916093101 extends AbstractMigration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shoudn't it be loaded automatically from the CoreBundle?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is opened to 1.7, where we don't have new migrations yet. During upmerge it should be removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed 👍

@Zales0123 Zales0123 merged commit 2710783 into Sylius:1.7 Oct 30, 2020
@Zales0123
Copy link
Member

Thank you, Łukasz! 🥇

@lchrusciel lchrusciel deleted the remove-platform branch October 30, 2020 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants