diff options
Diffstat (limited to '.php-cs-fixer.dist.php')
| -rw-r--r-- | .php-cs-fixer.dist.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php new file mode 100644 index 0000000..6e89bee --- /dev/null +++ b/.php-cs-fixer.dist.php @@ -0,0 +1,18 @@ +<?php + +# php84Packages.php-cs-fixer is currently installed. +# The commented out options are because they don't work with 84. +# I tried to install 85 but that installs an old version of cs that is not compatible with php85 +# At some point I can install CS 85. + +$finder = PhpCsFixer\Finder::create() + ->in(__DIR__); + +return (new PhpCsFixer\Config()) + ->setRules([ + '@PSR12' => true, +# 'strict_param' => true, + 'array_syntax' => ['syntax' => 'short'], +# 'declare_strict_types' => true, + ]) + ->setFinder($finder); |
