This repository has been archived by the owner on Jan 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
/
composer.json
98 lines (91 loc) · 2.52 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "raml-org/raml-php-parser",
"type": "library",
"description": "A RAML parser built in php",
"homepage": "https://github.com/raml-org/raml-php-parser",
"license": "MIT",
"authors": [
{
"name": "Alec Sammon",
"email": "[email protected]",
"role": "Original Author"
},
{
"name": "eLama Team",
"email": "[email protected]",
"role": "Main Contributor"
},
{
"name": "Martin Georgiev",
"email": "[email protected]",
"role": "Maintainer"
}
],
"replace": {
"alecsammon/php-raml-parser": "*"
},
"autoload": {
"psr-4": {
"Raml\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Raml\\Tests\\": "tests/"
}
},
"require": {
"php": "^7.3|^8.0",
"ext-dom": "*",
"ext-json": "*",
"ext-pcre": "*",
"justinrainbow/json-schema": "^5.0",
"symfony/yaml": "^3.0|^4.0|^5.0",
"symfony/routing": "^3.0|^4.0|^5.0|^v6.0",
"oodle/inflect": "^0.2",
"psr/http-message": "^1.0",
"willdurand/negotiation": "^2.2.1|^3"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "*",
"php-coveralls/php-coveralls": "^2.1",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-phpunit": "^0.12.16",
"phpunit/phpunit": "^9.0",
"slam/phpstan-extensions": "^5.0"
},
"scripts": {
"run-ci": [
"@check-code-style",
"@run-static-analysis",
"@check-security"
],
"check-code-style": [
"php-cs-fixer fix --config='./tools/php-cs-fixer/config.php' --no-interaction --diff -v --dry-run"
],
"check-security": [
"local-php-security-checker"
],
"fix-code-style": [
"php-cs-fixer fix --config='./tools/php-cs-fixer/config.php' --no-interaction --diff -v"
],
"generate-phpstan-baselines": [
"phpstan analyse src/ --generate-baseline='./tools/phpstan/baseline/src.neon' --configuration='./tools/phpstan/config.neon' --ansi",
"phpstan analyse tests/ --generate-baseline='./tools/phpstan/baseline/tests.neon' --configuration='./tools/phpstan/config.neon' --ansi"
],
"run-static-analysis": [
"phpstan analyse src/ tests/ --configuration='./tools/phpstan/config.neon' --ansi --no-progress"
],
"run-tests": [
"phpunit --configuration='./tools/phpunit/config.xml'"
],
"run-tests-with-clover": [
"phpunit --configuration='./tools/phpunit/config.xml' --coverage-clover='./build/logs/clover.xml'"
]
},
"config": {
"bin-dir": "bin",
"sort-packages": true
},
"prefer-stable": true
}