Projekt

Obecné

Profil

Stáhnout (6.98 KB) Statistiky
| Větev: | Revize:
1 cb15593b Cajova-Houba
1.7.2 / 2017-10-04
2
==================
3
4
* Reverted "check method predictions only once" due to it breaking Spies
5
6
1.7.1 / 2017-10-03
7
==================
8
9
* Allow PHP5 keywords methods generation on PHP7 (thanks @bycosta)
10
* Allow reflection-docblock v4 (thanks @GrahamCampbell)
11
* Check method predictions only once (thanks @dontub)
12
* Escape file path sent to \SplFileObjectConstructor when running on Windows (thanks @danmartin-epiphany)
13
14
1.7.0 / 2017-03-02
15
==================
16
17
* Add full PHP 7.1 Support (thanks @prolic)
18
* Allow `sebastian/comparator ^2.0` (thanks @sebastianbergmann)
19
* Allow `sebastian/recursion-context ^3.0` (thanks @sebastianbergmann)
20
* Allow `\Error` instances in `ThrowPromise` (thanks @jameshalsall)
21
* Support `phpspec/phpspect ^3.2` (thanks @Sam-Burns)
22
* Fix failing builds (thanks @Sam-Burns)
23
24
1.6.2 / 2016-11-21
25
==================
26
27
* Added support for detecting @method on interfaces that the class itself implements, or when the stubbed class is an interface itself (thanks @Seldaek)
28
* Added support for sebastian/recursion-context 2 (thanks @sebastianbergmann)
29
* Added testing on PHP 7.1 on Travis (thanks @danizord)
30
* Fixed the usage of the phpunit comparator (thanks @Anyqax)
31
32
1.6.1 / 2016-06-07
33
==================
34
35
  * Ignored empty method names in invalid `@method` phpdoc
36
  * Fixed the mocking of SplFileObject
37
  * Added compatibility with phpdocumentor/reflection-docblock 3
38
39
1.6.0 / 2016-02-15
40
==================
41
42
  * Add Variadics support (thanks @pamil)
43
  * Add ProphecyComparator for comparing objects that need revealing (thanks @jon-acker)
44
  * Add ApproximateValueToken (thanks @dantleech)
45
  * Add support for 'self' and 'parent' return type (thanks @bendavies)
46
  * Add __invoke to allowed reflectable methods list (thanks @ftrrtf)
47
  * Updated ExportUtil to reflect the latest changes by Sebastian (thanks @jakari)
48
  * Specify the required php version for composer (thanks @jakzal)
49
  * Exclude 'args' in the generated backtrace (thanks @oradwell)
50
  * Fix code generation for scalar parameters (thanks @trowski)
51
  * Fix missing sprintf in InvalidArgumentException __construct call (thanks @emmanuelballery)
52
  * Fix phpdoc for magic methods (thanks @Tobion)
53
  * Fix PhpDoc for interfaces usage (thanks @ImmRanneft)
54
  * Prevent final methods from being manually extended (thanks @kamioftea)
55
  * Enhance exception for invalid argument to ThrowPromise (thanks @Tobion)
56
57
1.5.0 / 2015-04-27
58
==================
59
60
  * Add support for PHP7 scalar type hints (thanks @trowski)
61
  * Add support for PHP7 return types (thanks @trowski)
62
  * Update internal test suite to support PHP7
63
64
1.4.1 / 2015-04-27
65
==================
66
67
  * Fixed bug in closure-based argument tokens (#181)
68
69
1.4.0 / 2015-03-27
70
==================
71
72
  * Fixed errors in return type phpdocs (thanks @sobit)
73
  * Fixed stringifying of hash containing one value (thanks @avant1)
74
  * Improved clarity of method call expectation exception (thanks @dantleech)
75
  * Add ability to specify which argument is returned in willReturnArgument (thanks @coderbyheart)
76
  * Add more information to MethodNotFound exceptions (thanks @ciaranmcnulty)
77
  * Support for mocking classes with methods that return references (thanks @edsonmedina)
78
  * Improved object comparison (thanks @whatthejeff)
79
  * Adopted '^' in composer dependencies (thanks @GrahamCampbell)
80
  * Fixed non-typehinted arguments being treated as optional (thanks @whatthejeff)
81
  * Magic methods are now filtered for keywords (thanks @seagoj)
82
  * More readable errors for failure when expecting single calls (thanks @dantleech)
83
84
1.3.1 / 2014-11-17
85
==================
86
87
  * Fix the edge case when failed predictions weren't recorded for `getCheckedPredictions()`
88
89
1.3.0 / 2014-11-14
90
==================
91
92
  * Add a way to get checked predictions with `MethodProphecy::getCheckedPredictions()`
93
  * Fix HHVM compatibility
94
  * Remove dead code (thanks @stof)
95
  * Add support for DirectoryIterators (thanks @shanethehat)
96
97
1.2.0 / 2014-07-18
98
==================
99
100
  * Added support for doubling magic methods documented in the class phpdoc (thanks @armetiz)
101
  * Fixed a segfault appearing in some cases (thanks @dmoreaulf)
102
  * Fixed the doubling of methods with typehints on non-existent classes (thanks @gquemener)
103
  * Added support for internal classes using keywords as method names (thanks @milan)
104
  * Added IdenticalValueToken and Argument::is (thanks @florianv)
105
  * Removed the usage of scalar typehints in HHVM as HHVM 3 does not support them anymore in PHP code (thanks @whatthejeff)
106
107
1.1.2 / 2014-01-24
108
==================
109
110
  * Spy automatically promotes spied method call to an expected one
111
112
1.1.1 / 2014-01-15
113
==================
114
115
  * Added support for HHVM
116
117
1.1.0 / 2014-01-01
118
==================
119
120
  * Changed the generated class names to use a static counter instead of a random number
121
  * Added a clss patch for ReflectionClass::newInstance to make its argument optional consistently (thanks @docteurklein)
122
  * Fixed mirroring of classes with typehints on non-existent classes (thanks @docteurklein)
123
  * Fixed the support of array callables in CallbackPromise and CallbackPrediction (thanks @ciaranmcnulty)
124
  * Added support for properties in ObjectStateToken (thanks @adrienbrault)
125
  * Added support for mocking classes with a final constructor (thanks @ciaranmcnulty)
126
  * Added ArrayEveryEntryToken and Argument::withEveryEntry() (thanks @adrienbrault)
127
  * Added an exception when trying to prophesize on a final method instead of ignoring silently (thanks @docteurklein)
128
  * Added StringContainToken and Argument::containingString() (thanks @peterjmit)
129
  * Added ``shouldNotHaveBeenCalled`` on the MethodProphecy (thanks @ciaranmcnulty)
130
  * Fixed the comparison of objects in ExactValuetoken (thanks @sstok)
131
  * Deprecated ``shouldNotBeenCalled`` in favor of ``shouldNotHaveBeenCalled``
132
133
1.0.4 / 2013-08-10
134
==================
135
136
  * Better randomness for generated class names (thanks @sstok)
137
  * Add support for interfaces into TypeToken and Argument::type() (thanks @sstok)
138
  * Add support for old-style (method name === class name) constructors (thanks @l310 for report)
139
140
1.0.3 / 2013-07-04
141
==================
142
143
  * Support callable typehints (thanks @stof)
144
  * Do not attempt to autoload arrays when generating code (thanks @MarcoDeBortoli)
145
  * New ArrayEntryToken (thanks @kagux)
146
147
1.0.2 / 2013-05-19
148
==================
149
150
  * Logical `AND` token added (thanks @kagux)
151
  * Logical `NOT` token added (thanks @kagux)
152
  * Add support for setting custom constructor arguments
153
  * Properly stringify hashes
154
  * Record calls that throw exceptions
155
  * Migrate spec suite to PhpSpec 2.0
156
157
1.0.1 / 2013-04-30
158
==================
159
160
  * Fix broken UnexpectedCallException message
161
  * Trim AggregateException message
162
163
1.0.0 / 2013-04-29
164
==================
165
166
  * Improve exception messages
167
168
1.0.0-BETA2 / 2013-04-03
169
========================
170
171
  * Add more debug information to CallTimes and Call prediction exception messages
172
  * Fix MethodNotFoundException wrong namespace (thanks @gunnarlium)
173
  * Fix some typos in the exception messages (thanks @pborreli)
174
175
1.0.0-BETA1 / 2013-03-25
176
========================
177
178
  * Initial release