Automatic pass to convert with php-cs-fixer

This commit is contained in:
2023-04-13 21:33:52 +02:00
parent 63b150a493
commit 0111c96f1d
105 changed files with 10478 additions and 8273 deletions

16
.php-cs-fixer.dist.php Normal file
View File

@@ -0,0 +1,16 @@
<?php
$finder = PhpCsFixer\Finder::create()
->in(__DIR__. "/src")
;
$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'multiline_comment_opening_closing' => true,
'align_multiline_comment' => ['comment_type' => 'phpdocs_like'],
//'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;