-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcomposer.json
83 lines (83 loc) · 2.68 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
80
81
82
83
{
"name": "leonstafford/wordpressurldetector",
"description": "A library to get all public URLs from a WordPress application.",
"homepage": "https://github.com/leonstafford/WordPressURLDetector",
"license": "UNLICENSE",
"authors": [
{
"name": "Leon Stafford",
"email": "[email protected]",
"homepage": "https://ljs.dev"
}
],
"type": "library",
"support": {
"issues": "https://github.com/leonstafford/WordPressURLDetector/issues",
"forum": "https://github.com/leonstafford/WordPressURLDetector/discussion",
"docs": "https://github.com/leonstafford/WordPressURLDetector",
"source": "https://github.com/leonstafford/WordPressURLDetector"
},
"replace": {
"guzzlehttp/guzzle":"*",
"guzzlehttp/promises":"*",
"guzzlehttp/psr7":"*"
},
"require": {
"php": ">=7.4",
"leonstafford/wp2staticguzzle": "^7.2.0",
"league/uri": "^6.4.0",
"monolog/monolog": "^2.2.0",
"ext-mbstring": "*",
"ext-simplexml": "*",
"lib-libxml": "*"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/leonstafford/PHP_CodeSniffer"
}
],
"require-dev": {
"10up/wp_mock": "*",
"dealerdirect/phpcodesniffer-composer-installer": "*",
"infection/infection": "*",
"mikey179/vfsstream": "*",
"mockery/mockery": "*",
"pestphp/pest": "*",
"php-parallel-lint/php-parallel-lint": "*",
"phpcompatibility/php-compatibility": "*",
"phpstan/phpstan-strict-rules": "*",
"phpunit/phpunit": "*",
"squizlabs/php_codesniffer": "dev-master",
"szepeviktor/phpstan-wordpress": "*",
"szepeviktor/phpcs-psr-12-neutron-hybrid-ruleset": "*",
"vimeo/psalm": "*"
},
"autoload": {
"psr-4": {
"WordPressURLDetector\\": "src/"
}
},
"config": {
"preferred-install": {
"*": "dist"
},
"classmap-authoritative": true
},
"scripts": {
"phpstan": "php -d memory_limit=-1 ./vendor/bin/phpstan --configuration=conf/phpstan.neon analyse",
"phpcbf": "vendor/bin/phpcbf --standard=conf/phpcs.xml . bin/wordpressurldetector",
"phpcs": "vendor/bin/phpcs -s --standard=conf/phpcs.xml . bin/wordpressurldetector",
"pest": "vendor/bin/pest -c conf/phpunit.xml",
"coverage": "vendor/bin/pest --coverage",
"lint": "vendor/bin/parallel-lint --exclude vendor .",
"test": [
"composer validate --strict",
"@lint",
"@phpcs",
"@phpstan",
"@pest",
"@coverage"
]
}
}