| Total Complexity | 2 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | abstract class LaravelAwareRectorRule extends AbstractRector implements ConfigurableRectorInterface |
||
| 16 | { |
||
| 17 | public $baseDir = null; |
||
| 18 | |||
| 19 | public function configure(array $configuration): void |
||
| 20 | { |
||
| 21 | $this->baseDir = $configuration['path'] ?? getcwd(); |
||
| 22 | } |
||
| 23 | |||
| 24 | protected function getLaravel(): Application |
||
| 46 | } |
||
| 47 | } |
||
| 48 |