duon/dev

Shared development settings and tools for all Duon projects

1.1.7 2025-04-01 16:03 UTC

This package is auto-updated.

Last update: 2025-04-01 16:03:57 UTC


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);