Skip to content

Commit

Permalink
chore(rector): Upgrade config file
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Sep 9, 2024
1 parent 057d47b commit 263b09c
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 263b09c

Please sign in to comment.