Skip to content

🥇 Battle-tested coding standard configuration used in Sylius.

License

Notifications You must be signed in to change notification settings

SyliusLabs/CodingStandard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Standard

🥇 Battle-tested coding standard configuration used in Sylius.

Installation & usage

  1. Install this package:

    composer require --dev sylius-labs/coding-standard
  2. Import the configuration file in your ecs.php:

    $ecsConfig->import('vendor/sylius-labs/coding-standard/ecs.php');

Example config (ecs.php)

use Symplify\EasyCodingStandard\Config\ECSConfig;

return static function (ECSConfig $ecsConfig): void {
    $ecsConfig->import(__DIR__ . '/vendor/sylius-labs/coding-standard/ecs.php');
};

Upgrade from YML to PHP config file

Use this package and follow their guidelines to automatically migrate your YML config to a PHP config file.

About

🥇 Battle-tested coding standard configuration used in Sylius.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages