Skip to content

Rector ​

php
final class StanislasPoisson\DevTools\Rector

The 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
ParameterDescription
$rootthe root of the project
$phpthe lowest version of PHP of the project, such as "8.3"
$pathsthe directories to process, relative to the root

Documentation of 1.1.1 , built from 671a0b4 on 1.1.1 by pipeline #38133304549 on 2026-10-10.