contao / easy-coding-standard
EasyCodingStandard configurations for Contao
Fund package maintenance!
to.contao.org/donate
Installs: 139 476
Dependents: 215
Suggesters: 0
Security: 0
Stars: 12
Watchers: 8
Forks: 7
Open Issues: 0
Requires
- php: ^8.1
- kubawerlos/php-cs-fixer-custom-fixers: ^3.14
- slevomat/coding-standard: ^8.0
- symplify/easy-coding-standard: ^12.1
Requires (Dev)
- contao/rector: ^1.2
- phpunit/phpunit: ^9.5
- dev-main
- 6.13.1
- 6.13.0
- 6.12.1
- 6.12.0
- 6.11.0
- 6.10.0
- 6.9.1
- 6.9.0
- 6.8.2
- 6.8.1
- 6.8.0
- 6.7.2
- 6.7.1
- 6.7.0
- 6.6.2
- 6.6.1
- 6.6.0
- 6.5.1
- 6.5.0
- 6.4.1
- 6.4.0
- 6.3.1
- 6.3.0
- 6.2.0
- 6.1.0
- 6.0.0
- 5.4.3
- 5.4.2
- 5.4.1
- 5.4.0
- 5.3.1
- 5.3.0
- 5.2.0
- 5.1.0
- 5.0.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.1
- 4.0.0
- 3.6.0
- 3.5.0
- 3.4.0
- 3.3.1
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
This package is auto-updated.
Last update: 2024-12-09 09:00:04 UTC
README
This package includes the EasyCodingStandard configuration for Contao.
Installation
Add the package to your Contao installation via Composer:
composer require contao/easy-coding-standard --dev
Usage
Create a file named ecs.php
in the root directory of your project.
<?php declare(strict_types=1); use Contao\EasyCodingStandard\Set\SetList; use Symplify\EasyCodingStandard\Config\ECSConfig; return ECSConfig::configure() ->withSets([SetList::CONTAO]) // Adjust the configuration according to your needs. ;
Then run the script like this:
vendor/bin/ecs check
What's inside?
The package contains the following custom fixers:
The package contains the following custom sniffs:
License
Contao is licensed under the terms of the LGPLv3.
Getting support
Visit the support page to learn about the available support options.