-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
92 lines (92 loc) · 3.43 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
{
"name": "teamneusta/pimcore-testing-framework",
"description": "The Pimcore testing framework provides base classes for unit, integration and functional testing",
"license": "GPL-3.0-or-later",
"type": "library",
"keywords": [
"pimcore",
"testing"
],
"authors": [
{
"name": "team neusta GmbH",
"email": "info@team-neusta.de",
"homepage": "https://www.team-neusta.de/"
},
{
"name": "Jacob Dreesen",
"email": "j.dreesen@neusta.de"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0",
"doctrine/persistence": "^2.2 || ^3.0",
"phpunit/phpunit": "^9.6.0",
"pimcore/pimcore": "^10.5 || ~11.0.0 || ~11.1.0 || ~11.2.2 || ~11.3.0 || ~11.4.0",
"psr/log": "^1.1.3 || ^2.0 || ^3.0",
"symfony/config": "^5.4 || ^6.4",
"symfony/console": "^5.4 || ^6.4",
"symfony/dependency-injection": "^5.4 || ^6.4",
"symfony/deprecation-contracts": "^2.1 || ^3.0",
"symfony/event-dispatcher": "^5.4 || ^6.4",
"symfony/filesystem": "^5.4 || ^6.4",
"symfony/framework-bundle": "^5.4 || ^6.4",
"symfony/http-kernel": "^5.4 || ^6.4"
},
"require-dev": {
"dama/doctrine-test-bundle": "^6.0 || ^7.0",
"doctrine/orm": "^2.7",
"ergebnis/composer-normalize": "^2.42.0",
"friendsofphp/php-cs-fixer": "^3.60",
"laminas/laminas-zendframework-bridge": "^1.8",
"phpspec/prophecy-phpunit": "^2.2",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.60",
"phpstan/phpstan-phpunit": "^1.3.16",
"phpstan/phpstan-symfony": "^1.3.8",
"shipmonk/composer-dependency-analyser": "^1.7"
},
"suggest": {
"dama/doctrine-test-bundle": "To isolate database tests in transactions and improve test performance",
"pimcore/admin-ui-classic-bundle": "Required when used with Pimcore 11"
},
"autoload": {
"psr-4": {
"Neusta\\Pimcore\\TestingFramework\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Neusta\\Pimcore\\TestingFramework\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"endroid/installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"cs:check": "@cs:fix --dry-run",
"cs:check:gitlab-ci": "php-cs-fixer fix --dry-run --ansi --verbose --diff --format=gitlab > .reports/php-cs-fixer.json",
"cs:fix": "php-cs-fixer fix --ansi --verbose --diff",
"dependencies:check": "composer-dependency-analyser",
"phpstan": "phpstan analyse --ansi",
"phpstan:gitlab-ci": "phpstan analyse --ansi --no-interaction --no-progress --error-format=gitlab > .reports/phpstan.json",
"tests": "phpunit",
"tests:coverage:gitlab-ci": "phpunit --colors=never --coverage-text --coverage-clover .reports/clover.xml --coverage-cobertura .reports/cobertura.xml --log-junit .reports/junit.xml"
},
"scripts-descriptions": {
"cs:check": "Checks code style (but doesn't fix anything)",
"cs:check:gitlab-ci": "Checks code style and redirects the output into a GitLab readable file",
"cs:fix": "Checks and fixes code style",
"dependencies:check": "Checks for composer dependency issues",
"phpstan": "Checks for code smells",
"phpstan:gitlab-ci": "Checks for code smells and redirects the output into a GitLab readable file",
"tests": "Run all phpunit tests",
"tests:coverage:gitlab-ci": "Run all phpunit tests and create coverage and log reports"
}
}