Files
nextcloud-mail/rector.php
renovate[bot] 2f750c9892 chore(deps): bump rector/rector from 1.2.10 to v2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-06-13 10:49:44 +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(
php73: true,
)
->withRules([
AddTestsVoidReturnTypeWhereNoReturnRector::class,
]);