-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
composer.json
62 lines (62 loc) · 1.71 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
{
"name": "pinkary-project/type-guard",
"description": "Type Guard module is part of the Pinkary Project, and allows you to **narrow down the type** of a variable to a more specific type.",
"keywords": ["pinkary-project", "type-guard", "assert", "narrow", "type", "php"],
"license": "MIT",
"authors": [
{
"name": "Nuno Maduro",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2.0"
},
"require-dev": {
"laravel/pint": "^1.15.2",
"pestphp/pest": "^3.0.0",
"pestphp/pest-plugin-type-coverage": "3.x-dev",
"phpstan/phpstan": "^1.10.67",
"rector/rector": "^1.0.4",
"symfony/var-dumper": "^6.4.0|^7.0.6"
},
"autoload": {
"psr-4": {
"PinkaryProject\\TypeGuard\\": "src/"
},
"files": [
"src/Functions.php"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"scripts": {
"refacto": "rector",
"lint": "pint",
"refactor": "rector",
"test:lint": "pint --test",
"test:refactor": "rector --dry-run",
"test:types": "phpstan analyse",
"test:type-coverage": "pest --type-coverage --min=100",
"test:unit": "pest --coverage --min=100",
"test": [
"@test:lint",
"@test:refactor",
"@test:types",
"@test:type-coverage",
"@test:unit"
]
}
}