-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 3.14 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
{
"name": "teamneusta/jms-serializer-extension-bundle",
"description": "Extends the JMS Serializer Bundle to allow loading serializer configuration while ignoring the namespace prefixes",
"license": "GPL-3.0-or-later",
"type": "symfony-bundle",
"authors": [
{
"name": "team neusta GmbH",
"email": "info@team-neusta.de",
"homepage": "https://www.team-neusta.de/",
"role": "Developer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"jms/serializer-bundle": "^4.2 || ^5.4"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.42",
"friendsofphp/php-cs-fixer": "^3.11",
"jangregor/phpstan-prophecy": "^1.0",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"nyholm/symfony-bundle-test": "^3.0",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-symfony": "^1.2",
"phpunit/phpunit": "^9.5",
"qossmic/deptrac-shim": "^0.24 || ^1.0",
"symfony/filesystem": "^5.4 || ^6.2 || ^7.0",
"symfony/phpunit-bridge": "^5.4 || ^6.2 || ^7.0",
"symfony/test-pack": "^1.0",
"symfony/yaml": "^5.4 || ^6.2 || ^7.0"
},
"autoload": {
"psr-4": {
"Neusta\\JmsSerializerExtensionBundle\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Neusta\\JmsSerializerExtensionBundle\\Tests\\": "tests/"
},
"classmap": [
"tests/app/TestKernel.php"
]
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"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 > php-cs-fixer.json",
"cs:fix": "php-cs-fixer fix --ansi --verbose --diff",
"deptrac:analyse": "deptrac --config-file=depfile.yaml",
"deptrac:analyse:visual": "deptrac --formatter=graphviz-html --output=deptrac.analyse-result.html --config-file=depfile.yaml",
"phpstan": "phpstan analyse --ansi",
"phpstan:gitlab-ci": "phpstan analyse --ansi --no-interaction --no-progress --error-format=gitlab > phpstan-report.json",
"tests": "phpunit",
"tests:coverage:gitlab-ci": "phpunit --colors=never --coverage-text --coverage-cobertura .coverage/cobertura.xml --log-junit .coverage/junit.xml",
"yaml:lint": "yaml-lint config tests/Fixtures/Config"
},
"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",
"deptrac:analyse": "Analyse your dependencies and follow the pre-defined rules and layers",
"deptrac:analyse:visual": "Visualize your dependencies and follow the pre-defined rules and layers",
"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 reports",
"yaml:lint": "Lints Symfony YAML config files"
}
}