This repository was archived by the owner on Dec 26, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
58 lines (58 loc) · 1.37 KB
/
composer.json
File metadata and controls
58 lines (58 loc) · 1.37 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
{
"WARNING": "This file is updated automatically. All keys will be overwritten, except of 'conflict', 'keywords', 'require', 'require-dev' and 'scripts'.",
"abandoned": true,
"autoload": {
"psr-4": {
"PetrKnap\\Enum\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"PetrKnap\\Enum\\": "tests"
}
},
"config": {
"allow-plugins": false,
"sort-packages": true
},
"description": "Enumerated type for PHP",
"funding": [
{
"type": "other",
"url": "https://petrknap.github.io/donate.html"
}
],
"homepage": "https://github.com/petrknap/php-enum",
"keywords": [
"enum",
"enumerated-types",
"enumerated"
],
"license": "LGPL-3.0-or-later",
"name": "petrknap/enum",
"require": {
"php": ">=8.1"
},
"require-dev": {
"petrknap/shorts": "^1.3",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7",
"phpstan/phpstan": "^1.10",
"nunomaduro/phpinsights": "^2.9"
},
"scripts": {
"test": [
"phpunit --colors=always --testdox tests"
],
"validate": [
"phpcs --colors --standard=PSR12 --exclude=PSR12.Files.OpenTag,PSR12.Files.FileHeader,Generic.Files.LineLength src tests",
"phpstan analyse --level max src",
"phpstan analyse --level 5 tests",
"phpinsights analyse src"
],
"ci-script": [
"@validate",
"@test"
]
}
}