1
0
mirror of https://github.com/php/php-src.git synced 2026-03-25 08:42:29 +01:00
Commit Graph

149 Commits

Author SHA1 Message Date
Felipe Pena
1c76de1b47 - Fixed tests 2010-03-06 23:58:35 +00:00
Felipe Pena
e6770f10a0 - Fixed bug #50152 (ReflectionClass::hasProperty hehaves like isset() not property_exists)
[5_2 is OK]
2009-11-11 18:52:12 +00:00
Felipe Pena
c768256cae - Fixed bug #49719 (ReflectionClass::hasProperty returns true for a private property in base class) 2009-11-01 15:12:34 +00:00
Felipe Pena
6504d84a0b - Fix some arginfos (thanks Philip)
- Added arginfo info. for void params
2009-10-03 20:45:29 +00:00
Sebastian Bergmann
46ce6802e5 Add ReflectionMethod::setAccessible() for invoking non-public methods through the Reflection API. 2009-09-10 05:04:53 +00:00
Sebastian Bergmann
fa67b14651 Make invokeArgs() error messages consistent with invoke(). 2009-09-03 14:02:51 +00:00
Zoe Slattery
36a338a569 The last of the 2009 testfest tests 2009-08-30 18:18:50 +00:00
Zoe Slattery
d4ba889aa4 More tests from 2009 testfest 2009-08-30 09:30:13 +00:00
Zoe Slattery
7effcd5f6c Test from 2009 testfest 2009-08-26 17:17:58 +00:00
Felipe Pena
d47dc13042 - Fixed ReflectionClass::getStaticProperties() to do not return the private properties from parent class;
behavior already adopted in ReflectionClass::getDefaultProperties() and ReflectionClass::getProperties().
2009-08-01 20:44:00 +00:00
Jani Taskinen
dd2876c396 - Fixed bug #49092 (ReflectionFunction fails to work with functions in fully qualified namespaces) 2009-08-01 01:45:22 +00:00
Jani Taskinen
a8470d2500 - Added test for bug #49074 2009-08-01 01:01:43 +00:00
Kalle Sommer Nielsen
8f3fb7ec31 Fixed bug #48757 (ReflectionFunction::invoke() parameter issues) 2009-07-01 17:37:42 +00:00
andy wharmby
dd3adbaa20 Fix tests 2009-06-29 07:45:14 +00:00
Arnaud Le Blanc
361f8c2655 Fixed bug #48336 (ReflectionProperty::getDeclaringClass() does not
work with redeclared property)
(patch by Markus dot Lidel at shadowconnect dot com)
2009-05-21 16:01:22 +00:00
Felipe Pena
cab1fb7ce1 - Fixed bug #47254 (Wrong Reflection for extends class) 2009-04-27 19:46:03 +00:00
Sebastian Bergmann
fa587effb7 Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:08:58 +00:00
Sebastian Bergmann
607c0fb223 Fix issue reported by Roman Borschel. 2009-04-04 14:35:28 +00:00
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Felipe Pena
ef7eb282fd - New parameter parsing
- Removed METHOD_NOTSTATIC_NUMPARAMS
2009-01-07 22:37:08 +00:00
Marcus Boerger
21b49d9ebb - Minor corrections and a new test 2009-01-03 20:40:22 +00:00
Marcus Boerger
30647d329b - MFB sync 2009-01-03 20:39:26 +00:00
Zoe Slattery
3385d8bda0 removing xfail sections as test passes 2008-12-31 20:43:52 +00:00
Sebastian Bergmann
eb33ee45cd Fix #46718: ReflectionProperty::setValue() and ReflectionProperty::setAccessible(). 2008-11-29 15:58:30 +00:00
Ant Phillips
ddb2c05841 Reflection tests: checked on PHP 5.2.6, 5.3 and 6.0 (Windows, Linux and Linux 64 bit). 2008-11-18 15:37:57 +00:00
Ant Phillips
d7ed58db8b Commit tests for ext/reflection 2008-11-17 12:50:18 +00:00
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