-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
44 lines (44 loc) · 1.55 KB
/
Copy pathcomposer.json
File metadata and controls
44 lines (44 loc) · 1.55 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
{
"name": "reliforp/php-memory-dump",
"description": "Capture a PHP process's own memory in reli's RDUMP format from inside the process, in pure PHP, with no extension and no FFI. The dump is analysed offline with reli (finding leaks, reference cycles, memory bottlenecks, etc.).",
"type": "library",
"license": "MIT",
"keywords": ["reli", "memory", "dump", "profiler", "debugging", "rdump"],
"homepage": "https://github.com/reliforp/php-memory-dump",
"authors": [
{
"name": "sji",
"homepage": "https://twitter.com/sji_ch"
}
],
"require": {
"php": ">=7.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6 || ^10.5 || ^11.0",
"rector/rector": "^2.0"
},
"autoload": {
"psr-4": {
"Reliforp\\PhpMemoryDump\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Reliforp\\PhpMemoryDump\\Tests\\": "tests/",
"Reliforp\\PhpMemoryDump\\Build\\Rector\\": "tools/rector/"
}
},
"scripts": {
"downgrade": [
"rm -rf build/php70",
"mkdir -p build/php70",
"cp -r src build/php70/src",
"vendor/bin/rector process build/php70/src --config=rector.php --no-diffs",
"find build/php70/src -name '*.php' -exec sed -i -E 's/\\b0o([0-7]+)\\b/0\\1/g' {} +"
]
},
"scripts-descriptions": {
"downgrade": "Produce a PHP 7.0-compatible copy of src/ under build/php70/ via Rector downgrade + a 0o-octal sed pass (release artifact)."
}
}