Skip to content

RectorBaseConfig ​

php
final class Zairakai\LaravelDevTools\Rector\RectorBaseConfig

Base Rector Configuration ================ Central configuration for Rector dev-tool. The sets of PHP come from stanislas-poisson/php-dev-tools; this class adds the paths, the skips and the Laravel sets.

Source: src/Rector/RectorBaseConfig.php

Methods ​

configure() ​

php
public static function configure(string $projectRoot, array $extraPaths = [], array $extraSkips = []): RectorConfigBuilder

Build RectorConfig instance.

ParameterDescription
$extraPathsdirectories added to the ones of the project
$extraSkipspaths added to the ones that are skipped

Documentation of 5.5.0 , built from 92a7387 on 5.5.0 by pipeline #3086393151 on 2026-11-18.