forked from badoo/soft-mocks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
71 lines (71 loc) · 2.55 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
{
"name": "badoo/soft-mocks",
"type": "library",
"description": "The idea behind \"Soft Mocks\" - as opposed to \"hardcore\" mocks that work on the level of the PHP interpreter (runkit and uopz) - is to rewrite class code on the spot so that it can be inserted in any place. It works by rewriting code on the fly during file inclusion instead of using extensions like runkit or uopz.",
"minimum-stability": "stable",
"license": "MIT",
"authors": [
{
"name": "Badoo Development"
}
],
"require": {
"php": ">=5.5",
"nikic/php-parser": "^3.0.6"
},
"require-dev": {
"phpunit/phpunit": "^4.8.36",
"vaimo/composer-patches": "3.4.3"
},
"config": {
"preferred-install": "source"
},
"extra": {
"patches": {
"phpunit/phpunit": [
{
"label": "phpunit run file",
"source": "patches/phpunit4.x/phpunit_phpunit.patch",
"version": "^4.8.0"
},
{
"label": "phpunit run file",
"source": "patches/phpunit5.x/phpunit_phpunit.patch",
"version": "^5.7.0"
},
{
"label": "Add ability to set custom filename rewrite callbacks #1",
"source": "patches/phpunit4.x/phpunit_add_ability_to_set_custom_filename_rewrite_callbacks_1.patch",
"version": "^4.8.0"
},
{
"label": "Add ability to set custom filename rewrite callbacks #1",
"source": "patches/phpunit5.x/phpunit_add_ability_to_set_custom_filename_rewrite_callbacks_1.patch",
"version": "^5.7.0"
},
{
"label": "Add ability to set custom filename rewrite callbacks #2",
"source": "patches/phpunit4.x/phpunit_add_ability_to_set_custom_filename_rewrite_callbacks_2.patch",
"version": "^4.8.0"
},
{
"label": "Add ability to set custom filename rewrite callbacks #2",
"source": "patches/phpunit5.x/phpunit_add_ability_to_set_custom_filename_rewrite_callbacks_2.patch",
"version": "^5.7.0"
}
],
"phpunit/php-code-coverage": [
{
"label": "Add ability to set custom filename rewrite callbacks",
"source": "patches/phpunit4.x/php-code-coverage_add_ability_to_set_custom_filename_rewrite_callbacks.patch",
"version": "^2.1.0"
},
{
"label": "Add ability to set custom filename rewrite callbacks",
"source": "patches/phpunit5.x/php-code-coverage_add_ability_to_set_custom_filename_rewrite_callbacks.patch",
"version": "^4.0.4"
}
]
}
}
}