Issues

ZF-12179: Zend_Loader_ClassMapAutoloaderTest fails - cannot load from Phar

Issue Type: Bug Created: 2012-04-26T19:32:16.000+0000 Last Updated: 2012-12-22T12:13:07.000+0000 Status: Open Fix version(s): Reporter: Martin Hujer (mhujer) Assignee: None Tags: - Zend_Loader

  • After1.12.0

Related issues: Attachments: - ClassMapAutoloader.php.patch

Description

PHP 5.3.8, Windows 7 64bit, PHPUnit 3.4.15

<pre class="highlight">
1) Zend_Loader_ClassMapAutoloaderTest::testCanLoadClassMapFromPhar
include(): Filename cannot be empty

I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:193
I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:193
I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:92
I:\xampp\zf\tests\Zend\Loader\ClassMapAutoloaderTest.php:198

2) Zend_Loader_ClassMapAutoloaderTest::testCanLoadNamespacedClassFromPhar
include(): Filename cannot be empty

I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:193
I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:193
I:\xampp\zf\library\Zend\Loader\ClassMapAutoloader.php:92
I:\xampp\zf\tests\Zend\Loader\ClassMapAutoloaderTest.php:218

Comments

Posted by Tomáš Fejfar (tomas.fejfar@gmail.com) on 2012-05-10T21:48:44.000+0000

Tried to fix problem with slashes in PHAR it needs to be run on unix to ensure it works fine there.

Posted by Rob Allen (rob) on 2012-05-17T21:54:31.000+0000

Patch fails on my OS X box.

Posted by Tomáš Fejfar (tomas.fejfar@gmail.com) on 2012-05-19T11:40:11.000+0000

Damn :( I'll try to look at it and compare OSX vs. Win but I'm not sure it will be ready for 1.12. as I'm pretty busy now :(

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts