-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
40 lines (40 loc) · 1.03 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": "bancer/form-builder",
"description": "HTML forms builder for CakePHP",
"require": {
"php": ">=5.6"
},
"require-dev": {
"cakephp/cakephp": "3.*",
"phpunit/phpunit": "9.*",
"phpstan/phpstan": "^0.12.99",
"squizlabs/php_codesniffer": "^3.6"
},
"license": "MIT",
"autoload": {
"psr-4": {
"Bancer\\FormBuilder\\": "src/"
}
},
"autoload-dev" : {
"psr-4" : {
"Bancer\\FormBuilder\\" : ["src/", "tests/"]
}
},
"scripts": {
"all-tests": [
"@phpstan",
"@phpcs",
"@phpunit"
],
"ci-tests": [
"@phpstan",
"@phpcs",
"@phpunit-coverage"
],
"phpstan": "vendor/bin/phpstan analyse -l 8 -c phpstan.neon src",
"phpcs": "vendor/bin/phpcs --standard=PSR12 -p src tests",
"phpunit": "vendor/bin/phpunit tests",
"phpunit-coverage": "vendor/bin/phpunit tests --coverage-text"
}
}