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

symfony 4 upgrade #16

Merged
merged 4 commits into from Dec 13, 2017
Merged

symfony 4 upgrade #16

merged 4 commits into from Dec 13, 2017

Conversation

tibineogen
Copy link
Contributor

#SymfonyConHackday2017

#SymfonyConHackday2017
@craue
Copy link
Owner

craue commented Nov 22, 2017

I prefer to wait for the release of Symfony 4.0. Would you update the PR once that happened?

@craue
Copy link
Owner

craue commented Dec 7, 2017

/ping @tibineogen

.travis.yml Outdated
@@ -28,6 +28,8 @@ matrix:
env: SYMFONY_VERSION='3.3.*'
- php: 5.6
env: SYMFONY_VERSION='3.4.*' MIN_STABILITY='dev'
- php: 7.1
env: SYMFONY_VERSION='4.*' DEPENDENCIES='beta'
allow_failures:
- env: SYMFONY_VERSION='3.4.*' MIN_STABILITY='dev'
Copy link
Owner

Choose a reason for hiding this comment

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

Please make it look like this:

    - php: 5.6
      env: SYMFONY_VERSION='3.4.*'
    - php: 7.1
      env: SYMFONY_VERSION='4.0.*'
    - php: 7.1
      env: SYMFONY_VERSION='4.1.*' MIN_STABILITY='dev'
  allow_failures:
    - env: SYMFONY_VERSION='4.1.*' MIN_STABILITY='dev'

.travis.yml Outdated
@@ -36,6 +38,8 @@ services:
- postgresql

install:
# suport for symfony 4.0
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
Copy link
Owner

Choose a reason for hiding this comment

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

This change can be removed as MIN_STABILITY is used (and handled) already. There's no reason to introduce DEPENDENCIES.

.travis.yml Outdated
- php: 7.1
env: SYMFONY_VERSION='4.0.*'
- php: 7.1
env: SYMFONY_VERSION='4.1.*' DEPENDENCIES='dev'
Copy link
Owner

Choose a reason for hiding this comment

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

MIN_STABILITY 😏

@craue
Copy link
Owner

craue commented Dec 12, 2017

And would you squash all commits into one when done?

@Tilotiti
Copy link
Contributor

I would be so greatfull if this pull could be out today. I've a big delivery tomorow and this is the last thing I need to finish.

You are the best <3

@craue craue merged commit 1602ed5 into craue:master Dec 13, 2017
@Tilotiti
Copy link
Contributor

You are definitively the best ❤️

@tibineogen
Copy link
Contributor Author

Thanks, I hope I did not hold up your project for too much :)

@craue
Copy link
Owner

craue commented Dec 13, 2017

It's fine, @tibineogen. Thank you for contributing.

...and wish fulfilled, @Tilotiti. 👼 1.5.0 is out. ✨

@Tilotiti
Copy link
Contributor

Just for information, the fixture method doesn't work anymore with SF4 and doctrine/doctrine-fixtures-bundle v3.0.2.

The Option --fixtures disappeared so we are not able to load it anymore.

@craue
Copy link
Owner

craue commented Dec 17, 2017

True. Any idea on how to load individual fixtures now?

@Tilotiti
Copy link
Contributor

Tilotiti commented Jan 3, 2018

I didn't used the fixture method (wich is supposed to be only on development environment). I used a command to integrate the zipcode file.

We maybe could adapt this command, implement it in the bundle, and just add an input option to locate the desired file.

https://gist.github.com/Tilotiti/5b69e938475abc896f902d5ea7d3ff93

@craue
Copy link
Owner

craue commented Jan 5, 2018

I also thought about adding a command instead, but a fixture is convenient and flexible. So I prefer waiting for a solution within DoctrineFixturesBundle itself, probably by doctrine/DoctrineFixturesBundle#219 (comment) becoming implemented.

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

3 participants