Skip to content

Fixing the Build #287

Closed
Closed

Description

@aik099

All of recent builds are failing due different reasons.

  • The PHP 5.3 build fails due incorrect Ubuntu version usage (no PHP 5.3 available on it)
  • The PHP 5.x builds fail due Fatal Error (because Selenium 2 doesn't work on latest Firefox provided by Travis CI)
  • The PHP 7.x builds fail (almost all tests failed) due timeout issues connecting to Selenium Server (have no idea why)
  • The PHP 7.x build using remote virtual machine for running selenium works, but have 2 tests failed

Activity

  1. aik099 commented on Jul 1, 2018

    @aik099
    MemberAuthor

    Currently I'm stuck on minkphp/driver-testsuite#21, when attempting to run tests locally.

  2. jibran commented on Jul 1, 2018

    @jibran

    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. 🙂

  3. aik099 commented on Jul 1, 2018

    @aik099
    MemberAuthor

    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 denied error.

  4. aik099 commented on Jan 4, 2019

    @aik099
    MemberAuthor

    The PHP 7.x builds fail (almost all tests failed) due timeout issues connecting to Selenium Server (have no idea why)

    This was fixed in #278 and #296.

  5. greg0ire commented on May 20, 2019

    @greg0ire

    How about just dropping php 5 support, if fixing php 5 builds is all that is left to do?

  6. aik099 commented on May 20, 2019

    @aik099
    MemberAuthor

    @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.

  7. greg0ire commented on May 20, 2019

    @greg0ire

    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

  8. aik099 commented on May 20, 2019

    @aik099
    MemberAuthor

    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.

  9. greg0ire commented on May 20, 2019

    @greg0ire

    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?

  10. aik099 commented on May 20, 2019

    @aik099
    MemberAuthor

    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.

  11. greg0ire commented on May 20, 2019

    @greg0ire

    Hasn't Mink been incompatible with sf/css-selector 4 for quite a long time now?

  12. rpkamp commented on Jun 18, 2019

    @rpkamp

    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.

  13. RuslanZavacky commented on Jul 10, 2019

    @RuslanZavacky

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions