Skip to content

Commit

Permalink
chore: Add nextcloud/rector dependency and nextcloud sets
Browse files Browse the repository at this point in the history
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
  • Loading branch information
come-nc committed Sep 18, 2024
1 parent 691f774 commit 71545ca
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 3 deletions.
9 changes: 8 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

declare(strict_types=1);

use Nextcloud\Rector\Set\NextcloudSets;
use Rector\Config\RectorConfig;

return RectorConfig::configure()
Expand All @@ -11,4 +12,10 @@
__DIR__ . '/tests',
])
->withPhpSets(php81: true)
->withTypeCoverageLevel(0);
->withTypeCoverageLevel(0)
->withSets([
NextcloudSets::NEXTCLOUD_25,
NextcloudSets::NEXTCLOUD_26,
NextcloudSets::NEXTCLOUD_27,
NextcloudSets::NEXTCLOUD_ALL,
]);
3 changes: 2 additions & 1 deletion vendor-bin/rector/composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"require-dev": {
"rector/rector": "^1.2"
"rector/rector": "^1.2",
"nextcloud/rector": "^0.1.0"
}
}
64 changes: 63 additions & 1 deletion vendor-bin/rector/composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 71545ca

Please sign in to comment.