-
Notifications
You must be signed in to change notification settings - Fork 19
/
composer.json
144 lines (144 loc) · 6.2 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"name": "sulu/content-bundle",
"type": "sulu-bundle",
"description": "Experimental content implementation for sulu.",
"authors": [
{
"name": "SuluContentBundle",
"homepage": "https://github.com/sulu/SuluContentBundle/contributors"
}
],
"homepage": "https://github.com/sulu/SuluContentBundle",
"license": "MIT",
"require": {
"php": "^8.0",
"doctrine/inflector": "^1.4.1 || ^2.0.1",
"doctrine/collections": "^1.0 || ^2.0",
"doctrine/orm": "^2.5.3",
"doctrine/persistence": "^2.2 || ^3.0",
"doctrine/doctrine-bundle": "^2.4",
"friendsofsymfony/rest-bundle": "^2.6 || ^3.0",
"massive/search-bundle": "^2.4",
"ramsey/uuid": "^3.8 || ^4.0",
"sulu/sulu": "^2.5.6 || ^2.6@dev",
"symfony/config": "^5.4 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
"symfony/http-foundation": "^5.4 || ^6.0 || ^7.0",
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
"symfony/options-resolver": "^5.4 || ^6.0 || ^7.0",
"symfony/property-access": "^5.4 || ^6.0 || ^7.0",
"symfony/security-core": "^5.4 || ^6.0 || ^7.0",
"symfony/serializer": "^5.4 || ^6.0 || ^7.0",
"symfony/translation-contracts": "^1.0 || ^2.0 || ^3.0",
"symfony/workflow": "^5.4 || ^6.0 || ^7.0",
"webmozart/assert": "^1.3"
},
"require-dev": {
"coduo/php-matcher": "^6.0",
"doctrine/data-fixtures": "^1.3.3",
"doctrine/doctrine-fixtures-bundle": "^3.0",
"friendsofphp/php-cs-fixer": "^3.4",
"handcraftedinthealps/code-coverage-checker": "^0.2.1",
"handcraftedinthealps/zendsearch": "^2.0",
"jackalope/jackalope-doctrine-dbal": "^1.3.4 || ^2.0",
"jangregor/phpstan-prophecy": "^1.0",
"matthiasnoback/symfony-config-test": "^4.3 || ^5.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.3 || ^5.0",
"phpspec/prophecy": "^1.14",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/phpstan": "^1.0",
"phpstan/phpstan-doctrine": "^1.0",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.0",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^8.5.33 || ^9.6.5",
"qossmic/deptrac-shim": "^0.23 || ^1.0",
"sulu/automation-bundle": "^2.0@dev",
"symfony/browser-kit": "^5.4 || ^6.0 || ^7.0",
"symfony/console": "^5.4 || ^6.0 || ^7.0",
"symfony/dotenv": "^5.4 || ^6.0 || ^7.0",
"symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0",
"symfony/monolog-bundle": "^3.1",
"symfony/phpunit-bridge": "^5.4 || ^6.0 || ^7.0",
"symfony/string": "^5.4 || ^6.0 || ^7.0",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
"conflict": {
"coduo/php-matcher": "6.0.12"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"composer/package-versions-deprecated": true,
"php-http/discovery": true
}
},
"autoload": {
"psr-4": {
"Sulu\\Bundle\\ContentBundle\\": ""
},
"exclude-from-classmap": ["/Tests/"]
},
"autoload-dev": {
"psr-4": {
"Sulu\\Bundle\\ContentBundle\\Tests\\": "Tests/"
},
"exclude-from-classmap": ["/Tests/Application/assets"]
},
"scripts": {
"bootstrap-dev-environment": [
"@php Tests/Application/bin/adminconsole sulu:build dev --env dev"
],
"bootstrap-test-environment": [
"@php Tests/Application/bin/adminconsole doctrine:database:drop --if-exists --force --env test",
"@php Tests/Application/bin/adminconsole doctrine:database:create --env test",
"@php Tests/Application/bin/adminconsole doctrine:schema:update --force --env test"
],
"lint": [
"@phpstan",
"@php-cs",
"@lint-twig",
"@lint-yaml",
"@lint-container",
"@lint-composer",
"@lint-doctrine",
"@deptrac"
],
"test": [
"@phpunit"
],
"phpunit": "@php vendor/bin/phpunit",
"test-with-coverage": "@phpunit --coverage-php Tests/reports/coverage.php --coverage-html Tests/reports/html --log-junit Tests/reports/unit/junit.xml --coverage-clover Tests/reports/clover.xml",
"check-coverage": [
"@php vendor/bin/code-coverage-checker \"Tests/reports/coverage.php\" \"line\" \"100.00\" \"Content\" \"DependencyInjection\""
],
"phpstan": [
"@php Tests/Application/bin/adminconsole cache:warmup --env dev",
"@php vendor/bin/phpstan analyze"
],
"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 --strict",
"lint-twig": "@php Tests/Application/bin/adminconsole lint:twig Tests/Application/templates",
"lint-yaml": "@php Tests/Application/bin/adminconsole lint:yaml Resources/config Tests/Application/config",
"lint-container": [
"@php Tests/Application/bin/adminconsole lint:container --env dev",
"@php Tests/Application/bin/websiteconsole lint:container --env dev",
"@php Tests/Application/bin/adminconsole lint:container --env test",
"@php Tests/Application/bin/websiteconsole lint:container --env test",
"@php Tests/Application/bin/adminconsole lint:container --env stage",
"@php Tests/Application/bin/websiteconsole lint:container --env stage",
"@php Tests/Application/bin/adminconsole lint:container --env prod",
"@php Tests/Application/bin/websiteconsole lint:container --env prod"
],
"lint-doctrine": [
"@php Tests/Application/bin/adminconsole doctrine:schema:validate --skip-sync",
"@php Tests/Application/bin/adminconsole doctrine:ensure-production-settings --env prod"
],
"deptrac": "@php vendor/bin/deptrac"
},
"extra": {
"public-dir": "Tests/Application/public"
}
}