-
Notifications
You must be signed in to change notification settings - Fork 3
/
composer.json
115 lines (115 loc) · 4.67 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
114
115
{
"name": "sulu/messenger",
"description": "This library provides the stamps, middlewares and the sulu message bus.",
"license": "proprietary",
"type": "sulu-bundle",
"require": {
"php": "8.0.* || 8.1.* || 8.2.* || 8.3.* || 8.4.*",
"doctrine/dbal": "^2.13 || ^3.0",
"doctrine/doctrine-bundle": "^2.5",
"doctrine/orm": "^2.11",
"psr/container": "^1.0 || ^2.0",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/doctrine-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/lock": "^5.4 || ^6.0 || ^7.0",
"symfony/messenger": "^5.4 || ^6.0 || ^7.0",
"symfony/service-contracts": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"coduo/php-matcher": "^6.0",
"friendsofphp/php-cs-fixer": "^3.6",
"handcraftedinthealps/code-coverage-checker": "^0.2.5",
"jangregor/phpstan-prophecy": "^1.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-doctrine": "^1.2",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"qossmic/deptrac-shim": "^0.24.0 || ^1.0",
"rector/rector": "^1.0",
"schranz/test-generator": "^0.4",
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
"symfony/css-selector": "^5.4 || ^6.0 || ^7.0",
"symfony/debug-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/dotenv": "^5.4 || ^6.0 || ^7.0",
"symfony/error-handler": "^5.4 || ^6.0 || ^7.0",
"symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/yaml": "^5.4 || ^6.0 || ^7.0",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
"autoload": {
"psr-4": {
"Sulu\\Messenger\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Sulu\\Messenger\\Tests\\": "tests/"
}
},
"scripts": {
"bootstrap-test-environment": [
"@php tests/Application/bin/console cache:clear --env test",
"@php tests/Application/bin/console doctrine:database:drop --force --if-exists --env test",
"@php tests/Application/bin/console doctrine:database:create --env test",
"@php tests/Application/bin/console doctrine:schema:create --env test"
],
"test": "@phpunit",
"test-with-coverage": "@phpunit --coverage-php Tests/Application/var/reports/coverage.php --coverage-cobertura=Tests/Application/var/cobertura-coverage.xml --coverage-html Tests/Application/var/reports/html --log-junit Tests/Application/var/reports/junit.xml",
"check-coverage": [
"@php vendor/bin/code-coverage-checker \"Tests/Application/var/reports/coverage.php\" \"line\" \"100.00\" \"src\""
],
"lint": [
"@php-cs",
"@phpstan",
"@lint-rector",
"@lint-twig",
"@lint-yaml",
"@lint-container",
"@lint-composer",
"@lint-doctrine",
"@lint-deptrac"
],
"phpunit": "@php vendor/bin/phpunit",
"phpstan": [
"@php tests/Application/bin/console cache:warmup --env=dev",
"@php vendor/bin/phpstan analyze"
],
"lint-rector": [
"@php tests/Application/bin/console cache:warmup --env=dev",
"@php vendor/bin/rector process --dry-run"
],
"rector": [
"@php vendor/bin/rector process"
],
"fix": [
"@rector",
"@php-cs-fix"
],
"php-cs": "@php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"php-cs-fix": "@php vendor/bin/php-cs-fixer fix",
"lint-composer": "@composer validate --no-check-publish --strict",
"lint-yaml": "@php tests/Application/bin/console lint:yaml tests/Application/config --parse-tags",
"lint-deptrac": "@php vendor/bin/deptrac",
"lint-container": [
"@php tests/Application/bin/console lint:container --env dev",
"@php tests/Application/bin/console lint:container --env test",
"@php tests/Application/bin/console lint:container --env prod"
],
"lint-doctrine": [
"@php tests/Application/bin/console doctrine:schema:validate --skip-sync --env prod"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}