-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
108 lines (108 loc) · 2.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
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
99
100
101
102
103
104
105
106
107
108
{
"name": "phpgears/immutability",
"description": "Object immutability guard for PHP",
"keywords": [
"object",
"immutability"
],
"homepage": "https://github.com/phpgears/immutability",
"license": "MIT",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "[email protected]",
"homepage": "http://juliangut.com",
"role": "Developer"
}
],
"support": {
"source": "https://github.com/phpgears/immutability",
"issues": "https://github.com/phpgears/immutability/issues"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.16",
"infection/infection": "^0.13|^0.15|^0.18|^0.19",
"overtrue/phplint": "^1.2",
"pedrotroller/php-cs-custom-fixer": "^2.19",
"phpmd/phpmd": "^2.8",
"phpstan/extension-installer": "^1.0.3",
"phpstan/phpstan": "^0.12",
"phpstan/phpstan-deprecation-rules": "^0.12",
"phpstan/phpstan-strict-rules": "^0.12",
"phpunit/phpunit": "^7.5|^8.0|^9.0",
"povils/phpmnd": "^2.1",
"roave/security-advisories": "dev-master",
"sebastian/phpcpd": "^4.0|^5.0|^6.0",
"squizlabs/php_codesniffer": "^3.5",
"thecodingmachine/phpstan-strict-rules": "^0.12"
},
"suggest": {
},
"autoload": {
"psr-4": {
"Gears\\Immutability\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gears\\Immutability\\Tests\\": "tests/Immutability/"
}
},
"bin": [
],
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"cghooks": "cghooks",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"lint-php": "phplint --configuration=.phplint.yml",
"lint-phpcs": "phpcs --standard=PSR2 src tests",
"lint-phpcs-fixer": "php-cs-fixer fix --config=.php_cs --dry-run --verbose",
"fix-phpcs": "php-cs-fixer fix --config=.php_cs --verbose",
"qa-phpcpd": "phpcpd src",
"qa-phpmd": "phpmd src text unusedcode,naming,design,controversial,codesize",
"qa-phpmnd": "phpmnd ./ --exclude=tests",
"qa-phpstan": "phpstan analyse --configuration=phpstan.neon --memory-limit=2G --no-progress",
"test-phpunit": "phpunit",
"test-infection": "infection",
"report-phpunit-coverage": "phpunit --coverage-html build/coverage",
"report-phpunit-clover": "phpunit --coverage-clover build/logs/clover.xml",
"lint": [
"@lint-php",
"@lint-phpcs",
"@lint-phpcs-fixer"
],
"fix": [
"@fix-phpcs"
],
"qa": [
"@qa-phpcpd",
"@qa-phpmd",
"@qa-phpmnd",
"@qa-phpstan"
],
"security": "composer outdated",
"test": [
"@test-phpunit",
"@test-infection"
],
"report": [
"@report-phpunit-coverage",
"@report-phpunit-clover"
]
},
"extra": {
"hooks": {
"pre-commit": "composer lint && composer qa && composer test-phpunit"
}
}
}