初始化仓库
This commit is contained in:
26
vendor/guzzlehttp/command/.php-cs-fixer.dist.php
vendored
Normal file
26
vendor/guzzlehttp/command/.php-cs-fixer.dist.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
$config = (new PhpCsFixer\Config())
|
||||
->setRiskyAllowed(true)
|
||||
->setRules([
|
||||
'@PHP71Migration:risky' => true,
|
||||
'@PHPUnit75Migration:risky' => true,
|
||||
'@Symfony' => true,
|
||||
'declare_strict_types' => false,
|
||||
'global_namespace_import' => false,
|
||||
'phpdoc_annotation_without_dot' => false,
|
||||
'phpdoc_summary' => false,
|
||||
'phpdoc_to_comment' => false,
|
||||
'single_line_throw' => false,
|
||||
'void_return' => false,
|
||||
'yoda_style' => false,
|
||||
])
|
||||
->setFinder(
|
||||
PhpCsFixer\Finder::create()
|
||||
->in(__DIR__.'/src')
|
||||
->in(__DIR__.'/tests')
|
||||
->name('*.php')
|
||||
)
|
||||
;
|
||||
|
||||
return $config;
|
||||
Reference in New Issue
Block a user