mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-01-10 01:22:53 +01:00
20 lines
426 B
PHP
20 lines
426 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__ . '/src')
|
|
->in(__DIR__ . '/tests')
|
|
;
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
return $config->setRules([
|
|
'@Symfony' => true,
|
|
'global_namespace_import' => [
|
|
'import_classes' => true,
|
|
'import_constants' => false,
|
|
'import_functions' => false,
|
|
],
|
|
])
|
|
->setRiskyAllowed(true)
|
|
->setFinder($finder)
|
|
;
|