Skip to content

Instantly share code, notes, and snippets.

Deprecating Legacy

Tomas Votruba TomasVotruba

Deprecating Legacy
View GitHub Profile
View BuildSymfonyConfigsCommand.php
final class BuildSymfonyConfigsCommand extends Command
protected static $defaultName = 'app:build-symfony-configs';
protected function execute(InputInterface $input, OutputInterface $output): int
$generator = new ConfigBuilderGenerator(__DIR__ . '/../../var/cache');
TomasVotruba /
Created October 10, 2020 09:38
text on github about bio me

Tomas loves to combine open-source and innovations... yet he's super lazy. Traumatized in childhood by doing repeated tasks as a punishment by his father (he loves), he's unable to do anything twice without deep physical pain.

That's why he always spends dozens of hours to automate problems that would take and hour or two to do manually.

This extreme lazyness created the Rector ecosystem. A tool that automatically upgrades and refactores PHP, so you can have a coffee instead while your code is upgraded from PHP 5.3 to PHP 8.0.