PHP code example of matesofmate / phpunit-extension
1. Go to this page and download the library: Download matesofmate/phpunit-extension library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
matesofmate / phpunit-extension example snippets
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $container): void {
$container->parameters()->set('matesofmate_phpunit.custom_command', [
'docker', 'compose', 'exec', 'php-test', 'vendor/bin/phpunit',
]);
};