Suppress #PHPUnit deprecations
// phpunit.xml:
<phpunit bootstrap="tests/Unit/bootstrap.php"
// tests/Unit/bootstrap.php:
<?php declare(strict_types=1);
error_reporting(E_ALL & ~E_USER_DEPRECATED & ~E_DEPRECATED );
require 'vendor/autoload.php';
for #PHPUnit 10+
we need a custom printer that skips/ignores `PhpunitDeprecationTriggeredEvent`
then run this command to disable default printer.
// vendor/bin/phpunit --no-progress