humhub/.php-cs-fixer.php

21 lines
428 B
PHP
Raw Normal View History

<?php
$finder = (new PhpCsFixer\Finder())
->exclude([
'messages/',
'views/',
])
->notPath('protected/humhub/config/assets-prod.php')
->in([
2024-02-08 12:31:43 +01:00
'protected/humhub',
]);
return (new PhpCsFixer\Config())
->setRules([
'@PER-CS' => true,
'phpdoc_scalar' => true,
'cast_spaces' => false,
'single_line_empty_body' => false,
])
->setFinder($finder);