forked from krakjoe/uopz
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.xml
162 lines (160 loc) · 5.16 KB
/
package.xml
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.9.4" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
<name>uopz</name>
<channel>pecl.php.net</channel>
<summary>User Operations for Zend</summary>
<description>
The uopz extension is focused on providing utilities to aid with unit testing PHP code.
It supports the following activities:
* Intercepting function execution
* Intercepting object creation
* Hooking into function execution
* Manipulation of function statics
* Manipulation of function flags
* Redefinition of constants
* Deletion of constants
* Runtime creation of functions and methods
</description>
<lead>
<name>Joe Watkins</name>
<user>krakjoe</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<lead>
<name>Remi Collet</name>
<user>remi</user>
<email>[email protected]</email>
<active>yes</active>
</lead>
<date>2017-08-03</date>
<version>
<release>5.0.2</release>
<api>5.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- add uopz.disable ini switch (default 0)
- fix gh#43: setting hook on __invoke method doesn't work on call_user_func
- fix gh#48: segmentation fault (uopz_set_return)
- add 4 new functions:
- uopz_call_user_func(callable function, ... args)
- uopz_get_exit_status()
- uopz_allow_exit(bool allow)
- uopz_call_user_func_array(callable function, array args)
- fix PHP 7.1 compatibility
- fix PHP 7.2 compatibility
</notes>
<contents>
<dir name="/">
<dir name="/src">
<file name="class.c" role="src" />
<file name="class.h" role="src" />
<file name="constant.c" role="src" />
<file name="constant.h" role="src" />
<file name="copy.c" role="src" />
<file name="copy.h" role="src" />
<file name="executors.c" role="src" />
<file name="executors.h" role="src" />
<file name="function.c" role="src" />
<file name="function.h" role="src" />
<file name="handlers.c" role="src" />
<file name="handlers.h" role="src" />
<file name="hook.c" role="src" />
<file name="hook.h" role="src" />
<file name="return.c" role="src" />
<file name="return.h" role="src" />
<file name="util.c" role="src" />
<file name="util.h" role="src" />
</dir>
<dir name="/tests">
<file name="001.phpt" role="test" />
<file name="002.phpt" role="test" />
<file name="003.phpt" role="test" />
<file name="004.phpt" role="test" />
<file name="005.phpt" role="test" />
<file name="006.phpt" role="test" />
<file name="007.phpt" role="test" />
<file name="008.phpt" role="test" />
<file name="009.phpt" role="test" />
<file name="010.phpt" role="test" />
<file name="011.phpt" role="test" />
<file name="012.phpt" role="test" />
<file name="013.phpt" role="test" />
<file name="014.phpt" role="test" />
<file name="015.phpt" role="test" />
<file name="016.phpt" role="test" />
<file name="017.phpt" role="test" />
<file name="018.phpt" role="test" />
<file name="019.phpt" role="test" />
<file name="020.phpt" role="test" />
<file name="021.phpt" role="test" />
<file name="skipif.inc" role="test" />
<dir name="/bugs">
<file name="0001-uopz_set_static.phpt" role="test" />
<file name="0002-uopz_set_static_clear.phpt" role="test" />
<file name="gh43.phpt" role="test" />
</dir>
</dir>
<file name="uopz.h" role="src" />
<file name="uopz.c" role="src" />
<file name="config.m4" role="src" />
<file name="config.w32" role="src" />
<file name="LICENSE" role="doc" />
<file name="README.md" role="doc" />
</dir>
</contents>
<dependencies>
<required>
<php>
<min>7.0.0</min>
</php>
<pearinstaller>
<min>1.10</min>
</pearinstaller>
</required>
</dependencies>
<providesextension>uopz</providesextension>
<extsrcrelease />
<changelog>
<release>
<date>2016-04-13</date>
<version>
<release>5.0.1</release>
<api>5.0.0</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
- PHP 7 compatibility
- new API, see documentation
</notes>
</release>
<release>
<date>2015-03-04</date>
<version>
<release>2.0.7</release>
<api>2.0.7</api>
</version>
<stability>
<release>stable</release>
<api>stable</api>
</stability>
<license uri="http://www.php.net/license">PHP License</license>
<notes>
fix bug in overriding methods in classes loaded prior to override
add ability to send object from ZEND_NEW handler
send exit parameter to overload function
fix bug in handling exit status code when overloading disabled
set exit status code when overloading enabled from return value
</notes>
</release>
</changelog>
</package>