You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Selenium 2 doesn't work on latest Firefox provided by Travis CI
I think this can be fixed by instaclick/php-webdriver@be87042. PR for updating the library is #289 but the larger discussion is #254 which is of course block on this. 🙂
@greg0ire , there are multiple similar issues. There are also PRs created, that use Facebook Driver instead of InstaClick, that also require PHP 7 at least.
Issues/PRs are about switching to different WebDriver implementation. It just happens, that different WebDriver implementation require PHP 7 at minimum and that would in turn force to increase minimal supported version for this repository as well.
I think php 5 could be dropped regardless of what happens on other repositories, and in fact, maybe it could be dropped on all repositories, thus enabling easier decision-making and maintenance. This is probably not the right place to discuss it, but maybe you could consider it?
Currently supporting PHP 5 for Mink repositories doesn't create any additional challenges. If cross-dependency issues (e.g. supporting Symfony 4) arise, then they're solved pretty quickly.
Currently supporting PHP 5 for Mink repositories doesn't create any additional challenges.
Maybe not, but if it were dropped:
we could have strict_types
we could have scalar type hints
we could have return types
array() could be replaced with []
Travis would be faster, because it has to run less tests
Just to name a few.
PHP 5 has been EOL for half a year now. If PHP itself doesn't support it anymore, why should Mink?
Just because support is dropped doesn't mean people can't use it anymore btw, they just won't get new features and any bugs they encounter won't be fixed. But if you're on a PHP stack that old I think expecting support from anyone is unrealistic (and unhealthy) anyway.
You might also want to look at it from another side - PHP 5 doesn't get any security fixes for invulnerabilities. Supporting any package after such period, contributes to the bad actors intentions and not the community.
Activity
aik099 commentedon Jul 1, 2018
Currently I'm stuck on minkphp/driver-testsuite#21, when attempting to run tests locally.
jibran commentedon Jul 1, 2018
I think this can be fixed by instaclick/php-webdriver@be87042. PR for updating the library is #289 but the larger discussion is #254 which is of course block on this. 🙂
aik099 commentedon Jul 1, 2018
Maybe. I was able to get test suite working (at least not a fatal error) on PHP 5.5 locally using Chrome. I've attempted to get same effect on Travis CI using #290, but it's not working (see https://travis-ci.org/minkphp/MinkSelenium2Driver/jobs/398802493). Attempt to debug the build also failed with
access deniederror.aik099 commentedon Jan 4, 2019
This was fixed in #278 and #296.
greg0ire commentedon May 20, 2019
How about just dropping php 5 support, if fixing php 5 builds is all that is left to do?
aik099 commentedon May 20, 2019
@greg0ire , there are multiple similar issues. There are also PRs created, that use Facebook Driver instead of InstaClick, that also require PHP 7 at least.
greg0ire commentedon May 20, 2019
Similar issues about dropping php 5? Or something else? I can create a PR to drop php 5 if you want me to, I think doing so in a minor release would not be an issue since php 5 is EOL'ed: https://www.php.net/supported-versions.php
aik099 commentedon May 20, 2019
Issues/PRs are about switching to different WebDriver implementation. It just happens, that different WebDriver implementation require PHP 7 at minimum and that would in turn force to increase minimal supported version for this repository as well.
greg0ire commentedon May 20, 2019
I think php 5 could be dropped regardless of what happens on other repositories, and in fact, maybe it could be dropped on all repositories, thus enabling easier decision-making and maintenance. This is probably not the right place to discuss it, but maybe you could consider it?
aik099 commentedon May 20, 2019
Currently supporting PHP 5 for Mink repositories doesn't create any additional challenges. If cross-dependency issues (e.g. supporting Symfony 4) arise, then they're solved pretty quickly.
greg0ire commentedon May 20, 2019
Hasn't Mink been incompatible with sf/css-selector 4 for quite a long time now?
rpkamp commentedon Jun 18, 2019
Maybe not, but if it were dropped:
strict_typesarray()could be replaced with[]Just to name a few.
PHP 5 has been EOL for half a year now. If PHP itself doesn't support it anymore, why should Mink?
Just because support is dropped doesn't mean people can't use it anymore btw, they just won't get new features and any bugs they encounter won't be fixed. But if you're on a PHP stack that old I think expecting support from anyone is unrealistic (and unhealthy) anyway.
RuslanZavacky commentedon Jul 10, 2019
You might also want to look at it from another side - PHP 5 doesn't get any security fixes for invulnerabilities. Supporting any package after such period, contributes to the bad actors intentions and not the community.