-
Notifications
You must be signed in to change notification settings - Fork 436
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(rector): Add rector to the repository
Signed-off-by: Joas Schilling <[email protected]>
- Loading branch information
1 parent
4f4d8b2
commit 56400af
Showing
3 changed files
with
156 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"require-dev": { | ||
"rector/rector": "^1.2" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.