summaryrefslogtreecommitdiff
path: root/.php-cs-fixer.dist.php
blob: 6e89bee725501cf37b6224c608b3b74d1f7cee66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);