Skip to content

Commit 3537660

Browse files
committed
feat: modernize composer.json.dist template with updated dependencies and improved configuration
1 parent 6bfecc0 commit 3537660

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

web/app/composer.json.dist

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,32 @@
11
{
2+
"name": "nanoninja/docker-nginx-php-mysql",
3+
"description": "Docker NGINX PHP MySQL development environment",
4+
"type": "project",
5+
"license": "MIT",
26
"require": {
3-
"symfony/yaml": "^5.1"
7+
"php": ">=8.1",
8+
"symfony/yaml": "^6.3"
49
},
510
"require-dev": {
6-
"phpmd/phpmd": "@stable",
7-
"phpunit/phpunit": "^9.0",
8-
"squizlabs/php_codesniffer": "3.5.*"
11+
"phpmd/phpmd": "^2.13",
12+
"phpunit/phpunit": "^10.0",
13+
"squizlabs/php_codesniffer": "^3.7",
14+
"phpstan/phpstan": "^1.10"
915
},
1016
"autoload": {
1117
"psr-4": {
12-
"App\\Acme\\": "src/"
18+
"App\\": "src/"
1319
}
1420
},
1521
"autoload-dev": {
1622
"psr-4": {
17-
"AppTest\\Acme\\": "test/"
23+
"App\\Tests\\": "tests/"
1824
}
1925
},
26+
"config": {
27+
"sort-packages": true,
28+
"optimize-autoloader": true
29+
},
2030
"minimum-stability": "stable",
2131
"prefer-stable": true
22-
}
32+
}

0 commit comments

Comments
 (0)