-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Make php-8.1
minimum requirement
#4124
Conversation
* Rector: CQ - UnusedForeachValueToArrayKeysRector See Rector\CodeQuality\Rector\Foreach_\UnusedForeachValueToArrayKeysRector * fixes + phpstan See fix at rector: rectorphp/rector-src#6164
This reverts commit 3d7eaf6.
- updated workflows - phpstan baseline (will be fixed later)
php-8.,0
minimum requirementphp-8.0
minimum requirement
Co-authored-by: Ng Kiat Siong <[email protected]>
# Conflicts: # composer.lock # phpstan.dist.baseline.neon
php-8.0
minimum requirementphp-8.1
minimum requirement
Agreed with the changes, but I believe this should be in "next" so that it is in the next major version update.
Since v21 was not released yet this could still make it into v21. EDIT: Just saw there is already #3920 |
@colinmollenhour its on draft, b/c we should think about to raise minimum version for main branch too. |
# Conflicts: # .github/workflows/phpstan.yml # .github/workflows/sonar.yml # .github/workflows/syntax-php.yml # app/code/core/Mage/Media/Model/File/Image.php # composer.json # composer.lock # phpstan.dist.baseline.neon
Closed for now. :( |
We removed 7.3 support in 03/2003 ... now - plus one year later - its time to make the next step.
PHP8 offers a lot of good features, i'd like to use when writing extension but i am limited due to php7 support.
Worth a read ... https://accesto.com/blog/php-performance-improvement-features/
According to packagist.org stats only 20% still use php7.4 with latest releases.
https://packagist.org/packages/openmage/magento-lts/php-stats#20.10
Note 1: If you have modules/extensions that dont work with php8, drop me a note! This should be no reason to stay on an old php version!
Note 2: OpenMage will still proberly work with older versions too - as long we not introduce backwards-incomaptible changes.
Note3 : with https://github.com/rectorphp/rector you have a tool to refactor your code for php8.