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..e188c94
--- /dev/null
+++ b/ecs.php
@@ -0,0 +1,16 @@
+<?php
+
+declare(strict_types=1);
+
+use Symplify\EasyCodingStandard\Config\ECSConfig;
+
+require_once __DIR__ . '/vendor/autoload.php';
+
+return ECSConfig::configure()
+ ->withPaths([
+ __DIR__ . '/index.php',
+ ])
+ ->withPreparedSets(
+ psr12: true,
+ common: true,
+ );