Skip to content

Commit 4a633e4

Browse files
ACPT-1742
Fixing static test failures.
1 parent dcb2bb3 commit 4a633e4

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

pub/errors/processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ public function __construct(
204204
if (isset($_GET['id'])) {
205205
$this->loadReport($_GET['id']);
206206
}
207-
$this->response->setMetadata("NotCacheable", true);
207+
$response->setMetadata("NotCacheable", true);
208208
}
209209

210210
/**

pub/errors/processorFactory.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*/
66
// phpcs:disable PSR1.Files.SideEffects
77
namespace Magento\Framework\Error;
8+
89
// phpcs:ignore Magento2.Functions.DiscouragedFunction,Magento2.Security.IncludeFile
910
require_once realpath(__DIR__) . '/../../app/bootstrap.php';
1011
require_once 'processor.php'; // phpcs:ignore Magento2.Security.IncludeFile
12+
use Magento\Framework\App\ObjectManager as AppObjectManager;
1113

1214
/**
1315
* Error processor factory

0 commit comments

Comments
 (0)