Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.2.6

Bug #18957 PHP Fatal error: Call to undefined method ReflectionMethod::setAccessible() in
Submitted: 2011-11-06 13:26 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: Config_Lite
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    
Subscription  


 [2011-11-06 13:26 UTC] doconnor (Daniel O'Connor)
Description: ------------ PHP Fatal error: Call to undefined method ReflectionMethod::setAccessible() in /var/lib/jenkins/workspace/Config_Lite/tests/Config_LiteTest.php on line 321 Test script: --------------- Refer to http://test.pear.php.net:8080/job/Config_Lite/lastCompletedBuild/console Expected result: ---------------- No fatal errors Actual result: -------------- PHP Fatal error: Call to undefined method ReflectionMethod::setAccessible() in /var/lib/jenkins/workspace/Config_Lite/tests/Config_LiteTest.php on line 321

Comments

 [2011-11-07 04:50 UTC] doconnor (Daniel O'Connor)
-Package: Cache_Lite +Package: Config_Lite
Oops, wrong package
 [2011-11-08 04:34 UTC] doconnor (Daniel O'Connor)
So... http://www.php.net/manual/en/reflectionmethod.setaccessible.php is 5.3.2+; but the package requires only 5.2.0. Also; annoyingly; jenkins is 5.3.1. Can you check the php version and skip if the test can't execute?
 [2011-12-30 12:47 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. Sort of fixed. The specific error is gone.