-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
56 lines (56 loc) · 1.86 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
{
"name" : "readdle/fqdb",
"version": "4.2.0",
"license": "MIT",
"require" : {
"php" : ">=7.4",
"ext-PDO": "*",
"ext-json": "*",
"symfony/event-dispatcher-contracts": "^2.0|^3.0"
},
"require-dev": {
"escapestudios/symfony2-coding-standard": "^3.12",
"jangregor/phpstan-prophecy": "^1.0",
"pheromone/phpcs-security-audit": "^2.0",
"phpcompatibility/php-compatibility": "^9.3",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.8",
"phpstan/phpstan-phpunit": "^1.0",
"phpunit/phpunit": "^9.5",
"slevomat/coding-standard": "^8.4",
"squizlabs/php_codesniffer": "^3.6"
},
"autoload": {
"exclude-from-classmap": ["*Test.php"],
"classmap": [
"src/"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"register-standards": "phpcs --config-set installed_paths $(pwd),$(pwd)/vendor/slevomat/coding-standard,$(pwd)/vendor/phpcompatibility/php-compatibility,$(pwd)/vendor/pheromone/phpcs-security-audit,$(pwd)/vendor/escapestudios/symfony2-coding-standard 2>/dev/null || true",
"post-install-cmd": [
"@register-standards"
],
"test": [
"phpunit -c $(pwd)/phpunit.xml"
],
"lint-autofix": [
"phpcbf -s -n --standard=$(pwd)/phpcs.ruleset.xml --extensions=php --encoding=utf-8 $(pwd)/src/ 2>/dev/null || true"
],
"lint": [
"phpcs -s -n --standard=$(pwd)/phpcs.ruleset.xml --extensions=php --encoding=utf-8 $(pwd)/src/"
],
"phpstan": "phpstan analyze -c phpstan.neon",
"ci": [
"@lint",
"@test",
"@phpstan"
]
}
}