mirror of
https://github.com/jbcr/SyliusGDPRPlugin.git
synced 2026-03-24 00:42:13 +01:00
18 lines
495 B
PHP
18 lines
495 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
use Symplify\EasyCodingStandard\Config\ECSConfig;
|
|
|
|
return static function (ECSConfig $ecsConfig): void {
|
|
$ecsConfig->paths([
|
|
dirname(__DIR__, 1) . '/src',
|
|
dirname(__DIR__, 1) . '/tests/PHPUnit',
|
|
]);
|
|
|
|
$ecsConfig->import(dirname(__DIR__) . '/vendor/sylius-labs/coding-standard/ecs.php');
|
|
|
|
/** @phpstan-ignore-next-line */
|
|
$ecsConfig->rule(\SlevomatCodingStandard\Sniffs\Classes\RequireMultiLineMethodSignatureSniff::class);
|
|
};
|