Tristan b07b0b2ae8
All checks were successful
continuous-integration/drone/push Build is passing
Apply rector, phpstan and php-cs-fixer
2022-11-29 19:52:02 +01:00

22 lines
488 B
PHP
Executable File

#!/usr/bin/env php
<?php
require __DIR__.'/vendor/autoload.php';
use NunoMaduro\Collision\Provider as CollisionProvider;
use Symfony\Component\Console\Application;
use trizz\AdventOfCode\ExecuteDay;
use trizz\AdventOfCode\Puzzle;
(new CollisionProvider())->register();
$application = new Application('Advent of Code by trizz');
$application->add(new Puzzle());
$application->add(new ExecuteDay());
try {
$application->run();
} catch (Exception $e) {
echo $e->getMessage();
}