diff --git a/composer.json b/composer.json index 9cb02a3..b40dda3 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,8 @@ "symfony/twig-bundle": "^3.4|^4.1.1", "twig/twig": "^2.0", "proget-hq/phpstan-phpspec": "^0.1.1", - "phpstan/phpstan-phpunit": "^0.10" + "phpstan/phpstan-phpunit": "^0.10", + "sylius-labs/coding-standard": "^3.0" }, "autoload": { "psr-4": { "Sylius\\Bundle\\FixturesBundle\\": "src/" } diff --git a/easy-coding-standard.yml b/easy-coding-standard.yml new file mode 100644 index 0000000..ad5ec73 --- /dev/null +++ b/easy-coding-standard.yml @@ -0,0 +1,13 @@ +imports: + - { resource: 'vendor/sylius-labs/coding-standard/easy-coding-standard.yml' } + +services: + PhpCsFixer\Fixer\Comment\HeaderCommentFixer: + header: | + This file is part of the Sylius package. + + (c) Paweł Jędrzejewski + + For the full copyright and license information, please view the LICENSE + file that was distributed with this source code. + location: 'after_open'