Merge pull request #10118 from nextcloud/chore/rector/config-upgrade
chore(rector): Upgrade config file
This commit is contained in:
Коммит
02ea49795c
13
rector.php
13
rector.php
|
@ -1,18 +1,19 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
||||
* SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
|
||||
use Rector\Config\RectorConfig;
|
||||
|
||||
return static function (RectorConfig $rectorConfig): void {
|
||||
$rectorConfig->paths([
|
||||
return RectorConfig::configure()
|
||||
->withPaths([
|
||||
__DIR__ . '/lib',
|
||||
__DIR__ . '/tests',
|
||||
])
|
||||
->withSkip([
|
||||
__DIR__ . '/lib/Vendor'
|
||||
]);
|
||||
$rectorConfig->skip([
|
||||
__DIR__ . '/lib/Vendor',
|
||||
]);
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче