aitorgarciarey/coding-style

PHP Coding Style rules

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/aitorgarciarey/coding-style

1.6 2025-11-03 11:43 UTC

This package is auto-updated.

Last update: 2025-11-03 11:49:16 UTC


README

📥 Instalación

  1. Instalar dependencias
composer require --dev aitorgarciarey/coding-style

💻 Modo uso

  1. Añadir fichero ecs.php
<?php

use AitorGarciaRey\CodingStyle;
use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ECSConfig $ecsConfig): void {
    $ecsConfig->paths([__DIR__ . '/src']);
    $ecsConfig->sets([CodingStyle::DEFAULT]);
};
  1. Ejecutar:
    /vendor/bin/ecs check
    /vendor/bin/ecs check --fix