phpyh/coding-standard

PHPyh Coding Standard For PHP CS Fixer

Installs: 46 915

Dependents: 22

Suggesters: 0

Security: 0

Stars: 22

Watchers: 1

Forks: 1

Open Issues: 1

pkg:composer/phpyh/coding-standard

3.0.1 2025-10-21 10:30 UTC

This package is auto-updated.

Last update: 2025-10-21 10:31:56 UTC


README

Latest Stable Version Total Downloads psalm-level type-coverage

Installation

composer require --dev phpyh/coding-standard

Usage with PHP CS Fixer

Update your .php-cs-fixer.dist.php:

<?php

use PHPyh\CodingStandard\PhpCsFixerCodingStandard;

$finder = PhpCsFixer\Finder::create()
    ->in(__DIR__.'/src')
    // ...
;

$config = (new PhpCsFixer\Config())
    ->setFinder($finder)
    // ...
;

(new PhpCsFixerCodingStandard())->applyTo($config, [
    // overriding rules
]);

return $config;