Silverstripe-framework: PHP 8 Compatibility across core

Created on 22 Sep 2020  路  3Comments  路  Source: silverstripe/silverstripe-framework

We've made a start on this with the merging in of support in silverstripe/framework, but need to expand this to the rest of the core modules. Our current target for shipping this compatibility is the CMS 4.7.0 release. PHP 8 support in CMS 3.x is out of scope, due to its limited support status.

Each module needs a CI matrix entry for PHP 8 (php: nightly), and will have to adopt the sminnee/phpunit fork for that build to pass. We've also been using these PRs to add a --prefer-lowest build for better coverage, and applying PHP compatibility to individual modules (7.1 || ^8.)

Tasks

recipe/core
recipe/cms
Final steps
Behat on PHP8
affectv4 changminor efformedium impacmedium typenhancement

Most helpful comment

All PHP 8 compatibility PRs have been merged (aside from a small fix to ClassInfo), and smoke testing went well, so I'm closing this out 馃帀

All 3 comments

All PHP 8 compatibility PRs have been merged (aside from a small fix to ClassInfo), and smoke testing went well, so I'm closing this out 馃帀

Nice work @Cheddam and everyone else involved!

Whoo! I look forward to running a PHP8 prod stack in the near future :-)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonom picture jonom  路  5Comments

Cheddam picture Cheddam  路  3Comments

kinglozzer picture kinglozzer  路  4Comments

sminnee picture sminnee  路  6Comments

maxime-rainville picture maxime-rainville  路  3Comments