-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
113 lines (113 loc) · 3.77 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
{
"name": "liniopay/idle",
"type": "project",
"license": "BSD-3-Clause",
"description": "Job and Queue management",
"keywords": ["linio", "liniopay", "queue", "sqs", "pubsub", "publish", "subscribe", "job", "messaging"],
"autoload": {
"psr-4": {
"LinioPay\\Idle\\": [
"src/"
]
}
},
"autoload-dev": {
"psr-4": {
"LinioPay\\Idle\\": [
"tests/"
]
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"ext-json": "*",
"php": "^8.1",
"laminas/laminas-stdlib": "^3.16",
"psr/container": "^2.0",
"psr/http-message": "^1.0",
"psr/log": "^3.0",
"ramsey/uuid": "^4.0",
"google/cloud-tasks": "^1.6"
},
"require-dev": {
"aws/aws-sdk-php": "^3.140",
"friendsofphp/php-cs-fixer": "^v3.13",
"google/cloud-pubsub": "^1.24",
"infection/infection": "^0.26",
"laminas/laminas-hydrator": "^4.11",
"league/fractal": "^0.19",
"michaelmoussa/php-coverage-checker": "^1.1",
"mockery/mockery": "^1.4",
"monolog/monolog": "^3.1",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-mockery": "^1.1",
"phpunit/phpunit": "^9.5",
"roave/security-advisories": "dev-master",
"symfony/yaml": "^5.3"
},
"suggest": {
"symfony/yaml": "Adds support for parsing yaml configs.",
"league/fractal": "Adds support for transformers.",
"aws/aws-sdk-php": "Adds support for AWS SQS",
"google/cloud-pubsub": "Adds support for Google Pub/Sub",
"google/cloud-tasks": "Adds support for Google Cloud Tasks"
},
"scripts": {
"check": [
"@lint:check",
"@security-check",
"@test:unit:check",
"@test:mutation",
"@static-analysis"
],
"lint": [
"vendor/bin/php-cs-fixer fix --ansi -v"
],
"lint:check": [
"@lint --dry-run"
],
"test:unit:base": [
"php -d pcov.enabled=1 -d zend.enable_gc=0 vendor/bin/phpunit --color=always"
],
"test:unit:filter": [
"@test:unit:base --filter"
],
"test:unit": [
"@test:unit:base --log-junit build/junit.xml --coverage-xml build/coverage-xml --coverage-clover build/coverage-clover.xml"
],
"test:unit:with-html-coverage": [
"@test:unit:base --coverage-html build/coverage-html"
],
"test:unit:no-coverage": [
"@test:unit:base --no-coverage"
],
"test:unit:coverage-checker": [
"php-coverage-checker build/coverage-clover.xml 100; # comment trick to allow composer params :D"
],
"test:unit:check": [
"if [ -f build/coverage-clover.xml ]; then rm build/coverage-clover.xml; echo '>>> REMOVED OLD CLOVER.XML BUILD FILE!'; fi; # comment trick to allow composer params :D",
"@test:unit",
"@test:unit:coverage-checker"
],
"test:mutation": [
"infection --only-covered --min-msi=66 --min-covered-msi=66 --coverage=build --ansi --threads=$(nproc) --skip-initial-tests"
],
"test:mutation:ci": [
"@test:mutation --log-verbosity=none --no-progress --show-mutations"
],
"static-analysis": [
"vendor/bin/phpstan analyse --ansi"
],
"security-check": [
"curl -sS https://get.symfony.com/cli/installer | bash -s -- --install-dir=/usr/local/bin",
"symfony check:security"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"infection/extension-installer": false
}
}
}