mirror of
https://github.com/linuxserver/Heimdall.git
synced 2025-10-31 04:57:47 +09:00
20 lines
403 B
PHP
20 lines
403 B
PHP
<?php
|
|
|
|
$finder = PhpCsFixer\Finder::create()
|
|
->in(__DIR__.'/src')
|
|
->in(__DIR__.'/spec')
|
|
->name('*.php')
|
|
;
|
|
|
|
$config = new PhpCsFixer\Config();
|
|
|
|
return $config
|
|
->setRiskyAllowed(true)
|
|
->setRules([
|
|
'@Symfony' => true,
|
|
'single_line_throw' => false,
|
|
'trailing_comma_in_multiline' => false, // for methods this is incompatible with PHP 7
|
|
])
|
|
->setFinder($finder)
|
|
;
|