-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
51 lines (51 loc) · 1.57 KB
/
Copy pathcomposer.json
File metadata and controls
51 lines (51 loc) · 1.57 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
{
"name": "mbolli/php-ron",
"description": "Performance-focused PHP implementation of RON (Readable Object Notation)",
"type": "library",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-hash": "*",
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.60",
"phpstan/extension-installer": "^1.4",
"phpstan/phpstan": "^2.0",
"phpstan/phpstan-deprecation-rules": "^2.0",
"phpunit/phpunit": "^10.5 || ^11.0",
"rector/type-perfect": "^2.0",
"spaze/phpstan-disallowed-calls": "^4.9",
"tomasvotruba/type-coverage": "^2.0"
},
"autoload": {
"psr-4": {
"Mbolli\\Ron\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Mbolli\\Ron\\Tests\\": "tests/"
}
},
"scripts": {
"post-install-cmd": "@php bin/init-submodules.php",
"post-update-cmd": "@php bin/init-submodules.php",
"test": "phpunit",
"fix": "php-cs-fixer fix --ansi --allow-risky=yes -v --config=./.php-cs-fixer.php --allow-unsupported-php-version=yes",
"lint": "@fix --dry-run --diff",
"phpstan": "phpstan analyse -c .phpstan.neon",
"benchmark": "@php -d opcache.enable_cli=1 -d opcache.jit_buffer_size=128M -d opcache.jit=tracing bin/benchmark.php",
"check": [
"@lint",
"@phpstan",
"@test"
]
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true
}
}
}