-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
40 lines (40 loc) · 1.16 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
{
"name": "nadylib/leaky-bucket",
"description": "An fiber-based implementation of the LeakyBucket algorithm",
"type": "library",
"authors": [
{
"name": "Nadyita",
"email": "[email protected]",
"homepage": "https://nadybot.org",
"role": "Developer"
}
],
"require": {
"php": ">=8.1.17",
"revolt/event-loop": "^1.0",
"psr/log": "^1|^2|^3"
},
"autoload": {
"psr-4": {
"Nadylib\\LeakyBucket\\": "src",
"Nadylib\\LeakyBucket\\Tests\\": "tests"
}
},
"require-dev": {
"composer-phar/php-cs-fixer": "^3.51.0",
"squizlabs/php_codesniffer": "^3.8",
"composer-phar/phpstan": "^1.10",
"thecodingmachine/phpstan-safe-rule": "^1.2",
"phpunit/phpunit": "^10.0",
"nadybot/nadystyle": "^1.0"
},
"license": ["AGPL-3.0-or-later"],
"scripts": {
"tests": [
"phpunit -c phpunit.xml --testdox --no-progress --colors=never",
"phpstan analyse --memory-limit 512M --no-ansi -cphpstan.neon --error-format=github --no-progress",
"phpcs --no-colors src"
]
}
}