mirror of
https://github.com/Llewellynvdm/php-ml.git
synced 2024-11-05 04:57:52 +00:00
7eee6748d2
Remove obsolete php-cs-fixer.sh script Update contributing guidelines
19 lines
505 B
PHP
19 lines
505 B
PHP
<?php
|
|
|
|
return PhpCsFixer\Config::create()
|
|
->setRules([
|
|
'@PSR2' => true,
|
|
'declare_strict_types' => true,
|
|
'array_syntax' => ['syntax' => 'short'],
|
|
'blank_line_after_opening_tag' => true,
|
|
'single_blank_line_before_namespace' => true,
|
|
'no_unused_imports' => true
|
|
])
|
|
->setFinder(
|
|
PhpCsFixer\Finder::create()
|
|
->in(__DIR__ . '/src')
|
|
->in(__DIR__ . '/tests')
|
|
)
|
|
->setRiskyAllowed(true)
|
|
->setUsingCache(false);
|