From bdb0e9709ec09c5140c1a6673fb24b3d31c7d7c2 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Tue, 19 Feb 2019 16:07:29 +0100 Subject: [PATCH] Add SyliusLabs/CodingStandard --- composer.json | 3 ++- easy-coding-standard.yml | 13 +++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 easy-coding-standard.yml 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'