ILIAS  release_8 Revision v8.24
basic_rector.php
Go to the documentation of this file.
1<?php
2
3declare(strict_types=1);
4
5use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
8
9return static function (ContainerConfigurator $containerConfigurator): void {
10 $services = $containerConfigurator->services();
11 // We start with a single and sinle (own) rule. remove requires and include.
12 $services->set(RemoveRequiresAndIncludesRector::class);
13 // The second rule will add (or replace) e license-header for every class-file
14 $services->set(ChangeLicenseHeader::class);
15};