diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 1dab3c0..7d3eeb4 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -1,4 +1,6 @@ setRules([ '@PER-CS' => true, '@PER-CS:risky' => true, + // Force strict types declaration in all files. Requires PHP >= 7.0. + 'declare_strict_types' => true, // Unused `use` statements must be removed. 'no_unused_imports' => true, // Multi-line arrays, arguments list, parameters list and `match` expressions must have a trailing comma.