This repository has been archived by the owner on Oct 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
composer.json
71 lines (71 loc) · 2.97 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
{
"name": "chubbyphp/chubbyphp-doctrine-db-service-provider",
"description": "Chubbyphp database service provider",
"keywords": ["chubbyphp", "provider", "doctrine", "dbal", "orm", "database", "pimple"],
"license": "MIT",
"authors": [
{
"name": "Dominik Zogg",
"email": "dominik.zogg@gmail.com"
}
],
"require": {
"php": "^7.4|^8.0",
"ext-mbstring": "*",
"doctrine/cache": "^1.11.3",
"doctrine/common": "^3.1.2",
"doctrine/dbal": "^2.11.3",
"doctrine/persistence": "^2.2.1"
},
"require-dev": {
"chubbyphp/chubbyphp-container": "^1.0|^2.0",
"chubbyphp/chubbyphp-dev-helper": "dev-master",
"chubbyphp/chubbyphp-mock": "^1.6",
"doctrine/orm": "^2.9.1",
"infection/infection": "^0.25.2",
"php-coveralls/php-coveralls": "^2.4.3",
"phploc/phploc": "^7.0.2",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^0.12.99",
"phpunit/phpunit": "^9.5.10",
"pimple/pimple": "^3.3",
"psr/log": "^1.0",
"symfony/yaml": "^3.4.45|^4.4.15|^5.0.11"
},
"conflict": {
"doctrine/orm": "<2.7.3,>=3.0"
},
"autoload": {
"psr-4": { "Chubbyphp\\DoctrineDbServiceProvider\\": "src/" }
},
"autoload-dev": {
"psr-4": { "Chubbyphp\\Tests\\DoctrineDbServiceProvider\\": "tests/" }
},
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "2.1-dev"
}
},
"scripts": {
"fix:cs": "mkdir -p build && vendor/bin/php-cs-fixer fix --cache-file=build/phpcs.cache",
"test": [
"@test:lint",
"@test:unit",
"@test:integration",
"@test:infection",
"@test:static-analysis",
"@test:loc",
"@test:cs"
],
"test:cs": "mkdir -p build && vendor/bin/php-cs-fixer fix --dry-run --stop-on-violation --cache-file=build/phpcs.cache",
"test:infection": "vendor/bin/infection --threads=$(nproc) --min-msi=91 --verbose --coverage=build/phpunit",
"test:integration": "vendor/bin/phpunit --testsuite=Integration --cache-result-file=build/phpunit/result.cache",
"test:lint": "mkdir -p build && find src tests -name '*.php' -print0 | xargs -0 -n1 -P$(nproc) php -l | tee build/phplint.log",
"test:loc": "mkdir -p build && vendor/bin/phploc src --verbose | tee build/phploc.log",
"test:static-analysis": "mkdir -p build && bash -c 'vendor/bin/phpstan analyse src --no-progress --level=7 --error-format=junit | tee build/phpstan.junit.xml; if [ ${PIPESTATUS[0]} -ne \"0\" ]; then exit 1; fi'",
"test:unit": "vendor/bin/phpunit --testsuite=Unit --coverage-text --coverage-clover=build/phpunit/clover.xml --coverage-html=build/phpunit/coverage-html --coverage-xml=build/phpunit/coverage-xml --log-junit=build/phpunit/junit.xml --cache-result-file=build/phpunit/result.cache"
}
}