ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
basic_rector.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
8 
9 return 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 };