composer require duon/dev
./vendor/bin/docs-test-runner path/to/docs/snippets
Add the following to your .php-cs-fixer.dist.php
:
<?php
declare(strict_types=1);
$finder = PhpCsFixer\Finder::create()->in([__DIR__ . '/src', __DIR__ . '/tests']);
$config = new Duon\Development\PhpCsFixer\Config();
return $config->setFinder($finder);