Skip to content

Commit 547b965

Browse files
svenzikmrts
authored andcommitted
Add configuration for allowing http connection during development
WE2-967 Signed-off-by: Sven Mitt <[email protected]>
1 parent bc90006 commit 547b965

File tree

7 files changed

+1816
-8
lines changed

7 files changed

+1816
-8
lines changed

example/composer.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,25 @@
1414
"altorouter/altorouter": "^2.0.3",
1515
"psr/log": "^3.0"
1616
},
17+
"require-dev": {
18+
"phpunit/phpunit": "^10.5"
19+
},
1720
"autoload": {
18-
"classmap": ["src"]
21+
"psr-4": {
22+
"": "src/"
23+
}
24+
},
25+
"autoload-dev": {
26+
"psr-4": {
27+
"": ["tests"]
28+
}
29+
},
30+
"scripts": {
31+
"fix-php": ["prettier src/**/* --write", "prettier examples/src/* --write"],
32+
"test": "phpunit --no-coverage --display-warnings",
33+
"test-coverage": [
34+
"@putenv XDEBUG_MODE=coverage",
35+
"phpunit --coverage-html coverage"
36+
]
1937
}
2038
}

0 commit comments

Comments
 (0)