educaedu/coding-style

PHP Coding Style rules

Installs: 78

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/educaedu/coding-style

1.5 2025-04-09 07:24 UTC

This package is not auto-updated.

Last update: 2025-11-05 10:11:17 UTC


README

💻 Modo uso

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

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

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