Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-14489

Extension compiler pass cannot find class

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.0-b2
    • 3.2.0-a2, 3.2.0-b1
    • Extensions
    • Mac OSX 10.9.5, php 5.5.18

      If an extension tries to add a custom compiler pass via /di/pass/*_pass.php, the class can't be found.

      Steps to reproduce:
      1. Create an extension, give it the compiler pass file: eg. /foo/bar/di/pass/test_pass.php
      2. Load the extension.

      Broken line:
      $filename = './ext//foo/bar/di/pass/test_pass'
      class_exists('\\foo\bar\di\pass\test_pass')

            Marc Marc
            markshawtoronto markshawtoronto [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: