-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
60 lines (60 loc) · 1.8 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
{
"name": "kanopi/sonarqube_reporting",
"autoload": {
"psr-4": {
"Kanopi\\SonarQube\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Kanopi\\Tests\\SonarQube\\": "tests"
}
},
"repositories": [
{
"type": "composer",
"url": "https://asset-packagist.org"
}
],
"prefer-stable": true,
"minimum-stability": "dev",
"require": {
"php": ">= 8.1",
"ext-json": "*",
"guzzlehttp/guzzle": "^7.5",
"twig/twig": "^3.0",
"mikehaertl/phpwkhtmltopdf": "^2.5",
"vlucas/phpdotenv": "^5.5",
"monolog/monolog": "^3.3"
},
"require-dev": {
"phpstan/phpstan": "^1.9",
"phpunit/phpunit": "^10.0",
"rector/rector": "^0.15.17",
"squizlabs/php_codesniffer": "^3.7",
"dg/bypass-finals": "^1.4",
"php-vcr/php-vcr": "^1.6"
},
"scripts": {
"check:code": "vendor/bin/phpcs --standard=phpcs_ruleset.xml src",
"fix:code": "vendor/bin/phpcbf --standard=phpcs_ruleset.xml src",
"phpunit": [
"@phpunit:unit"
],
"phpunit:unit": "XDEBUG_MODE=coverage vendor/bin/phpunit -c ./phpunit.xml --testsuite unit --do-not-cache-result --log-junit=reports/report.xml",
"fix:php": "find config src tests -name '*.php' -exec php -l {} \\;",
"check:security": "vendor/bin/phpstan analyse src --level max --memory-limit=-1",
"check:rector": "vendor/bin/rector process src/ --dry-run",
"fix:rector": "vendor/bin/rector process src/",
"check": [
"@check:code",
"@check:security",
"@check:rector"
],
"fix": [
"@fix:php",
"@fix:code",
"@fix:rector"
]
}
}