-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
74 lines (74 loc) · 2.27 KB
/
composer.json
File metadata and controls
74 lines (74 loc) · 2.27 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "tiny-blocks/value-object",
"description": "Defines the default behavior contract for PHP value objects with structural equality.",
"license": "MIT",
"type": "library",
"keywords": [
"vo",
"ddd",
"immutable",
"hash-code",
"tiny-blocks",
"value-object",
"structural-equality"
],
"authors": [
{
"name": "Gustavo Freze de Araujo Santos",
"homepage": "https://github.com/gustavofreze"
}
],
"homepage": "https://github.com/tiny-blocks/value-object",
"support": {
"issues": "https://github.com/tiny-blocks/value-object/issues",
"source": "https://github.com/tiny-blocks/value-object"
},
"require": {
"php": "^8.5"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.52",
"infection/infection": "^0.33",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^13.1",
"squizlabs/php_codesniffer": "^4.0"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TinyBlocks\\Vo\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TinyBlocks\\Vo\\": "tests/"
}
},
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true,
"infection/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"configure": [
"@composer install --optimize-autoloader",
"@composer normalize"
],
"configure-and-update": [
"@composer update --optimize-autoloader",
"@composer normalize"
],
"review": [
"@php ./vendor/bin/phpcs --standard=phpcs.xml --extensions=php ./src ./tests",
"@php ./vendor/bin/phpstan analyse -c phpstan.neon.dist --quiet --no-progress"
],
"test-file": "@php ./vendor/bin/phpunit --configuration phpunit.xml --no-coverage --filter",
"tests": [
"@php -d memory_limit=2G ./vendor/bin/phpunit --configuration phpunit.xml tests",
"@php ./vendor/bin/infection --threads=max --logger-html=reports/coverage/mutation-report.html --coverage=reports/coverage"
]
}
}