Zend Framework

Zend_Tool_Framework_Loader_IncludePathLoader and SplFileInfo on PHP 5.3

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Not an Issue
  • Affects Version/s: None
  • Fix Version/s: 1.10.0
  • Component/s: Zend_Tool
  • Labels:
    None

Description

I think SplFileInfo changed on PHP 5.3 which leads to potentially gazillion errors because the include path loader tries to open directories.

A simple fix should do in Zend_Tool_Framework_Loader_IncludePathLoader

if ($item->isLink()) {

replace with:

if ($item->isLink() || $item->isDir()) {

Activity

Hide
Ralph Schindler added a comment -

In 1.10, the IncludePathLoader will be deprecated in favor of the BasicLoader. This new loader will not traverse the include_path and instead only open what its been instructed to load. This new feature will be available in 1.10.

Show
Ralph Schindler added a comment - In 1.10, the IncludePathLoader will be deprecated in favor of the BasicLoader. This new loader will not traverse the include_path and instead only open what its been instructed to load. This new feature will be available in 1.10.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: