Appearance
Rector
php
final class StanislasPoisson\DevTools\RectorThe configuration of Rector of a project: the sets of laravel-dev-tools for the version of PHP of the project, without the Laravel ones.
Source: src/Rector.php
Methods
configure()
php
public static function configure(string $root, string $php = '8.3', array $paths = ['src', 'tests']): RectorConfigBuilder| Parameter | Description |
|---|---|
$root | the root of the project |
$php | the lowest version of PHP of the project, such as "8.3" |
$paths | the directories to process, relative to the root |