-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
executable file
·46 lines (46 loc) · 1.29 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
{
"name": "orlandothoeny/memory-limiter",
"description": "PHP library that can read the available memory and set limit to currently free memory",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Orlando Thöny",
"email": "[email protected]"
}
],
"autoload": {
"psr-4": {
"MemoryLimiter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MemoryLimiter\\Tests\\": "tests"
}
},
"require": {
"php": ">=8.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.62",
"phpstan/phpstan": "^1.11",
"phpstan/phpstan-phpunit": "^1.4",
"phpunit/phpunit": "^11.3"
},
"scripts": {
"test": "bin/phpunit",
"phpstan": "php -d memory_limit=-1 bin/phpstan analyse",
"cs-review": "bin/php-cs-fixer fix --path-mode=override ./src ./tests --config=.php-cs-fixer.dist.php --verbose --diff --dry-run",
"cs-fix": "bin/php-cs-fixer fix --using-cache=no --path-mode=override ./src ./tests --config=.php-cs-fixer.dist.php",
"verify": [
"@phpstan",
"@test",
"@cs-fix"
]
},
"config": {
"bin-dir": "bin",
"sort-packages": true
}
}