Presented on January 21st 2021 at the PHPcc Online Conference.
https://thephp.cc/dates/2021/01/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?
---------------------------------------------------------------