diff --git a/templates/project/.php-cs-fixer.dist.php b/templates/project/.php-cs-fixer.dist.php index d9d0c7d06..f3cb932fe 100644 --- a/templates/project/.php-cs-fixer.dist.php +++ b/templates/project/.php-cs-fixer.dist.php @@ -36,6 +36,7 @@ '@Symfony:risky' => true, 'combine_consecutive_issets' => true, 'combine_consecutive_unsets' => true, + 'declare_strict_types' => true, 'global_namespace_import' => ['import_classes' => false, 'import_constants' => false, 'import_functions' => false], 'header_comment' => ['header' => $header], 'list_syntax' => ['syntax' => 'short'],