-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcomposer.json
More file actions
48 lines (48 loc) · 1.32 KB
/
composer.json
File metadata and controls
48 lines (48 loc) · 1.32 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
{
"name": "forrest79/type-validator",
"description": "TypeValidator provides functionality to check types with PHP Doc syntax in runtime and narrow types for PHPStan.",
"keywords": ["validator", "types", "phpstan", "narrow", "array", "list"],
"type": "phpstan-extension",
"license": "BSD-3-Clause",
"authors": [
{
"name": "Jakub Trmota",
"email": "jakub@trmota.cz"
}
],
"require": {
"php": "^8.3",
"phpstan/phpdoc-parser": "^2.3",
"nikic/php-parser": "^5.6"
},
"require-dev": {
"forrest79/phpcs": "^2.3",
"forrest79/phpcs-ignores": "^0.6",
"nette/tester": "^2.6",
"phpstan/phpstan": "^2.1",
"phpstan/phpstan-strict-rules": "^2.0",
"shipmonk/phpstan-rules": "^4.3"
},
"autoload": {
"psr-4": {
"Forrest79\\": "src"
},
"files": ["src/functions.php"]
},
"autoload-dev": {
"psr-4": {
"Forrest79\\TypeValidator\\Tests\\": "tests/"
}
},
"scripts": {
"tests": "tests/run-tests tests",
"coverage": "tests/collect-coverage tests",
"phpcs": "vendor/bin/phpcs --bootstrap=vendor/forrest79/phpcs-ignores/src/bootstrap-outdated.php -q -s src tests",
"phpstan": "vendor/bin/phpstan clear-result-cache && vendor/bin/phpstan analyse src tests -v"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": false
}
}
}