Commit Graph

123 Commits

Author SHA1 Message Date
Felipe Pena
b90aaccbfd - Fixed bug #46064 (Exception when creating ReflectionProperty object on dynamicly created property) 2008-10-29 12:41:22 +00:00
Dmitry Stogov
292016006e Fixed bug #46205 (Closure - Memory leaks when ReflectionException is thrown) 2008-10-01 07:30:52 +00:00
Felipe Pena
fdc2ee256e - MFB: New parameter parsing API
- Fixed tests
2008-08-18 19:42:39 +00:00
Christian Seiler
d40f3ef30e - Fixed sefaults (tests added) 2008-08-11 22:30:44 +00:00
Felipe Pena
7ea60b6f45 - Fixed wrong check for dynamic properties 2008-08-11 13:35:49 +00:00
Marcus Boerger
ae3641d90d - Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:36:01 +00:00
Felipe Pena
0a735191e5 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:46:14 +00:00
Felix De Vliegher
934dd2e326 MFB: Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:42:40 +00:00
Antony Dovgal
21008970aa fix test 2008-07-29 08:48:46 +00:00
Antony Dovgal
e92b2b506a make sure dom extension is present 2008-07-11 12:43:55 +00:00
Dmitry Stogov
c306b42658 Added support for namespaces 2008-06-25 12:34:14 +00:00
Lars Strojny
99ffc8701a Testfest: various tests for ReflectionParameter 2008-06-12 21:41:09 +00:00
Lars Strojny
8b9f0454fb Testfest test cases for ReflectionExtension 2008-06-12 21:25:28 +00:00
Lars Strojny
0b76b9b921 Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx 2008-06-12 20:55:54 +00:00
Lars Strojny
0e34d9c841 Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap 2008-06-12 20:46:05 +00:00
Lars Strojny
5598ae06ed Reflection::getModifierNames()-test by Felix De Vliegher (Testfest) 2008-06-12 20:30:46 +00:00
Felipe Pena
a9e910eebd - MFB: Fixed bug #45139 (ReflectionProperty returns incorrect declaring class) 2008-06-01 03:13:54 +00:00
Felipe Pena
06a7527c65 - Removed UEXPECT(F) 2008-05-27 13:16:27 +00:00
Sebastian Bergmann
5aa7732d2f MFB: Drop SKIPIF check for ext/reflection. 2008-05-24 13:35:03 +00:00
Robin Fernandes
f684c221c4 More basic ReflectionClass tests from Dutch TestFest. 2008-05-23 21:14:05 +00:00
Robin Fernandes
50cd9a0382 Basic ReflectionClass tests (from Dutch TestFest) 2008-05-22 21:54:01 +00:00
Sebastian Bergmann
360409b776 Add tests for ReflectionFunction::getExtension*(). 2008-05-11 04:56:12 +00:00
Antony Dovgal
eef38c8ab3 cosmetic enhancements 2008-04-29 08:04:11 +00:00
Robin Fernandes
0188a097cc Remove inconsistent behaviour when a protected static prop is overridden by public static prop (details: http://turl.ca/phhhf ). 2008-03-03 14:24:11 +00:00
Derick Rethans
f8717f7280 - Fixed typo 2008-02-15 12:47:21 +00:00
Derick Rethans
4b6cdde9c8 - Add the ReflectionProperty::setAccesible() method that allows non-public
property's values to be read through ::getValue().
2008-02-15 12:37:38 +00:00
Antony Dovgal
82df944f6a more cosmetics 2008-02-15 09:35:47 +00:00
Felipe Pena
9cfc5580f4 Fix test 2008-01-30 15:23:41 +00:00
Felipe Pena
8ca171f514 Fix tests 2008-01-30 11:56:34 +00:00
Felipe Pena
c31d0d112f Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator) 2008-01-30 10:54:41 +00:00
Marcus Boerger
0aaea797da - Fixed Bug #37964 (Reflection shows private methods of parent class)
(felipe@php.net)
2008-01-16 14:19:07 +00:00
Dmitry Stogov
1d9894a0c5 Added missing warning message 2008-01-10 09:38:41 +00:00
Steve Seear
261a88fc3a Adding PHPT tests for the ReflectionMethod class. 2008-01-03 09:07:56 +00:00
Steve Seear
8a76a81e47 Adding PHPT tests for the ReflectionProperty class. reflectionProperty_getValue_error.phpt and reflectionProperty_setValue_error.phpt are failing with behaviour that is inconsistent with PHP5_3. 2007-12-18 17:25:40 +00:00
Ilia Alshanetsky
8ef85b486a MFB: Fixed bug #42976 (Crash when constructor for newInstance() or
newInstanceArgs() fails)
2007-10-28 13:44:09 +00:00
Johannes Schlüter
610f70fcf5 - MFB: New ReflectionExtension::info() function to print the phpinfo() block
for an extension.
2007-07-24 23:16:47 +00:00
Zoe Slattery
2a8e9f9b50 reflectionObject tests 2007-07-12 21:08:02 +00:00
Antony Dovgal
0a0b078746 implement (or fix?) #41884 (ReflectionClass::getDefaultProperties() does not handle static attributes) 2007-07-11 22:03:59 +00:00
Zoe Slattery
fb148e4953 More reflectionClass tests 2007-07-11 20:16:43 +00:00
Zoe Slattery
a8b455aa5b Tests for reflectionClass 2007-07-10 16:21:26 +00:00
Zoe Slattery
6873ee8867 ReflectionClass constructor tests 2007-07-09 13:13:34 +00:00
Antony Dovgal
419c5b3db1 fix tests
add test for yet not merged fix
2007-04-26 23:42:36 +00:00
Johannes Schlüter
85910d510b - Add test 2007-04-12 18:31:57 +00:00
Antony Dovgal
1efa2ab3fc add new test and SKIPIF sections 2007-04-12 12:43:54 +00:00
Antony Dovgal
df2c656630 new test 2007-03-19 08:09:55 +00:00
Johannes Schlüter
a9d356663b - Fix string compare in unicode mode 2007-03-17 23:38:41 +00:00
Antony Dovgal
ec79b63d69 fix #40431 (dynamic properties may cause crash in ReflectionProperty methods) 2007-02-10 20:51:42 +00:00
Ilia Alshanetsky
2b23e4e205 MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
type hint self).
2006-12-22 15:38:42 +00:00
Johannes Schlüter
0e58baae93 - Fix #38465 (ReflectionParameter fails if default value is an access to self:: 2006-10-18 16:34:25 +00:00
Dmitry Stogov
5e60e48f8a Unicode support. (Two more places must be fixed. Look for FIXME comments.) 2006-10-17 11:11:45 +00:00