- 
                Notifications
    
You must be signed in to change notification settings  - Fork 9.4k
 
PHP 8 Compatibility
        Sergii Ivashchenko edited this page Apr 7, 2021 
        ·
        20 revisions
      
    To ensure that our journey to PHP 8 compatibility is visible and transparent, we are launching the Magneto PHP 8 Compatibility Community Project!
The mainline for the project is php8-develop branch that should be available for all affected Magento repositories.
- Target branch php8-develop
 - Project label Project: PHP8
 - Backlog is available on PHP 8 Compatibility backlog project board
 - Pull requests can be viewed on PHP 8 Compatibility PRs project board
 - Project slack channel: #php8
 
| Description | Dependency | Pull request | 
|---|---|---|
| Magento\Email\Model\Template\Filter constructor parameters changed | pelago/emogrifier | https://github.com/magento/magento2/pull/31772 | 
| Magento\Widget\Model\Template\Filter constructor parameters changed (inheritance) | pelago/emogrifier | https://github.com/magento/magento2/pull/31772 | 
| Magento\Email\Model\Template\Filter::getCssFilesContent function throws exception instead of returning exception message in the content | pelago/emogrifier | https://github.com/magento/magento2/pull/31772 | 
| Magento\Email\Model\Template\Filter::$emogrifier protected property has been removed | pelago/emogrifier | https://github.com/magento/magento2/pull/31772 | 
| \Magento\PhpStan\Formatters\FilteredErrorFormatter does not extend \PHPStan\Command\ErrorFormatter\TableErrorFormatter | phpstan/phpstan | https://github.com/magento/magento2/pull/32215 | 
| dev/tests/static/testsuite/Magento/Test/Php/_files/phpstan/phpstan.neon configuration updated | phpstan/phpstan | https://github.com/magento/magento2/pull/32215 | 
- 
phpcs:disable PHPCompatibility.Miscellaneous.RemovedAlternativePHPTags.MaybeASPOpenTagFoundadded to the files that include underscore template syntax - Removed usages of ReflectionParameter::getClass deprecated method
 - Removed setup wizard assets
 - T_NAME_QUALIFIED and T_NAME_FULLY_QUALIFIED global constants defined (if not yet) for laminas-code to properly function on PHP 7.3/7.4
 
Interested in becoming a Magento Contributor? Click here to join our Slack workspace! Then come say hi in #general, follow the #announcements, and browse to find more cool channels!
- Getting Started
 - Forking and Branching
 - Working with commits
 - Working Issues and PRs
 - Community Maintainers
 
- Working with commits
 - Magento Contributor Assistant
 - Magento Automated Testing
 - Test coverage contributions
 
- Slack Channels
 - Magento 2 Core
 - Multi Source Inventory
 - Coding Standard
 - DevDocs
 - PHP 8 Compatibility
 - Platform Health