Files
nextcloud-mail/rector.php
Christoph Wurst 70fffdc454 refactor(rector): apply PHP74 set
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-10-07 10:51:22 +02:00

30 lines
575 B
PHP

<?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;
use Rector\TypeDeclaration\Rector\Class_\AddTestsVoidReturnTypeWhereNoReturnRector;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/lib',
__DIR__ . '/tests',
])
->withSkip([
__DIR__ . '/lib/Vendor'
])
->withPreparedSets(
phpunitCodeQuality: true,
)
->withPhpSets(
php74: true,
)
->withRules([
AddTestsVoidReturnTypeWhereNoReturnRector::class,
]);