aboutsummaryrefslogtreecommitdiffhomepage
path: root/ecs.php
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-01-03 02:00:02 +0900
committernsfisis <nsfisis@gmail.com>2024-01-03 02:04:22 +0900
commit5b4652d080c7eae26f8aac482468a6777ad9defe (patch)
treed871440fa20cd531f72f52ed1a0d9d95b4db49a7 /ecs.php
parent168104e90dd45e8de71ab209a646a6a642cce471 (diff)
downloadphp-waddiwasi-5b4652d080c7eae26f8aac482468a6777ad9defe.tar.gz
php-waddiwasi-5b4652d080c7eae26f8aac482468a6777ad9defe.tar.zst
php-waddiwasi-5b4652d080c7eae26f8aac482468a6777ad9defe.zip
chore: set up basic Composer packages
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,
+ ]);
+};