Apply rector, phpstan and php-cs-fixer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-29 19:52:02 +01:00
parent f35c24d35d
commit b07b0b2ae8
22 changed files with 869 additions and 1105 deletions

10
aoc
View File

@ -7,11 +7,15 @@ use Symfony\Component\Console\Application;
use trizz\AdventOfCode\ExecuteDay;
use trizz\AdventOfCode\Puzzle;
(new CollisionProvider)->register();
(new CollisionProvider())->register();
$application = new Application();
$application = new Application('Advent of Code by trizz');
$application->add(new Puzzle());
$application->add(new ExecuteDay());
$application->run();
try {
$application->run();
} catch (Exception $e) {
echo $e->getMessage();
}