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

OSCHINA-MIRROR/mirrors-pfsense

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Клонировать/Скачать
rector.php 1.2 КБ
Копировать Редактировать Web IDE Исходные данные Просмотреть построчно История
Reid Linnemann Отправлено 17.03.2023 00:46 875221b
<?php
declare(strict_types=1);
use Rector\Config\RectorConfig;
use Tools\Rector\Rector\Rules;
return static function (RectorConfig $rectorConfig): void {
// Recursively check these paths...
$rectorConfig->paths([
__DIR__ . '/src',
]);
// for files with these extensions...
$rectorConfig->fileExtensions([
'php',
'inc',
]);
// while skipping third-pary code that isn't our concern.
$rectorConfig->skip([
__DIR__ . '/src/usr/local/pfSense/include/vendor/*',
__DIR__ . '/src/etc/inc/priv.defs.inc',
]);
/*
* Register Rector rules or rulesets here
*
* See https://github.com/rectorphp/rector#running-rector
*
* Place custom Rectors in tools/rector/src/Rector named
* SomeDescriptiveNameRector.php namespaced as "Tools\Rector\Rector".
* Class should be "final" qualified, extend AbstractRector
* and the same name as the filename.
*
* See https://github.com/rectorphp/rector/blob/main/docs/create_own_rule.md
*/
$rectorConfig->ruleWithConfiguration(Rules\ArrayGetExprRector::class,
['g' => 'g_get',
'config' => 'config_get_path']);
};

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

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

1
https://api.gitlife.ru/oschina-mirror/mirrors-pfsense.git
git@api.gitlife.ru:oschina-mirror/mirrors-pfsense.git
oschina-mirror
mirrors-pfsense
mirrors-pfsense
master