-
Notifications
You must be signed in to change notification settings - Fork 17
/
composer.json
63 lines (63 loc) · 1.96 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
"name": "linio/input",
"description": "Abstracts HTTP request input handling, providing an easy interface for data hydration and validation",
"keywords": ["linio", "input", "form"],
"type": "library",
"license": "BSD-3-Clause",
"require": {
"php": "^8.1",
"ramsey/uuid": "^4.5",
"doctrine/inflector": "^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.11",
"michaelmoussa/php-coverage-checker": "^1.1",
"phpunit/phpunit": "^9.5",
"phpspec/prophecy": "^1.15",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^0.12"
},
"scripts": {
"lint": [
"php-cs-fixer fix --ansi --verbose --show-progress=dots"
],
"lint:check": [
"@lint --dry-run"
],
"test:base": [
"php -d pcov.enabled=1 vendor/bin/phpunit --color=always"
],
"test": [
"@test:base --log-junit build/junit.xml --coverage-xml build/coverage-xml --coverage-clover build/coverage-clover.xml"
],
"test:with-html-coverage": [
"@test:base --coverage-html build/coverage-html"
],
"test:coverage-checker": [
"php-coverage-checker build/coverage-clover.xml 92;"
],
"test:check": [
"if [ -f build/coverage-clover.xml ]; then rm build/coverage-clover.xml; echo '>>> REMOVED OLD CLOVER.XML BUILD FILE!'; fi; # comment trick to allow composer params :D",
"@test",
"@test:coverage-checker"
],
"check": [
"@lint:check",
"@test:check",
"@static-analysis"
],
"static-analysis": [
"phpstan analyse --ansi --memory-limit=-1"
]
},
"autoload": {
"psr-4": {
"Linio\\Component\\Input\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Linio\\Component\\Input\\": "tests/"
}
}
}