duon / dev
Shared development settings and tools for all Duon projects
Installs: 27
Dependents: 13
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/duon/dev
Requires
- friendsofphp/php-cs-fixer: ~3.75.0
README
Installation
composer require duon/dev
Usage
Documentation snippets test runner
./vendor/bin/docs-test-runner path/to/docs/snippets
php-cs-fixer
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);