-
Notifications
You must be signed in to change notification settings - Fork 35
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
support codeception v4 #39
Conversation
Drops support for - codeception 3.x - PHP < 7.2 - PHPUnit 5.x
@@ -9,12 +9,14 @@ Codeception extension to start and stop PHP built-in web server for your tests. | |||
| **Codeception 2.0** | **1.2.x** | [](http://travis-ci.org/tiger-seo/PhpBuiltinServer) | | |||
| **Codeception 2.1, 2.2** | **1.3.x** | [](http://travis-ci.org/tiger-seo/PhpBuiltinServer) | | |||
| **Codeception 2.3** | **1.4.x** | [](http://travis-ci.org/tiger-seo/PhpBuiltinServer) | | |||
| **Codeception 3.0** | **master** | [](http://travis-ci.org/tiger-seo/PhpBuiltinServer) | | |||
| **Codeception 3.0** | **1.5.x** | [](http://travis-ci.org/tiger-seo/PhpBuiltinServer) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 1.5.x
branch does not exist yet. It needs to be created.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but somehow 1.5.0 tag exists since september of 2019
"php": ">=5.6.0", | ||
"codeception/codeception": "^3.0" | ||
"php": ">=7.2.0", | ||
"codeception/codeception": "^4.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since you never changed any code I presume that it is compatible with codeception 3.0, so ^3.0.0 | ^4.0.0 would be good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"codeception/codeception": "^4.0" | |
"codeception/codeception": "^3.0 || ^4.0" |
I think this decision is up to @tiger-seo cause it's mainly about the support commitment. It seems to currently work with both versions but this may increase maintenance costs or require another major release later. Added it as a suggestion so that tiger-seo can decide to apply or not before merging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well, if they break compatibility, then according to SEMVER they have to bump major, but since major is locked from version 3.x.x to 4.x.x then it should not be a problem
@tiger-seo Any chance to get this one merged? |
@jelhan sorry for not responding; why do u suggest to drop codeception 3.0 and bump major version of this extension ? |
Mostly two reasons if I recall correctly:
But at the end of the day that decision is up to you. |
@tiger-seo any update? +1 for drop support for legacy codeception/php version I think when someone use a old codeception version he can use a specific branch like described in the readme |
It would be great to see this PR (or #43) merged, but until that happens I am using the code from this PR via a workaround in change the require line to:
add:
This overrides the PHPBuiltinServer from Packagist with @jelhan's fork, and pulls the Ref: |
@tiger-seo any update here for support codeception v4? |
Ping for this PR! |
I see with php 8.1 some issues:
|
any updates here? |
master branch already supports codeception 4 |
Already implemented with #43. Closing this one to avoid confusion. |
This is a breaking change. It drops support for
Closes #38