diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 945ca58..9867d6d 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -23,5 +23,7 @@ return $config 'ternary_to_null_coalescing' => true, 'array_syntax' => ['syntax' => 'short'], 'php_unit_test_class_requires_covers' => false, + 'single_line_comment_style' => false, + 'phpdoc_to_comment' => false, ]) ->setFinder($finder); diff --git a/aoc21 b/aoc21 index ed4d172..40b5527 100755 --- a/aoc21 +++ b/aoc21 @@ -7,6 +7,7 @@ use AdventOfCode21\Day2; use AdventOfCode21\Day3; use AdventOfCode21\Day4; use AdventOfCode21\Day6; +use AdventOfCode21\Day7; use AdventOfCode21\Puzzle; use Symfony\Component\Console\Application; @@ -18,5 +19,6 @@ $application->add(new Day2()); $application->add(new Day3()); $application->add(new Day4()); $application->add(new Day6()); +$application->add(new Day7()); $application->run(); diff --git a/composer.json b/composer.json index e18d39d..a137270 100644 --- a/composer.json +++ b/composer.json @@ -11,8 +11,8 @@ ], "require": { "php": "^8.0", - "symfony/console": "^5", "ext-mbstring": "*", + "symfony/console": "^5", "cebe/markdown": "^1.2" }, "require-dev": { @@ -36,5 +36,9 @@ "test": "vendor/bin/phpunit ./tests --testdox", "style": "vendor/bin/php-cs-fixer fix", "psalm": "vendor/bin/psalm --no-cache" + }, + "config": { + "sort-packages": true, + "optimize-autoloader": true } } diff --git a/composer.lock b/composer.lock index 19fefcc..6371030 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "3a59a29c9eccdbf1233787e6daec2064", + "content-hash": "4ab6c1a359d0a6f590a56de670c6eea9", "packages": [ { "name": "cebe/markdown",