From 51a46eb8769205ca5f4dcf9ca45488ac27376c89 Mon Sep 17 00:00:00 2001 From: kenjis Date: Mon, 19 Dec 2022 08:43:46 +0900 Subject: [PATCH] Update php-cs-fixer.dist.php --- src/Template/.php-cs-fixer.dist.php | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/Template/.php-cs-fixer.dist.php b/src/Template/.php-cs-fixer.dist.php index 26b8ac2..8fc31b3 100644 --- a/src/Template/.php-cs-fixer.dist.php +++ b/src/Template/.php-cs-fixer.dist.php @@ -10,10 +10,19 @@ __DIR__ . '/app/', __DIR__ . '/tests/', ]) - ->exclude('build') - ->append([__FILE__]); + ->exclude([ + 'build', + 'Views', + ]) + ->append([ + __FILE__, + __DIR__ . '/rector.php', + ]); -$overrides = []; +$overrides = [ + // 'declare_strict_types' => true, + // 'void_return' => true, +]; $options = [ 'finder' => $finder,