★ wanayoo — archive 1999 https://github.com/symplify/coding-standardNouvelle recherche | Portail wanayoo
Skip to content
master
Go to file
Code

README.md

Coding Standard

Downloads

Set of rules for PHP_CodeSniffer and PHP-CS-Fixer used by Symplify projects.

They run best with EasyCodingStandard and PHPStan.

Install

composer require symplify/coding-standard --dev
composer require symplify/easy-coding-standard --dev
  1. Run with ECS:
# ecs.php
 use Symplify\EasyCodingStandard\ValueObject\Option;
+use Symplify\EasyCodingStandard\ValueObject\Set\SetList;

 return static function (ContainerConfigurator $containerConfigurator): void {
     $parameters = $containerConfigurator->parameters();

+    $parameters->set(Option::SETS, [
+        SetList::SYMPLIFY,
+    ]);
 };

Rules Overview


Contribute

The sources of this package are contained in the symplify monorepo. We welcome contributions for this package at symplify/symplify.

About

[READ-ONLY] 20+ Coding Standard checkers for PHP projects with focus on Clean Architecture

Topics

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.