-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
40 lines (40 loc) · 1.15 KB
/
composer.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
"name": "vonbraunlabs/slimx",
"type": "library",
"authors": [
{
"name": "Diogo Oliveira de Melo",
"email": "[email protected]"
}
],
"require": {
"php": ">=7.1",
"slim/slim": "^3.0",
"gabordemooij/redbean": "^5.3"
},
"autoload": {
"psr-4": {
"SlimX\\Controllers\\": "SlimX/Controllers",
"SlimX\\Exceptions\\": "SlimX/Exceptions",
"SlimX\\Models\\": "SlimX/Models",
"SlimX\\Tests\\": "SlimX/Tests"
}
},
"require-dev": {
"phpunit/phpunit": "^9.0",
"guzzlehttp/guzzle": "^6.2",
"phpstan/phpstan": "^0.9.1",
"squizlabs/php_codesniffer": "^3.2"
},
"autoload-dev": {
"psr-4": {
"SlimX\\SelfTests\\": "tests/SlimX/SelfTests"
}
},
"scripts": {
"test": "vendor/bin/phpunit --stderr",
"cs": "vendor/bin/phpcs --standard=PSR2 SlimX/ tests/",
"phpstan": "vendor/bin/phpstan analyse SlimX/ tests/ -l 5",
"lint": "for name in $(find SlimX/ tests/ -type f -name '*.php'); do php -l $name || exit 1 ; done"
}
}