Update composer
- Add autoloader
- Add PHPUnit
- Add ApiGen
- Add CodeSniffer
version: '2'
services:
webserver:
image: php
ports:
- 3000:80
volumes:
- ./www:/www
command: php -S 0.0.0.0:80 -t /www
This commit is contained in:
@@ -1,8 +1,22 @@
|
|||||||
{
|
{
|
||||||
"require": {},
|
"require": {
|
||||||
|
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"squizlabs/php_codesniffer": "2.*",
|
||||||
|
"phpunit/phpunit": "5.7.*",
|
||||||
|
"apigen/apigen": "master"
|
||||||
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
"App\\": ["src/", "tests/"]
|
"App\\Acme\\": "src/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"autoload-dev": {
|
||||||
|
"psr-4": {
|
||||||
|
"AppTest\\Acme\\": "test/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"minimum-stability": "dev",
|
||||||
|
"prefer-stable": true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user