Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-18972

Autoload generation with namespace

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Medium Medium
    • 4.7.0alpha1
    • 2011.10, 2011.11, 4.4.1, 4.5.0, 4.6.0
    • Misc
    • None
    • Any

    Description

      Autoload generation was updated in 4.5 to handler namespace. It works great when you use namespace like this :

      namespace ezpublish;

      But PHP provides another way to define namespaces.

      namespace ezpublish
      {
      }

      This causes the autoload generation to loop until memory limit is reached when a namespace is defined with bracket.

      Steps to reproduce
      • Create a file with an empty namespace with bracket
      • Generate autoload

      Attachments

        Activity

          People

            jv@ez.no jv@ez.no
            8bc12bd8-4b86-4b97-8f96-13978c04c7fa@accounts.ibexa.co Jérémy Poulain
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: