conia/development

Shared development settings and tools for all conia projects

1.1.1 2023-11-24 16:55 UTC

This package is auto-updated.

Last update: 2024-10-24 19:05:21 UTC


README

Installation

composer require conia/development

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 Conia\Development\PhpCsFixer\Config();

return $config->setFinder($finder);