-
Notifications
You must be signed in to change notification settings - Fork 1
/
composer.json
64 lines (64 loc) · 1.98 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
{
"name": "susina/xml-to-array",
"type": "library",
"description": "Simple PHP library to convert an XML string into an array",
"license": "Apache-2.0",
"authors": [
{
"name": "Cristiano Cinotti",
"email": "cristianocinotti@gmail.com"
}
],
"require": {
"php": ">=8.2",
"ext-libxml": "*",
"ext-simplexml": "*",
"ext-dom": "*",
"symfony/options-resolver": "^7.1"
},
"autoload": {
"psr-4": {
"Susina\\XmlToArray\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Susina\\XmlToArray\\Tests\\": "tests/"
}
},
"require-dev": {
"psalm/phar": "^5",
"susina/coding-standard": "^2",
"pestphp/pest": "^2.35",
"mikey179/vfsstream": "^1.6"
},
"scripts": {
"analytics": "php vendor/bin/psalm.phar",
"check": [
"@test",
"@analytics",
"@cs:fix"
],
"coverage": "@test --coverage",
"coverage:html": "@test --coverage-html coverage/",
"coverage:clover": "@test --coverage-clover clover.xml",
"cs:check": "php-cs-fixer fix -v --diff --dry-run",
"cs:fix": "php-cs-fixer fix -v --diff",
"test": "pest"
},
"scripts-descriptions": {
"analytics": "Run static analysis tool",
"check": "Perform all tests and analysis, required before submitting a pull request",
"cs:check": "Run code style analysis, without fixing errors",
"cs:fix": "Run code style analysis and fix errors",
"coverage": "Show coverage report to the console",
"coverage:html": "Create a code coverage report in html format, into the `coverage/` directory",
"coverage:clover": "Create a code coverage report in xml format, into the `clover.xml` file",
"test": "Run the test suite"
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true
}
}
}