Fuente: https://github.com/chamilo/chamilo-lms/releases/download/v1.11.40/chamilo-1.11.40.zip sha256: 1cf4bf2cc7bae1ef1a1eff643235db1d552f78ddf4b6dd1e2d2dac9868679439 Snapshot independiente (rama huerfana); diffable vs 1.11.38. vendor incluido.
24 lines
645 B
PHP
24 lines
645 B
PHP
<?php
|
|
|
|
$config = PhpCsFixer\Config::create()
|
|
->setRiskyAllowed(true)
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'declare_strict_types' => false,
|
|
'concat_space' => ['spacing'=>'one'],
|
|
'php_unit_test_case_static_method_calls' => ['call_type' => 'self'],
|
|
'ordered_imports' => true,
|
|
// 'phpdoc_align' => ['align'=>'vertical'],
|
|
// 'native_function_invocation' => true,
|
|
])
|
|
->setFinder(
|
|
PhpCsFixer\Finder::create()
|
|
->in(__DIR__.'/src')
|
|
->in(__DIR__.'/tests')
|
|
->name('*.php')
|
|
)
|
|
;
|
|
|
|
return $config;
|