Skip to content
This repository was archived by the owner on Mar 5, 2023. It is now read-only.

Commit 71e796d

Browse files
authored
update: Dependencies (#86)
1 parent 1a7792b commit 71e796d

File tree

5 files changed

+367
-1578
lines changed

5 files changed

+367
-1578
lines changed

composer.json

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@
1010
}
1111
],
1212
"require": {
13-
"php": "^7.2|^8.0",
14-
"8fold/php-shoop-shelf": "^0.8.6",
15-
"8fold/php-html-spec": "^0.0.5",
16-
"nesbot/carbon": "^2.5"
13+
"php": "^8.1",
14+
"8fold/php-html-builder": "^0.6.0"
1715
},
1816
"require-dev": {
19-
"phpunit/phpunit": "^9.3.3"
17+
"phpstan/phpstan": "^1.4.3",
18+
"phpunit/phpunit": "^9.5.13",
19+
"squizlabs/php_codesniffer": "^3.6.2"
2020
},
2121
"autoload": {
2222
"psr-4": {
@@ -32,5 +32,22 @@
3232
"config": {
3333
"preferred-install": "dist"
3434
},
35-
"prefer-stable": true
35+
"prefer-stable": true,
36+
"scripts": {
37+
"prod": "@production",
38+
"production": [
39+
"composer dumpautoload -o",
40+
"@style",
41+
"@stan",
42+
"@test"
43+
],
44+
"deploy": [
45+
"@production",
46+
"@optimize-autoload"
47+
],
48+
"style": "./vendor/bin/phpcs --standard=phpcs.xml",
49+
"stan": "./vendor/bin/phpstan analyze",
50+
"test": "./vendor/bin/phpunit",
51+
"optimize-autoload": "composer dumpautoload --no-dev --classmap-authoritative"
52+
}
3653
}

0 commit comments

Comments
 (0)