Skip to content

Commit

Permalink
feat(rector): Add rector to the repository
Browse files Browse the repository at this point in the history
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Sep 19, 2024
1 parent 4f4d8b2 commit 56400af
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 0 deletions.
15 changes: 15 additions & 0 deletions rector.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?php

declare(strict_types=1);

use Rector\Config\RectorConfig;
return RectorConfig::configure()
->withPaths([
__DIR__ . '/appinfo',
__DIR__ . '/lib',
__DIR__ . '/templates',
__DIR__ . '/tests/php',
])
->withSkipPath(__DIR__ . '/lib/Vendor')
->withPhpSets(php73: true)
->withTypeCoverageLevel(0);
5 changes: 5 additions & 0 deletions vendor-bin/rector/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"require-dev": {
"rector/rector": "^1.2"
}
}
136 changes: 136 additions & 0 deletions 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 56400af

Please sign in to comment.