-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
78 lines (78 loc) · 1.85 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
{
"name": "eliashaeussler/sse",
"description": "PHP implementation of server-sent events using event streams",
"license": "GPL-3.0-or-later",
"type": "library",
"authors": [
{
"name": "Elias Häußler",
"email": "elias@haeussler.dev",
"homepage": "https://haeussler.dev",
"role": "Maintainer"
}
],
"require": {
"php": "~8.1.0 || ~8.2.0 || ~8.3.0",
"php-http/discovery": "^1.18",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0"
},
"require-dev": {
"armin/editorconfig-cli": "^1.8 || ^2.0",
"eliashaeussler/php-cs-fixer-config": "^2.0",
"eliashaeussler/phpstan-config": "^2.1",
"eliashaeussler/rector-config": "^3.0",
"ergebnis/composer-normalize": "^2.31",
"nyholm/psr7": "^1.8",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-symfony": "^1.3",
"phpunit/phpunit": "^10.2 || ^11.0"
},
"autoload": {
"psr-4": {
"EliasHaeussler\\SSE\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"EliasHaeussler\\SSE\\Tests\\": "tests/src"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"php-http/discovery": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"fix": [
"@fix:composer",
"@fix:editorconfig",
"@fix:php"
],
"fix:composer": "@composer normalize",
"fix:editorconfig": "@lint:editorconfig --fix",
"fix:php": "php-cs-fixer fix",
"lint": [
"@lint:composer",
"@lint:editorconfig",
"@lint:php"
],
"lint:composer": "@fix:composer --dry-run",
"lint:editorconfig": "ec",
"lint:php": "@fix:php --dry-run",
"migration": [
"@migration:rector"
],
"migration:rector": "rector process -c rector.php",
"sca": [
"@sca:php"
],
"sca:php": "phpstan analyse -c phpstan.php",
"test": "@test:coverage --no-coverage",
"test:coverage": "phpunit -c phpunit.xml"
}
}