From 114d1f074e30483b0fddd9a4cc45572b8c070797 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 18 Oct 2025 22:31:25 +0900 Subject: first commit --- ecs.php | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ecs.php (limited to 'ecs.php') diff --git a/ecs.php b/ecs.php new file mode 100644 index 0000000..60a9df5 --- /dev/null +++ b/ecs.php @@ -0,0 +1,28 @@ +withPaths([ + __DIR__ . '/src', + __DIR__ . '/tests', + ]) + ->withPreparedSets( + psr12: true, + common: true, + cleanCode: true, + ) + ->withEditorConfig() + ->withRules([ + NativeFunctionInvocationFixer::class, + ]) + ->withConfiguredRule(GlobalNamespaceImportFixer::class, [ + 'import_classes' => true, + 'import_constants' => true, + 'import_functions' => true, + ]) +; -- cgit v1.2.3-70-g09d2