PHP 8.3
support.
#19957
Replies: 9 comments 36 replies
-
I like the idea but it put some technical burden on us with versions and fixes for 2.0.49, basically it would have to be 2.0.49.1 and so on. I know we are doing it right now and we are not semver compatible but still, just to remember. |
Beta Was this translation helpful? Give feedback.
-
@bizley I proposed this instead of releasing 2.2. In that case it should be less work than currently planned for 2.2. With PHP 7.3 as a new minimum we could use phpunit 9 and cover ~90% of users. In that case 2.0.49.x could receive only security fixes, and master branch could be developed more easily than now. |
Beta Was this translation helpful? Give feedback.
-
I think it is useful to keep the |
Beta Was this translation helpful? Give feedback.
-
Just FYI: I am having some PHP extension issues with 8.3, see also https://github.com/yiisoft/yii2-docker/actions/runs/6183881486/job/16786492326#step:9:4677 |
Beta Was this translation helpful? Give feedback.
-
It looks like basically we will do that same thing that @rob006 is suggesting but we will brand it differently - 2.2 will be our 2.0.50-ish with PHP version bumped and all versions after 2.0.49-ish will get only bug and security fixes. |
Beta Was this translation helpful? Give feedback.
-
On this, AFAIU, 2.2 is supposed to be a bridge to 3.x as well as adding new BC compatibilities. |
Beta Was this translation helpful? Give feedback.
-
If you agree, i will make a draft of uploading the master branch as proposed by @rob006 almost |
Beta Was this translation helpful? Give feedback.
-
@cebe @samdark @machour @rhertogh @mtangoo @SilverFire @schmunk42 @bizley @rob006
What do you think about uploading the main version of the framework, in the master branch to |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, we should consider upgrading the
PHP
version in the master branch. RunningPHPUnit 4
to accommodate newPHP
versions has become quite cumbersome due to the need to patchPHPUnit
, which sometimes leads to unexpected errors. By raising the minimum requiredPHP
version to at least8.1
, in my opinion, we can update our packages without breaking backward compatibility. In my tests with branch2.2
, i found thatPHP 8.3
is entirely compatible. Those who need to use versions older than8.1
can continue using2.0.49
, as suggested by @rob006 #19831 (reply in thread).This would, in some way, allow us to maintain the code more easily and address bugs more effectively.
Test php 8.3: #19953
@yiisoft/yii2, @yiisoft/reviewers
Beta Was this translation helpful? Give feedback.
All reactions