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

Container should be created by a phpbb_create_default_container() function

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None

      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
      );

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

              Created:
              Updated:
              Resolved: