aboutsummaryrefslogtreecommitdiffhomepage
path: root/ecs.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-27 20:22:53 +0900
committernsfisis <nsfisis@gmail.com>2025-03-27 20:32:38 +0900
commit4efa8ba0c0b749fa37b39393d3c29ac75314cc21 (patch)
tree1448b2c556f506207145e41533872bd323795250 /ecs.php
parentdf39150ce837b0214366687d7c73d8ff36a315ce (diff)
downloadphphp-4efa8ba0c0b749fa37b39393d3c29ac75314cc21.tar.gz
phphp-4efa8ba0c0b749fa37b39393d3c29ac75314cc21.tar.zst
phphp-4efa8ba0c0b749fa37b39393d3c29ac75314cc21.zip
add files
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,
+ );