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
Conversation
#SymfonyConHackday2017
I prefer to wait for the release of Symfony 4.0. Would you update the PR once that happened? |
/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' |
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.
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; |
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.
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' |
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.
MIN_STABILITY
😏
And would you squash all commits into one when done? |
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 |
You are definitively the best ❤️ |
Thanks, I hope I did not hold up your project for too much :) |
It's fine, @tibineogen. Thank you for contributing. ...and wish fulfilled, @Tilotiti. 👼 1.5.0 is out. ✨ |
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. |
True. Any idea on how to load individual fixtures now? |
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 |
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. |
#SymfonyConHackday2017