v1.1
This commit is contained in:
+18
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
$config = new PhpCsFixer\Config();
|
||||
|
||||
$config
|
||||
->setRules([
|
||||
'@PSR2' => true,
|
||||
'@PSR12' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'nullable_type_declaration_for_default_null_value' => true
|
||||
])
|
||||
->setFinder(
|
||||
PhpCsFixer\Finder::create()
|
||||
->in(__DIR__ . '/src')
|
||||
->in(__DIR__ . '/tests')
|
||||
)
|
||||
;
|
||||
|
||||
return $config;
|
||||
Reference in New Issue
Block a user