2024-10-01 13:41:55 +03:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
|
|
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
*/
|
|
|
|
|
|
|
|
use Rector\Config\RectorConfig;
|
2024-10-02 13:18:13 +03:00
|
|
|
|
2024-10-01 13:41:55 +03:00
|
|
|
return RectorConfig::configure()
|
|
|
|
->withPaths([
|
|
|
|
__DIR__ . '/appinfo',
|
|
|
|
__DIR__ . '/lib',
|
|
|
|
__DIR__ . '/templates',
|
|
|
|
__DIR__ . '/tests/Integration',
|
|
|
|
__DIR__ . '/tests/Unit',
|
|
|
|
])
|
2024-10-02 08:47:27 +03:00
|
|
|
->withPhpSets(php81: true)
|
2024-10-01 13:41:55 +03:00
|
|
|
->withTypeCoverageLevel(0);
|