mirror of
https://github.com/humhub/humhub.git
synced 2025-01-16 21:58:17 +01:00
21 lines
428 B
PHP
21 lines
428 B
PHP
<?php
|
|
|
|
$finder = (new PhpCsFixer\Finder())
|
|
->exclude([
|
|
'messages/',
|
|
'views/',
|
|
])
|
|
->notPath('protected/humhub/config/assets-prod.php')
|
|
->in([
|
|
'protected/humhub',
|
|
]);
|
|
|
|
return (new PhpCsFixer\Config())
|
|
->setRules([
|
|
'@PER-CS' => true,
|
|
'phpdoc_scalar' => true,
|
|
'cast_spaces' => false,
|
|
'single_line_empty_body' => false,
|
|
])
|
|
->setFinder($finder);
|