-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
56 lines (56 loc) · 1.81 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": "eonx-com/easy-quality",
"description": "Makes using of code quality tools for PHP projects of EonX easier",
"type": "library",
"license": "MIT",
"require": {
"php": "~8.2",
"jangregor/phpstan-prophecy": "1.0.2",
"phpmd/phpmd": "2.15.0",
"phpmetrics/phpmetrics": "^2.8",
"phpstan/phpdoc-parser": "1.32.0",
"phpstan/phpstan": "1.12.5",
"rector/rector": "1.2.5",
"slevomat/coding-standard": "8.15.0",
"symplify/easy-coding-standard": "12.3.5",
"symplify/phpstan-extensions": "11.4.3",
"symplify/phpstan-rules": "13.0.1"
},
"require-dev": {
"phpunit/phpunit": "^10.5"
},
"autoload": {
"psr-4": {
"EonX\\EasyQuality\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"EonX\\EasyQuality\\Tests\\": "tests"
}
},
"bin": [
"bin/pmc"
],
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check-all": [
"@composer check-ecs",
"@composer check-phpstan",
"@composer check-rector"
],
"check-ecs": "php -d memory_limit=2048M vendor/bin/ecs check --clear-cache --config=quality/ecs.php",
"check-phpstan": "vendor/bin/phpstan analyse --ansi --memory-limit=2048M --configuration=quality/phpstan.neon",
"check-rector": "vendor/bin/rector --dry-run --clear-cache --config=quality/rector.php",
"fix-all": [
"@composer fix-ecs",
"@composer fix-rector"
],
"fix-ecs": "php -d memory_limit=2048M vendor/bin/ecs check --fix --config=quality/ecs.php",
"fix-rector": "vendor/bin/rector --clear-cache --config=quality/rector.php"
}
}