Skip to content

Commit

Permalink
docs(readme): add paths to rector.php code block
Browse files Browse the repository at this point in the history
  • Loading branch information
remarkablemark authored Dec 23, 2023
1 parent 32435b9 commit ddce56e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ use Rector\Config\RectorConfig;
use Remarkablemark\RectorLaravelDatabaseExpressions\LaravelDatabaseExpressionsRector;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/tests',
]);
$rectorConfig->rule(LaravelDatabaseExpressionsRector::class);
};
```
Expand Down

0 comments on commit ddce56e

Please sign in to comment.