Files
commands/.php-cs-fixer.dist.php
Ismo Vuorinen 61ac97155c feat: update dependencies, add linting, fix codebase, cleanup (#11)
* chore(deps): update dependencies

* feat(tests): add matrix testing, problem matcher

* feat(lint): add php-cs-fixer, fix codebase
2024-11-08 18:40:40 +02:00

16 lines
320 B
PHP

<?php
$finder = (new PhpCsFixer\Finder())
->in(__DIR__);
return (new PhpCsFixer\Config())
->setRules([
'@PhpCsFixer' => true,
'@PHP74Migration' => true,
'@PSR12' => true,
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
])
->setFinder($finder)
;