Refactor framework to support more years

This commit is contained in:
2021-12-09 22:41:22 +01:00
parent d3cd95aed2
commit 9891975d0f
56 changed files with 1257 additions and 1084 deletions

View File

@ -1,6 +1,6 @@
{
"name": "trizz/adventofcode21",
"description": "My Advent of Code 2021 solutions",
"name": "trizz/adventofcode",
"description": "My Advent of Code solutions",
"type": "project",
"license": "MIT",
"authors": [
@ -10,21 +10,22 @@
}
],
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-mbstring": "*",
"symfony/console": "^5",
"cebe/markdown": "^1.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.3",
"jetbrains/phpstorm-attributes": "^1.0",
"nunomaduro/collision": "^5.10",
"phpstan/phpstan": "^1.2",
"phpunit/phpunit": "^9.5",
"symfony/var-dumper": "^6.0",
"vimeo/psalm": "^4.13",
"jetbrains/phpstorm-attributes": "^1.0"
"symfony/var-dumper": "^6.0"
},
"autoload": {
"psr-4": {
"AdventOfCode21\\": "src/"
"trizz\\AdventOfCode\\": "src/"
}
},
"autoload-dev": {
@ -33,9 +34,9 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit ./tests --testdox",
"style": "vendor/bin/php-cs-fixer fix",
"psalm": "vendor/bin/psalm --no-cache"
"test": "vendor/bin/phpunit",
"style": "PHP_CS_FIXER_IGNORE_ENV=true vendor/bin/php-cs-fixer fix",
"phpstan": "vendor/bin/phpstan analyse"
},
"config": {
"sort-packages": true,