-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcomposer.json
71 lines (71 loc) · 2.53 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": "pj8/sentry-module",
"type": "library",
"description": "BEAR.Sunday integration for Sentry (https://docs.sentry.io/platforms/php/)",
"keywords": ["BEAR.Sunday", "Ray.Di","sentry"],
"license": "MIT",
"authors": [
{
"name": "Project8 Inc"
}
],
"require": {
"php": "^8.1",
"ext-json": "*",
"http-interop/http-factory-guzzle": "^1.0",
"ray/aop": "^2.10",
"ray/di": "^2.12",
"sentry/sdk": "^4.0",
"sentry/sentry": "^4.10",
"symfony/http-client": "^4.3|^5.0|^6.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.5",
"bear/package": "^1.17",
"bear/resource": "^1.23",
"bear/sunday": "^1.7",
"phpunit/phpunit": "^10.5",
"roave/security-advisories": "dev-master",
"symfony/options-resolver": "^5.4"
},
"autoload": {
"psr-4": {
"Pj8\\SentryModule\\": ["src/"]
}
},
"autoload-dev": {
"psr-4": {
"Pj8\\SentryModule\\": ["tests/"],
"FakeApplication\\": "tests/Fake/FakeApplication/src/"
}
},
"scripts" :{
"post-install-cmd": ["@composer bin all install --ansi"],
"post-update-cmd": ["@composer bin all update --ansi"],
"test": ["./vendor/bin/phpunit"],
"tests": ["@cs", "@test", "@sa"],
"coverage": ["php -dzend_extension=xdebug.so -dxdebug.mode=coverage ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage"],
"pcov": ["php -dextension=pcov.so -d pcov.enabled=1 ./vendor/bin/phpunit --coverage-text --coverage-html=build/coverage --coverage-clover=coverage.xml"],
"cs": ["phpcs --standard=./phpcs.xml src tests"],
"cs-fix": ["./vendor/bin/phpcbf src tests"],
"clean": ["./vendor/bin/phpstan clear-result-cache", "./vendor/bin/psalm --clear-cache"],
"sa": [
"phpstan analyse -c phpstan.neon --memory-limit=-1",
"psalm --show-info=true --no-cache",
"phpmd --exclude src/Annotation src text ./phpmd.xml"
],
"baseline": [
"phpstan analyse -configuration -c phpstan.neon --generate-baseline",
"psalm --set-baseline=psalm-baseline.xml"
],
"phpmd": ["./vendor/bin/phpmd src text ./phpmd.xml"],
"build": ["@cs", "@sa", "@pcov"]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"bamarni/composer-bin-plugin": true,
"php-http/discovery": true
}
}
}