-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
125 lines (125 loc) · 3.9 KB
/
composer.json
File metadata and controls
125 lines (125 loc) · 3.9 KB
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
{
"name": "openclassrooms/service-proxy",
"description": "Library",
"type": "library",
"license": "MIT",
"minimum-stability": "dev",
"prefer-stable": true,
"authors": [
{
"name": "Romain Kuzniak",
"email": "romain.kuzniak@openclassrooms.com"
},
{
"name": "OpenClassrooms",
"email": "tech@openclassrooms.com"
}
],
"autoload": {
"psr-4": {
"OpenClassrooms\\ServiceProxy\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"OpenClassrooms\\ServiceProxy\\Tests\\": "tests/"
}
},
"require": {
"php": ">=8.1",
"doctrine/annotations": "^1.2 || ^2.0" ,
"friendsofphp/proxy-manager-lts": "^1.0",
"symfony/expression-language": "^5.0 || ^6.0",
"symfony/filesystem": "^5.0 || ^6.0",
"symfony/property-info": "^5.0 || ^6.0",
"phpdocumentor/reflection-docblock": "^5.0",
"phpstan/phpdoc-parser": "^1.24",
"webmozart/assert": "^1.11",
"jolicode/automapper": "^9.2"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"phpstan/phpstan": "^1.9",
"phpstan/phpstan-strict-rules": "^1.4",
"phpstan/phpstan-deprecation-rules": "^1.1",
"phpstan/phpstan-phpunit": "^1.3",
"roave/security-advisories": "dev-latest",
"phpstan/extension-installer": "^1.2",
"ergebnis/composer-normalize": "^2.28",
"thecodingmachine/phpstan-strict-rules": "^1.0",
"korbeil/phpstan-generic-rules": "^1.0",
"ergebnis/phpstan-rules": "^1.0",
"symplify/easy-coding-standard": "^11.2",
"symfony/dependency-injection": "^5.0 || ^6.0",
"symfony/config": "^5.0 || ^6.0",
"symfony/cache": "^5.0 || ^6.0",
"symfony/http-kernel": "^5.0 || ^6.0",
"symfony/event-dispatcher": "^5.0 || ^6.0",
"symfony/security-bundle": "^5.0 || ^6.0",
"symfony/messenger": "^5.0 || ^6.0",
"doctrine/orm": "~2.5 || ^3.0",
"symfony/stopwatch": "^5.0 || ^6.0",
"symfony/serializer": "^5.0 || ^6.0",
"symfony/http-client": "^5.0 || ^6.0",
"symfony/uid": "^5.0 || ^6.0",
"symfony/http-foundation": "^5.0 || ^6.0",
"symfony/lock": "^5.0 || ^6.0",
"phpstan/phpstan-webmozart-assert": "^1.2"
},
"suggest": {
"symfony/dependency-injection": "For Symfony integration",
"symfony/config": "For Symfony integration",
"symfony/cache": "For Symfony integration with Cache",
"symfony/http-kernel": "For Symfony integration",
"symfony/event-dispatcher": "For Symfony integration with Event",
"symfony/messenger": "For Symfony integration with Event",
"symfony/http-client": "For Symfony integration with Event",
"symfony/http-foundation": "For Symfony integration with Event",
"symfony/uid": "For Symfony integration with Event",
"symfony/serializer": "For Symfony integration with Event",
"symfony/security-bundle": "For Symfony integration with Security",
"symfony/lock": "For Symfony integration with Lock",
"doctrine/orm": "For Doctrine integration with Transaction and legacy Cache"
},
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"config": {
"allow-plugins": {
"ocramius/package-versions": true,
"phpstan/extension-installer": true,
"ergebnis/composer-normalize": true
}
},
"scripts": {
"check": [
"@composer validate --ansi --strict",
"@fix-cs",
"@check-static",
"@test"
],
"parallel-check": [
"@parallel fix-cs",
"@parallel check-static",
"@parallel test"
],
"check-cs": [
"vendor/bin/ecs check --ansi -c ecs.php"
],
"fix-cs": [
"vendor/bin/ecs check --fix --ansi -c ecs.php "
],
"check-static": [
"@phpstan"
],
"test": [
"@unit"
],
"unit": "vendor/bin/phpunit -c phpunit.xml.dist --testdox",
"coverage": "vendor/bin/phpunit -c phpunit.xml.dist --testdox --coverage-clover build/coverage/coverage.xml",
"phpstan": "vendor/bin/phpstan analyse -c phpstan.neon --ansi",
"ecs": "@check-cs"
}
}