forked from mywikis/CrawlerProtection
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
37 lines (37 loc) · 1.05 KB
/
composer.json
File metadata and controls
37 lines (37 loc) · 1.05 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
{
"require-dev": {
"phpunit/phpunit": "^9.0",
"mediawiki/mediawiki-codesniffer": "43.0.0",
"mediawiki/minus-x": "1.1.3",
"php-parallel-lint/php-console-highlighter": "1.0.0",
"php-parallel-lint/php-parallel-lint": "1.4.0"
},
"autoload": {
"psr-4": {
"MediaWiki\\Extension\\CrawlerProtection\\": "includes/"
}
},
"autoload-dev": {
"psr-4": {
"MediaWiki\\Extension\\CrawlerProtection\\Tests\\": "tests/phpunit/unit/"
},
"files": [
"tests/phpunit/stubs.php",
"tests/phpunit/namespaced-stubs.php"
]
},
"scripts": {
"test": [
"@phpcs",
"@phpunit"
],
"phpcs": "vendor/bin/phpcs -sp --standard=.phpcs.xml",
"phpcbf": "vendor/bin/phpcbf --standard=.phpcs.xml",
"phpunit": "php ../../tests/phpunit/phpunit.php tests/phpunit/"
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}