In this weeks episode we are joined by Joe Watkins for a long overdue catchup.
We start off the show by discussing what Sandboxing is and the new Sandbox extension he has developed.
From here, we touch upon test-doubles/mocking frameworks, the reasoning behind building uopz in the past, and now componere/mimus to aid in testing.
This leads us on to highlight what test coverage is, the history of coverage tooling within PHP, and the new exciting pcov extension he has released.
Finally, we do a big ol’ RFC roundup, discussing RFCs that have been accepted for PHP 7.4 (FFI, Typed Properties and Preloading) and ones under discussion (JIT and Weak References).
Show Links
Boxes of Sandkrakjoe/sandbox - A sandbox environment for PHP 7.1+Faking Itkrakjoe/uopz - User Operations for Zendkrakjoe/componere - Complex Type Composition and Manipulationkrakjoe/mimus - mocking framework as light as a birdRunning for Coveragekrakjoe/pcov - PCOV - CodeCoverage compatible driver for PHPkrakjoe/pcov-clobber - Run PCOV in versions of PHPUnit before 8, if you mustPHP RFC - FFI (Foreign Function Interface)PHP RFC - Typed Properties 2.0PHP RFC - PreloadingPHP RFC - JITPHP RFC - Weak References