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

Container should be created by a phpbb_create_default_container() function

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • None
    • 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
      );

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: