Files
nextcloud-spreed/rector.php
Joas Schilling 24bbc265f5 feat(rector): Add rector to the repository
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-08 21:19:01 +02:00

25 lines
529 B
PHP

<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
use Nextcloud\Rector\Set\NextcloudSets;
use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/appinfo',
__DIR__ . '/lib',
__DIR__ . '/templates',
__DIR__ . '/tests/php',
])
->withSkipPath(__DIR__ . '/lib/Vendor')
->withPhpSets(php73: true)
->withSets([
NextcloudSets::NEXTCLOUD_27,
])
->withTypeCoverageLevel(0);