Skip to content

Commit 6d8ed7b

Browse files
committed
Fix some minor code inspection issues
1 parent df1f967 commit 6d8ed7b

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
],
2121
"require": {
2222
"php": ">=5.6",
23-
"composer/installers": "~1.0"
23+
"composer/installers": "~1.0",
24+
"ext-zip": "*"
2425
},
2526
"require-dev": {
2627
"phing/phing": "~2.4"

helper/packager.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use phpbb\config\config;
1717
use phpbb\di\service_collection;
1818
use phpbb\filesystem\filesystem;
19+
use phpbb\path_helper;
1920
use phpbb\skeleton\ext;
2021
use phpbb\skeleton\template\twig\extension\skeleton_version_compare;
2122
use phpbb\template\context;
@@ -198,10 +199,13 @@ protected function get_template_engine()
198199
'assets_version' => null,
199200
]);
200201

202+
/** @var path_helper $path_helper */
201203
$path_helper = $this->phpbb_container->get('path_helper');
204+
/** @var filesystem $filesystem */
205+
$filesystem = $this->phpbb_container->get('filesystem');
202206
$environment = new environment(
203207
$config,
204-
$this->phpbb_container->get('filesystem'),
208+
$filesystem,
205209
$path_helper,
206210
$this->phpbb_container->getParameter('core.cache_dir'),
207211
$this->phpbb_container->get('ext.manager'),

0 commit comments

Comments
 (0)