-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcomposer.json
More file actions
executable file
·48 lines (48 loc) · 1.47 KB
/
composer.json
File metadata and controls
executable file
·48 lines (48 loc) · 1.47 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
{
"name": "not-empty/ulid-php-lib",
"description": "PHP Universally Unique Lexicographically Sortable Identifier (ULID)",
"version": "8.0.1",
"type": "library",
"license": "GPL-3.0-only",
"require": {
"php": "^8.4"
},
"require-dev": {
"phpunit/phpunit": "^12.4",
"mockery/mockery": "^1.6",
"phpstan/phpstan": "^2.0",
"squizlabs/php_codesniffer": "^4.0"
},
"authors": [
{
"name": "Not Empty Foundation",
"email": "dev@not-empty.com"
}
],
"autoload": {
"psr-4": {
"Ulid\\": "src/"
}
},
"scripts": {
"post-install-cmd": [
"bash contrib/setup.sh"
],
"check": [
"@lint",
"@cs",
"@static",
"@test",
"@ccu"
],
"static": "vendor/bin/phpstan analyse",
"lint": [
"find ./src -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./tests -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0",
"find ./sample -name '*.php' -print0 | xargs -0 -n1 -P8 php -l -d display_errors=0"
],
"cs": "vendor/bin/phpcs",
"test": "php -d xdebug.mode=coverage vendor/bin/phpunit --configuration phpunit.xml --coverage-clover=coverage/coverage.xml -d memory_limit=1024M",
"ccu": "php contrib/coverage-checker.php coverage/coverage.xml 100"
}
}