Framework fixes

This commit is contained in:
Tristan 2021-12-09 12:34:10 +01:00
parent 37739ca715
commit d3cd95aed2
Signed by: trizz
GPG Key ID: 0A93DEC67165EB47
4 changed files with 10 additions and 2 deletions

View File

@ -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);

2
aoc21
View File

@ -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();

View File

@ -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
}
}

2
composer.lock generated
View File

@ -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",