Closed DonCallisto closed 4 years ago
It seems we'll need to wait for that https://github.com/phpspec/phpspec/pull/1269 to be merged. Do you prefer to keep this PR open or ... ? Moreover we can also bump PHPSpec version to 6 (I've seen it won't add nothing useful for us, in case you agree I can open a different PR)
Thanks for this! Such a shame we didn't manage to meet on SymfonyCon. I could've shown you the idea for new page-object library :(
Also, would you mind to send this PR against the 2.3 branch?
Thanks for this! Such a shame we didn't manage to meet on SymfonyCon. I could've shown you the idea for new page-object library :(
Yeah, what a pity! Talk about this project in front of a beer would have been great. Maybe we'll get the chance at SymfonyCon2020 or if you apply for PHPDay Italy (I think the CFP is open). BTW if you want to share some thoughs we can managed this online with slack or whatever.
Gonna change the base of PR ;)
Done! :)
Seems that there's no phpspec version that supports PHP 7.4 yet :(
https://github.com/phpspec/phpspec/releases/tag/6.1.0
I think I can also bump PHPSpec version now on go on with this. WDYT?
Go for it. You'll probably need to drop PHP 7.1, which is fine.
We're still in a showstopper situation, take a look --> https://github.com/BossaConsulting/phpspec2-expect/pull/59
Nevermind, they merged the PR. Let's check if CI is green.
Edit: Still no new tagged version yet :\
WoW, huge of trouble with this version bumping :smile: Take a look at this https://github.com/FriendsOfPHP/Goutte/issues/393
I know is related to --prefer-lowest
composer flag but...
Ok I've done also some other fixes (https://github.com/sensiolabs/BehatPageObjectExtension/pull/128/commits/48f1fbcac25729e5a0a4024da31a59ed91d5a4cb), now if on Goutte
they raise Guzzle
version we should be fine otherwise what would you do? I won't like the idea to drop --prefer-lowest
check actually.
What if we added a conflict with older versions of guzzle?
How? Don’t understand the question.
I'm talking about adding guzzle to the conflict section of composer.json. Not sure if it impacts --prefer-lowest
though.
Umh, don't know if that's gonna work but how about require Guzzle directly in our lib with the right version?
I know it's not a direct dependency but we can mitigate the problem unless a more restrictive version of Goutte
will be released.
I really don't like this solution but I think would work.
Yeah, one of the two should work :)
conflict
works like a charm. Didn't knew about it, thanks for sharing this.
BTW please check if I've introduced too strict version (I think I've not but let's double check)
Thank you so much for working on this! 🍻
With php7.4 behind the corner, I tought it was good to try this against new version.