1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/trendsoftorg-capital

Клонировать/Скачать
.php_cs 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
jabber Отправлено 12.12.2017 07:46 3547675
<?php
$header = <<<EOF
This file is part of the trendsoft/capital.
(c) jabber <2898117012@qq.com>
This source file is subject to the MIT license that is bundled
with this source code in the file LICENSE.
EOF;
return PhpCsFixer\Config::create()
->setRiskyAllowed( true )
->setRules( array(
'@Symfony' => true,
'header_comment' => array( 'header' => $header ),
'array_syntax' => array( 'syntax' => 'short' ),
'ordered_imports' => true,
'no_useless_else' => true,
'no_useless_return' => true,
'php_unit_construct' => true,
'php_unit_strict' => true,
'yoda_style' => false,
) )
->setFinder(
PhpCsFixer\Finder::create()
->exclude( 'vendor' )
->in( __DIR__ )
);

Опубликовать ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://api.gitlife.ru/oschina-mirror/trendsoftorg-capital.git
git@api.gitlife.ru:oschina-mirror/trendsoftorg-capital.git
oschina-mirror
trendsoftorg-capital
trendsoftorg-capital
master