/
composer.json
60 lines (60 loc) · 2.62 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
{
"authors" : [
{
"name" : "Radu Maier",
"email" : "ariademur@webserv.co"
}
],
"autoload" : {
"psr-4" : {
"Tests\\Unit\\" : "tests/Unit/",
"WebServCo\\" : "src/WebServCo/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"description" : "A PHP component/library.",
"homepage" : "https://webserv.co",
"keywords" : [
"component",
"webservco"
],
"license" : "MIT",
"name" : "webservco/document-object-model",
"require": {
"php" : "^8.2"
},
"require-dev": {
"pds/skeleton": "^1",
"phan/phan": "^5",
"php-parallel-lint/php-parallel-lint": "^1",
"php-parallel-lint/php-console-highlighter": "^1",
"phpcompatibility/php-compatibility": "^9",
"phpmd/phpmd": "^2",
"phpstan/phpstan-strict-rules": "^1",
"phpstan/phpstan-phpunit": "^1",
"phpstan/phpstan" : "^1",
"phpunit/phpunit": "^10",
"slevomat/coding-standard": "^8",
"squizlabs/php_codesniffer" : "^3",
"vimeo/psalm": "^5",
"webservco/coding-standards": "^0",
"webservco/component-common": "^0"
},
"scripts": {
"check:lint": "vendor/bin/parallel-lint bin config public resources src tests",
"check:phan": "vendor/bin/phan --config-file vendor/webservco/coding-standards/phan/config.php",
"check:phpcs": "vendor/bin/phpcs --standard=vendor/webservco/component-common/.phpcs/php-coding-standard.xml --extensions=php -sp bin config public resources src tests",
"check:phpmd": "vendor/bin/phpmd bin,config,public,resources,src,tests json vendor/webservco/coding-standards/phpmd/phpmd-rule-set.xml",
"check:phpstan": "vendor/bin/phpstan analyse bin config public resources src tests --ansi -c vendor/webservco/coding-standards/phpstan/phpstan.neon --level=max",
"check:psalm": "vendor/bin/psalm --config=vendor/webservco/coding-standards/psalm/psalm.xml --no-diff",
"check:skeleton": "vendor/bin/pds-skeleton validate .",
"fix:phpcs": "vendor/bin/phpcbf --standard=vendor/webservco/component-common/.phpcs/php-coding-standard.xml --extensions=php -sp bin config public resources src tests",
"test" : "vendor/bin/phpunit --colors=always --configuration vendor/webservco/coding-standards/phpunit/phpunit-10.xml --display-deprecations --display-errors --display-incomplete --display-notices --display-skipped --display-warnings",
"test:dox" : "@test --testdox"
},
"type" : "library"
}