aboutsummaryrefslogtreecommitdiffhomepage
path: root/ecs.php
diff options
context:
space:
mode:
Diffstat (limited to 'ecs.php')
-rw-r--r--ecs.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/ecs.php b/ecs.php
new file mode 100644
index 0000000..086f569
--- /dev/null
+++ b/ecs.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+use Symplify\EasyCodingStandard\Config\ECSConfig;
+use Symplify\EasyCodingStandard\ValueObject\Set\SetList;
+
+return function (ECSConfig $ecsConfig): void {
+ $ecsConfig->paths([
+ __DIR__ . '/src',
+ ]);
+ $ecsConfig->sets([
+ SetList::CLEAN_CODE,
+ SetList::PSR_12,
+ ]);
+};