paulhenri-l/php-cs-config

php-cs-config

Installs: 472

Dependents: 6

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/paulhenri-l/php-cs-config

1.0.2 2021-10-06 14:55 UTC

This package is auto-updated.

Last update: 2025-10-06 23:27:11 UTC


README

Tests License: MIT

Installation

composer require paulhenri-l/php-cs-config --dev

Usage

Inside your .php-cs-fixer.php config

<?php

require __DIR__ . '/vendor/autoload.php';

$finder = \PhpCsFixer\Finder::create()->in([
    'src/', 'tests/'
]);

return (new PaulhenriL\PhpCsConfig\Config())->setRules([
    '@paulhenri-l' => true,
    'array_syntax' => ['syntax' => 'short'],
])->setFinder($finder);