-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
79 lines (79 loc) · 2.58 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
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
79
{
"name": "mf/collections-php",
"description": "Collections for PHP - It's basically a syntax sugar over classic array structure, which allows you to use it as classic array, but adds some cool features.",
"license": "MIT",
"type": "library",
"authors": [
{
"name": "Petr Chromec",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"ext-mbstring": "*",
"beberlei/assert": "^3.0"
},
"require-dev": {
"ergebnis/composer-normalize": "^2.40",
"lmc/coding-standard": "^3.3",
"mockery/mockery": "^1.6.7",
"php-parallel-lint/php-parallel-lint": "^1.3.2",
"phpstan/extension-installer": "^1.3.1",
"phpstan/phpstan": "^1.10.49",
"phpstan/phpstan-beberlei-assert": "^1.1.2",
"phpstan/phpstan-mockery": "^1.1.1",
"phpstan/phpstan-phpunit": "^1.3.15",
"phpunit/phpunit": "^10.5.3",
"symfony/var-dumper": "^7.0"
},
"autoload": {
"psr-4": {
"MF\\Collection\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"MF\\Collection\\": "tests/"
}
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"dealerdirect/phpcodesniffer-composer-installer": true,
"ergebnis/composer-normalize": true,
"phpstan/extension-installer": true
},
"sort-packages": true
},
"scripts": {
"all": [
"@lint",
"@analyze",
"@tests-ci"
],
"analyze": [
"@cs",
"vendor/bin/ecs check-markdown README.md --ansi",
"@phpstan"
],
"cs": "vendor/bin/ecs check --ansi -- src/ tests/ ecs.php",
"fix": [
"@composer normalize",
"vendor/bin/ecs check --ansi --clear-cache --fix -- src/ tests/ ecs.php"
],
"lint": [
"vendor/bin/parallel-lint -j 10 -e php ./src ./tests ecs.php",
"@composer validate",
"@composer normalize --dry-run"
],
"phpstan": [
"@phpstan-src",
"@phpstan-tests"
],
"phpstan-src": "vendor/bin/phpstan analyze src -c phpstan.neon --ansi --level 9 --memory-limit=-1",
"phpstan-tests": "vendor/bin/phpstan analyze tests -c phpstan-tests.neon --ansi --level 6 --memory-limit=-1",
"tests": "vendor/bin/phpunit",
"tests-ci": "php -dxdebug.mode=coverage vendor/bin/phpunit -c phpunit.xml.dist --exclude-group local"
}
}