-
-
Notifications
You must be signed in to change notification settings - Fork 107
Expand file tree
/
Copy pathrector.php
More file actions
31 lines (27 loc) · 641 Bytes
/
rector.php
File metadata and controls
31 lines (27 loc) · 641 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
/**
* SPDX-FileCopyrightText: 2025 LibreCode coop and contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
declare(strict_types=1);
use Nextcloud\Rector\Set\NextcloudSets;
use Rector\Config\RectorConfig;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/appinfo',
__DIR__ . '/composer',
__DIR__ . '/lib',
__DIR__ . '/templates',
__DIR__ . '/tests/php',
])
->withPhpSets(php81: true)
->withSets([
NextcloudSets::NEXTCLOUD_30,
])
->withTypeCoverageLevel(0)
->withSkip([
ReadOnlyPropertyRector::class,
__DIR__ . '/lib/Vendor',
]);
;