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

OSCHINA-MIRROR/inhere-php-srouter

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
.php_cs 851 Байт
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Inhere Отправлено 19.05.2020 15:16 3860081
<?php
$header = <<<'EOF'
@license https://github.com/inhere/php-srouter/blob/master/LICENSE
EOF;
return PhpCsFixer\Config::create()->setRiskyAllowed(true)->setRules([
'@PSR2' => true,
'array_syntax' => [
'syntax' => 'short'
],
'class_attributes_separation' => true,
'declare_strict_types' => true,
'encoding' => true, // MUST use only UTF-8 without BOM
'global_namespace_import' => true,
// 'header_comment' => [
// 'comment_type' => 'PHPDoc',
// 'header' => $header,
// 'separate' => 'bottom'
// ],
'no_unused_imports' => true,
'single_quote' => true,
'standardize_not_equals' => true,
])->setFinder(PhpCsFixer\Finder::create()
// ->exclude('test')
->exclude('docs')->exclude('vendor')->in(__DIR__))->setUsingCache(false);

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

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

1
https://api.gitlife.ru/oschina-mirror/inhere-php-srouter.git
git@api.gitlife.ru:oschina-mirror/inhere-php-srouter.git
oschina-mirror
inhere-php-srouter
inhere-php-srouter
master