-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
60 lines (60 loc) · 2.13 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
{
"name": "squirrelphp/types",
"type": "library",
"description": "Explicit handling of type coercions and enforcement in PHP in order to deal with unknown data in a more predictable and safe way.",
"keywords": [
"php",
"types",
"coercions",
"enforcement",
"input",
"data processing"
],
"homepage": "https://github.com/squirrelphp/types",
"license": "MIT",
"authors": [
{
"name": "Andreas Leathley",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.0",
"squirrelphp/debug": "^2.1"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8",
"phpunit/phpunit": "^9.5"
},
"config": {
"sort-packages": false,
"allow-plugins": {
"bamarni/composer-bin-plugin": true
}
},
"autoload": {
"psr-4": {
"Squirrel\\Types\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Squirrel\\Types\\Tests\\": "tests/"
}
},
"scripts": {
"phpstan": "vendor/bin/phpstan analyse",
"phpstan_full": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse",
"phpstan_base": "vendor/bin/phpstan analyse --configuration=phpstan.neon --generate-baseline=phpstan-baseline.neon",
"psalm": "vendor/bin/psalm --show-info=false",
"psalm_full": "vendor/bin/psalm --clear-cache && vendor/bin/psalm --show-info=false",
"psalm_base": "vendor/bin/psalm --set-baseline=psalm-baseline.xml",
"phpunit": "vendor/bin/phpunit --colors=always",
"phpunit_clover": "vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml",
"phpcs": "vendor/bin/phpcs --standard=ruleset.xml --extensions=php --cache src tests",
"phpcsfix": "vendor/bin/phpcbf --standard=ruleset.xml --extensions=php --cache src tests",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html tests/_reports",
"binupdate": "@composer bin all update --ansi",
"bininstall": "@composer bin all install --ansi"
}
}