-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
105 lines (105 loc) · 2.9 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
{
"name": "juliangut/doctrine-base-repositories",
"description": "Doctrine2 utility repositories",
"keywords": [
"Doctrine2",
"repository"
],
"homepage": "https://github.com/juliangut/doctrine-base-repositories",
"license": "MIT",
"authors": [
{
"name": "Julián Gutiérrez",
"email": "[email protected]",
"homepage": "http://juliangut.com",
"role": "Developer"
}
],
"support": {
"source": "https://github.com/juliangut/doctrine-base-repositories",
"issues": "https://github.com/juliangut/doctrine-base-repositories/issues"
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^7.0",
"doctrine/common": "^2.0",
"doctrine/inflector": "^1.0",
"symfony/polyfill-php71": "^1.0",
"zendframework/zend-paginator": "^2.6"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.1",
"doctrine/orm": "^2.4",
"friendsofphp/php-cs-fixer": "^2.0",
"infection/infection": "^0.7.0",
"ocramius/package-versions": "~1.2.0",
"phpmd/phpmd": "^2.0",
"phpmetrics/phpmetrics": "^2.0",
"phpstan/phpstan": "~0.8",
"phpunit/phpunit": "^6.0",
"sebastian/phpcpd": "^2.0",
"squizlabs/php_codesniffer": "^2.0",
"symfony/console": "^3.0|^4.0"
},
"suggest": {
"juliangut/doctrine-orm-repositories": "Doctrine ORM repositories",
"juliangut/doctrine-mongodb-odm-repositories": "Doctrine MongoDB repositories"
},
"autoload": {
"psr-4": {
"Jgut\\Doctrine\\Repository\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Jgut\\Doctrine\\Repository\\Tests\\": "tests/Repository/"
}
},
"bin": [
],
"config": {
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"cghooks": "cghooks",
"post-install-cmd": "cghooks add --ignore-lock",
"post-update-cmd": "cghooks update",
"phplint": "php -l src && php -l tests",
"phpcs": "phpcs --standard=PSR2 src tests",
"phpcs-lint": "php-cs-fixer fix --dry-run --verbose",
"phpcpd": "phpcpd src",
"phpmd": "phpmd src text unusedcode,naming,design,controversial,codesize",
"phpmetrics-report": "phpmetrics --report-html=build/metrics --report-violations=build/logs/violations.xml --offline .",
"phpstan": "phpstan analyse --level 7 src",
"phpunit": "phpunit",
"phpunit-coverage": "phpunit --coverage-html build/coverage",
"phpunit-clover": "phpunit --coverage-clover build/logs/clover.xml",
"infection": "infection",
"qa": [
"@phplint",
"@phpcs",
"@phpcs-lint",
"@phpcpd",
"@phpmd",
"@phpstan"
],
"reports": [
"@phpmetrics-report",
"@phpunit-coverage"
],
"fix": "php-cs-fixer fix --verbose",
"security": "composer outdated",
"test": [
"@qa",
"@phpunit",
"@infection"
]
},
"extra": {
"hooks": {
"pre-commit": "composer qa && composer phpunit"
}
}
}