Closed developedsoftware closed 2 years ago
Some work will be necessary, most likely due to signature change in Web interface.
Happy to help contribute
@TavoNiievez skipped this module, probably because it had more maintainers then all other modules put together :)
You have to update composer.json and change minimum-stability
to dev
,
"codeception/codeception": "^5.0.0-alpha2",
"codeception/lib-innerbrowser": "^3.0",
and then fix all type issues.
Just for the record, I did start working on this a few months ago:
https://github.com/Codeception/module-yii2/compare/master...TavoNiievez:master
, but to fix the tests I also had to adapt the test project https://github.com/Codeception/yii2-tests , the code of the tests, however, are in this repository (https://github.com/Codeception/module-yii2/pull/56) and not there so it would have taken me more time than expected since I'm not a yii expert.
Just to throw an option out there - if you have already started updating this repo - perhaps we could revisit?
I could do the yii2 coding? And together we should be able to get this pushed through?
What I did was create a 2.0
branch and integrate my changes in it,
at the moment I don't have much time to code myself,
but I'll be very attentive to review PR's directed to that branch.
If the purpose of 2.0 branch is preparation for Codeception 5, I would like to point out that I released 3.0.0 versions of module-asserts and module-filesystem, because some modules had 2.x versions clearly meant for Codeception 4.x
It would be good to release new versions of all modules as 3.0.0 for consistency (except modules that have existing 3.x versions compatible with Codeception 4).
If the purpose of 2.0 branch is preparation for Codeception 5, I would like to point out that I released 3.0.0 versions of module-asserts and module-filesystem, because some modules had 2.x versions clearly meant for Codeception 4.x
It would be good to release new versions of all modules as 3.0.0 for consistency (except modules that have existing 3.x versions compatible with Codeception 4).
I agree !
In the case of module-yii
, a 2.x
version compatible with the 2.x
versions of the other modules was not even released. I'm not sure if you guys are going to directly release a 3.x
version skipping the 2.x
,
for now i renamed the branch to codecept5
since I'm probably not the one to tag this.
In the case of module-yii, a 2.x version compatible with the 2.x versions of the other modules was not even released.
I'd love if there was any release targeting codeception 4.x and php 7.4 + 8.0 support, as a mid-step release, as all other codeception modules used in my Yii project also have this, but due to #58 I can't update to those. And as not the full codebase of a large project is compatible to 8.0, I couldn't use a v3 version which would require php 8.
Hopefully fixed in #63
Do you have plans to merge the codecept branch into master?
Now that yii2 supports PHP 8.1 - I was wondering how compatible this module will be with Codeception v.5 which also requires 8.1