mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-19 20:53:01 +00:00
Add coding standards rule to error on long array syntax
This commit is contained in:
@@ -6,6 +6,7 @@ $finder = PhpCsFixer\Finder::create()
|
||||
$config = new PhpCsFixer\Config();
|
||||
$config
|
||||
->setRules([
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
'no_unused_imports' => true,
|
||||
])
|
||||
->setFinder($finder);
|
||||
|
||||
Reference in New Issue
Block a user