115 Unstar Star 497 Fork 111

GVPswoft / swoftPHP

Clone or download
.php_cs
Copy Edit Raw Normal History
inhere   add php_cs file 2019-06-11
<?php$header = <<<'EOF'This file is part of Swoft.@link     https://swoft.org@document https://swoft.org/docs@contact  group@swoft.org@license  https://github.com/swoft-cloud/swoft/blob/master/LICENSEEOF;return PhpCsFixer\Config::create()    ->setRiskyAllowed(true)    ->setRules([        '@PSR2' => true,        'header_comment' => [            'commentType' => 'PHPDoc',            'header' => $header,            'separate' => 'none'        ],        'array_syntax' => [            'syntax' => 'short'        ],        'single_quote' => true,        'class_attributes_separation' => true,        'no_unused_imports' => true,        'standardize_not_equals' => true,    ])    ->setFinder(        PhpCsFixer\Finder::create()            ->exclude('public')            ->exclude('resources')            ->exclude('config')            ->exclude('runtime')            ->exclude('vendor')            ->in(__DIR__)    )    ->setUsingCache(false);
PHP
1
https://gitee.com/swoft/swoft.git
git@gitee.com:swoft/swoft.git
swoft
swoft
swoft
e38ff52f77dd4ae6e850e30e0d6d483d6d57dcb8

Search