Paraunit 1.0.1: two small fixes
While I’m actively working on a big refactor toward supporting PHPUnit 9, I’ve found two small fixes that have to be released as the first stable patch since the 1.0 release.
While I’m actively working on a big refactor toward supporting PHPUnit 9, I’ve found two small fixes that have to be released as the first stable patch since the 1.0 release.
Today I decided to release facile-it/paraunit
1.0.0
! In reality the package was pretty stable and widely used at Facile.it for a long time, but right now I wanted to step forward and declare it officially stable.
The main reason behind this is that I’m currently working on PHPUnit 9 support, and this will force me to release a new minor that will drop support for previous PHPUnit version altogether. This decision was in reality forced onto me due to the fact that PHUnit 9 drops support for the --printer
CLI option and the relative extension point, which Paraunit was using as a way to extract test results.
I returned to develop some more on Paraunit in the last months, initially to add a few new compatibilities (PHP 7.4, Symfony 5), but then I spent some time to add support for Pcov as a coverage driver.
This is the first release of this package! It’s Shell+PHP combination to run Symfony console commands in loop under a daemon or Kubernetes, instead of using a long running process.
This package contains a shell script and an abstract Symfony Console Command class; you need to write your command extending that class, and launch it through the shell script. Ideally, the script has to be used as a container entry point, and/or launched with a supervisor, like Docker Compose, Kubernetes, supervisord
.
After a long hiatus, I decided to start working in the first stable release of Paraunit; the package is good and running smoothly for years, so we no longer have any reason to delay the 1.0 further. This will also be the occasion to force some static analysis onto the codebase.