Skip to content

Commit

Permalink
Merge pull request #10118 from nextcloud/chore/rector/config-upgrade
Browse files Browse the repository at this point in the history
chore(rector): Upgrade config file
  • Loading branch information
kesselb committed Sep 9, 2024
2 parents 4c8c5f7 + 263b09c commit 02ea497
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions rector.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?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;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
return RectorConfig::configure()
->withPaths([
__DIR__ . '/lib',
__DIR__ . '/tests',
])
->withSkip([
__DIR__ . '/lib/Vendor'
]);
$rectorConfig->skip([
__DIR__ . '/lib/Vendor',
]);
};

0 comments on commit 02ea497

Please sign in to comment.