Issues

ZF-8463: Zend_Tool_Framework_Provider_Repository->_parseName assumes all class providers have _ in their name (patch attached)

Description

$providerName = substr($className, strrpos($className, '_')+1); assumes, that className contains _ If you have your onw Providers this might not be true!

So above should be changed into

    if (false !== $pos = strrpos($className, '_')) {
        $providerName = substr($className, $pos + 1);
    } else {
        $providerName = $className;
    }

Comments

It seems that the same applies to the: Zend_Tool_Framework_Provider_Signature->_processName

$name = substr($className, strrpos($className, '_')+1);

should be if (false !== $pos = strrpos($className, '_')) { $name = substr($className, $pos + 1); } else { $name = $className; }

Fixed in r23201 in trunk & r23202 in release branch 1.11 (as part of ZF-9397)