-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
117 lines (117 loc) · 3.29 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
109
110
111
112
113
114
115
116
117
{
"name": "phpgears/identity",
"description": "Identity object for PHP",
"keywords": [
"immutable",
"Identity"
],
"homepage": "https://github.com/phpgears/identity",
"license": "MIT",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "[email protected]",
"homepage": "http://juliangut.com",
"role": "Developer"
}
],
"support": {
"source": "https://github.com/phpgears/identity",
"issues": "https://github.com/phpgears/identity/issues"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.1",
"ext-json": "*",
"phpgears/immutability": "~0.2.2",
"ramsey/uuid": "^3.7.3|^4.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.8",
"friendsofphp/php-cs-fixer": "^2.16",
"hashids/hashids": "^3.0|^4.0",
"infection/infection": "^0.13|^0.15|^0.18|^0.19",
"pascaldevink/shortuuid": "^2.1",
"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",
"povils/phpmnd": "^2.1",
"roave/security-advisories": "dev-master",
"sebastian/phpcpd": "^4.0",
"squizlabs/php_codesniffer": "^3.5",
"thecodingmachine/phpstan-strict-rules": "^0.12",
"tuupola/base62": "^2.0"
},
"suggest": {
"hashids/hashids": "For hashed UUID based identities",
"pascaldevink/shortuuid": "For short UUID based identities",
"tuupola/base62": "For base62 encoded UUID based identities"
},
"autoload": {
"psr-4": {
"Gears\\Identity\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Gears\\Identity\\Tests\\": "tests/Identity/"
}
},
"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"
}
}
}