-
-
Notifications
You must be signed in to change notification settings - Fork 192
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
Compatibility with Symfony 3.0 #232
Conversation
This problem will not occur for people that use Behat 3.0.15 or lower since those versions still require Let's be ready in any case. |
There were multiple affected Yaml files. There is also a strange error occurring which I cannot replicate locally:
I've increased the debugging information on Travis, hope to get some pointers from that. It's strange that it even tries to load the |
For some reason Composer resolved DrupalDriver to version 1.0.8. In |
Hah! This one's green but now it reverted back to |
This is probably it: commit 84c1ff5c. Will make a PR on the DrupalDriver side. |
The last test run proves that it now works using Symfony 3.0 on PHP5.5+, but it didn't fall back to 2.8 on PHP5.4, hence the failure. |
In any case the actual changes (the quoting of the yaml files) should be harmless on either version. |
Woot! Persistence is the key to success! Now that it's proven that it works, I'll clean up the branch. |
I've merged jhedstrom/DrupalDriver#72 |
Actually, let's wait for the sister pull request in DrupalDriver (jhedstrom/DrupalDriver#72), then I can rebase this branch and get rid of all the exploratory commits easily. |
494c019
to
a9a5a08
Compare
Cool, thanks @jhedstrom ! I've rebased the branch and removed all unnecessary cruft. This does not prefer any Symfony version over another now, so the actual version used will be determined by the other dependencies that a project uses. At least it is now proven to be compatible with both. |
From what I can tell, only certain Symfony 3.0 components are used here (finder for one). The YAML component is still at 2.8 for the travis builds. I think this is good for now though as mentioned above it has manually been confirmed to work with 3.0. Thanks! |
Compatibility with Symfony 3.0
Compatibility with Symfony 3.0 Signed-off-by: Jonathan Hedstrom <jhedstrom@gmail.com>
@pfrenssen are you able to run Behat, or the Drupal Drivers with Symfony 3? I am seeing increasing incompatibilities with Drupal 8 (see #244 test fails for instance). |
I only have a Drupal 7 project that uses Symfony 3 dependencies. My D8 projects use Symfony 2.7 for Drupal 8.0.x and Symfony 2.8 for Drupal 8.1.x. |
Ah, that makes sense. Thanks! |
Typo in ImageHandler.php
Pull request for #225.
On recent build jobs the following error occurs:
Starting in Symfony/Yaml 3.0 strings starting with an '@' need to be quoted.