-
Notifications
You must be signed in to change notification settings - Fork 70
/
composer.json
65 lines (65 loc) · 1.95 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
{
"name": "10up/wp_mock",
"description": "A mocking library to take the pain out of unit testing for WordPress",
"license": "BSD-3-Clause",
"prefer-stable": true,
"require": {
"php": ">=7.4 < 9",
"phpunit/phpunit": "^9.6",
"mockery/mockery": "^1.6",
"antecedent/patchwork": "^2.1"
},
"require-dev": {
"behat/behat": "^v3.11.0",
"sebastian/comparator": "^4.0.8",
"php-coveralls/php-coveralls": "^v2.7",
"sempro/phpunit-pretty-print": "^1.4",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpstan/phpstan-mockery": "^1.1",
"phpcompatibility/php-compatibility": "^9.3",
"php-stubs/wordpress-globals": "^0.2",
"php-stubs/wordpress-stubs": "^6.3",
"friendsofphp/php-cs-fixer": "^3.4",
"dealerdirect/phpcodesniffer-composer-installer": "^0.7"
},
"autoload": {
"psr-4": {
"WP_Mock\\": "./php/WP_Mock"
},
"classmap": [
"php/WP_Mock.php"
]
},
"autoload-dev": {
"psr-4": {
"WP_Mock\\Tests\\": "tests/"
},
"classmap": [
"tests"
]
},
"config": {
"platform": {
"php": "7.4"
},
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"test:behat": "behat",
"test:phpunit": "phpunit",
"test:phpunitcov": "phpunit --coverage-clover build/logs/clover.xml",
"test": [
"@test:behat",
"@test:phpunit"
],
"coverage": [
"@test:behat",
"@test:phpunitcov"
],
"post-install-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility",
"post-update-cmd": "\"vendor/bin/phpcs\" --config-set installed_paths vendor/phpcompatibility/php-compatibility"
}
}