-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
78 lines (78 loc) · 2.43 KB
/
composer.json
File metadata and controls
78 lines (78 loc) · 2.43 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
75
76
77
78
{
"name": "tiny-blocks/collection",
"description": "Models a type-safe, fluent collection API for PHP with eager and lazy pipelines over arrays, iterators, and generators.",
"license": "MIT",
"type": "library",
"keywords": [
"list",
"yield",
"pipeline",
"iterators",
"generators",
"collection",
"collections",
"tiny-blocks",
"lazy-evaluation"
],
"authors": [
{
"name": "Gustavo Freze de Araujo Santos",
"homepage": "https://github.com/gustavofreze"
}
],
"homepage": "https://github.com/tiny-blocks/collection",
"support": {
"issues": "https://github.com/tiny-blocks/collection/issues",
"source": "https://github.com/tiny-blocks/collection"
},
"require": {
"php": "^8.5",
"tiny-blocks/mapper": "^2.1"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.52",
"infection/infection": "^0.33",
"phpstan/phpstan": "^2.1",
"phpunit/phpunit": "^13.1",
"squizlabs/php_codesniffer": "^4.0",
"tiny-blocks/currency": "^2.3"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"TinyBlocks\\Collection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Test\\TinyBlocks\\Collection\\": "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"
]
}
}