PHP 8 and Legacy Code

Juliette Reinders Folmer | The Online PHP Conference |

With the release of PHP 8, unit tests have become more important than ever before as there are numerous changes which can only be detected via tests.

But what if you maintain a legacy project which is still using PHPUnit 5? And what about extensions to this software running integration tests using (parts of) your test set up?

Using WordPress as an example, let's take a look at how a legacy project can prepare for compatibility with PHP 8 and at the problems they run into when paying up some of their technical debt. What are the extra complications they run into? And how to set priorities with the added time pressure of the PHP 8 release being around the corner?

Conference agenda and tickets

About the Speaker

Juliette Reinders Folmer is an opinionated, passionate busy-body with a prolific portfolio of contributions to various high profile open source projects over the years. She is the author of the PHPUnit Polyfills package, co-author of PHPCompatibility, initiator of PHPCSExtra and created the PHP Cheatsheets. Juliette regularly speaks at conferences and is always happy to discuss how we can all contribute to changing both the dev-culture as well as our code, to be better. Juliette is self-employed and based in the Netherlands.