Issues

ZF-3127: constructor should be protected to get it working with php 5.2.6

Description

The constructor is currently private and should be protected to get extended classes working under php 5.2.6.

Comments

But they ARE made private to be not extended... I would think this is expected behaviour and not a issue.

/**
 * Singleton pattern implementation makes "new" unavailable
 *
 * @return void
 */

not in every case. Some of them are singleton implementations and they should be extendable.

Indeed, Zend_Auth should be extensible, and this issue should be resolved for this component. I'm not sure why Zend_InfoCard would not be extensible with a private constructor, so I'll look into this, too. I'll defer to [~alexander] about Zend_Search_Lucene. [~ralph] and I should also have a look at Zend_Session, but I recall that there were design reasons for its private members.

Zend_Search_Lucene is not intended to be extensible, but its constructor is public. Zend_Search_Lucene objects should be created using open()/create() Zend_Search_Lucene static methods, but 'new' operator is not disabled (constructor is not switched to private) to be compatible with previous Zend_Search_Lucene implementations.

Removing Zend_Search_Lucene from affected components list.

Resolved in revision 11747

Changing issues in preparation for the 1.7.0 release.