Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11306

Container should be created by a phpbb_create_default_container() function

    Details

    • Type: Improvement
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None

      Description

      There is quite some duplication of the following code:

      $phpbb_container = phpbb_create_dumped_container_unless_debug(
      array(
      new phpbb_di_extension_config($phpbb_root_path . 'config.' . $phpEx),
      new phpbb_di_extension_core($phpbb_root_path),
      ),
      array(
      new phpbb_di_pass_collection_pass(),
      new phpbb_di_pass_kernel_pass(),
      ),
      $phpbb_root_path,
      $phpEx
      );

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            igorw Igor Wiedler [X] (Inactive)
            Reporter:
            igorw Igor Wiedler [X] (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development