Skip to content

Dropping support of 5.3 and forcing phpunit < 8 - #37

Merged
aik099 merged 4 commits into
minkphp:masterfrom
oleg-andreyev:drop-php-53-force-phpunit-less-8
Aug 28, 2019
Merged

aik099 merged 4 commits into
minkphp:masterfrom
oleg-andreyev:drop-php-53-force-phpunit-less-8

Conversation

@oleg-andreyev

Copy link
Copy Markdown
Contributor

Single PR which addresses #34 and #33

@aik099

aik099 commented Jun 17, 2019

Copy link
Copy Markdown
Member

As action plan in #34 wasn't confirmed by maintainers you're removing PHP 5.3 support on your own risk.

@oleg-andreyev

Copy link
Copy Markdown
Contributor Author

@aik099 I'm willing to help with support MinkPHP / Selenium2Driver, but I cannot do it without maintainers support and because of it, all PRs are hung in unknown status.

/cc @stof

Comment thread composer.json Resolved
Comment thread composer.json Resolved
@oleg-andreyev

oleg-andreyev commented Jun 22, 2019 •

Copy link
Copy Markdown
Contributor Author

@stof I have successful build using my fix-master-build branch in MinkSelenium2Driver https://travis-ci.org/minkphp/MinkSelenium2Driver/builds/549205452

@oleg-andreyev

Copy link
Copy Markdown
Contributor Author

@stof

@aik099

aik099 commented Aug 28, 2019

Copy link
Copy Markdown
Member

Merging. Thank you @oleg-andreyev . Apologies for a delay.

@aik099
aik099 merged commit 8979b95 into minkphp:master Aug 28, 2019
@stof

stof commented Sep 4, 2019

Copy link
Copy Markdown
Member

Dropping PHP 5.3 support in the driver-testsuite while drivers haven't dropped it yet looks like a weird process to me. This is what makes the CI red for BrowserKitDriver for instance...

@stof

stof commented Sep 4, 2019

Copy link
Copy Markdown
Member

Also, this PR is not forcing PHPUnit < 8 contrary to what it announces.

@oleg-andreyev

Copy link
Copy Markdown
Contributor Author

@stof it's quite complicated to sync changes across all repos, so it would be great to integrate "dependent builds", so when this repo changes it will trigger all dependent repos.

http://eng.rightscale.com/2015/04/27/dependent-builds-in-travis.html

Now about BrowserKit, I'll take a look at build and we'll ensure that we're forcing phpunit < 8

@aik099

aik099 commented Sep 5, 2019

Copy link
Copy Markdown
Member

Also, this PR is not forcing PHPUnit < 8 contrary to what it announces.

@stof , that was original PR content. Although over course of commits we somehow (I'm totally lost now in all Composer packages and their version/dependency variety) managed to figure out that depending on different symfony/phpunit-bridge version should get desired effect.

Not sure if that alone did the trick or we've updated driver repos in parallel as well (there is no associated PR for driver repos for me to determine that).

@oleg-andreyev , could you please explain why merged code looks like it looks now? I can't find our discussion about these changes this this PR.

@stof

stof commented Sep 5, 2019

Copy link
Copy Markdown
Member

But that means that the process is easy here: the driver-testsuite must wait for all drivers to drop PHP 5.3 before dropping it. For now, I reverted the PHP version bump here, to let me work on having green builds for drivers to release them.
And from what I saw on BrowserKitDriver, the PHPUnit 8 issue happens when using version 4.4.x-dev of the bridge (in the DEPENDENCIES=dev job) so bumping the min version won't help (it might help to avoid issues in a --prefer-lowest job though, as older releases of the bridge are broken by a change in PHPUnit's policy regarding old branches on github).
Existing stable versions of the bridge never install PHPUnit 8.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants