Skip to content

Commit df9e435

Browse files
committed
- Fixed ::class classname violation.
- Reverted change is Mysql.php which should not have been in this commit / branch
1 parent ce29154 commit df9e435

File tree

2 files changed

+22
-3
lines changed

2 files changed

+22
-3
lines changed

lib/internal/Magento/Framework/App/Test/Unit/BootstrapTest.php

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,9 +83,27 @@ protected function setUp()
8383
'',
8484
false
8585
);
86-
$this->maintenanceMode = $this->getMock(\Magento\Framework\App\MaintenanceMode::class, ['isOn'], [], '', false);
87-
$this->remoteAddress = $this->getMock('Magento\Framework\HTTP\PhpEnvironment\RemoteAddress', [], [], '', false);
88-
$filesystem = $this->getMock(\Magento\Framework\Filesystem::class, [], [], '', false);
86+
$this->maintenanceMode = $this->getMock(
87+
\Magento\Framework\App\MaintenanceMode::class,
88+
['isOn'],
89+
[],
90+
'',
91+
false
92+
);
93+
$this->remoteAddress = $this->getMock(
94+
\Magento\Framework\HTTP\PhpEnvironment\RemoteAddress::class,
95+
[],
96+
[],
97+
'',
98+
false
99+
);
100+
$filesystem = $this->getMock(
101+
\Magento\Framework\Filesystem::class,
102+
[],
103+
[],
104+
'',
105+
false
106+
);
89107

90108
$this->logger = $this->getMock(\Psr\Log\LoggerInterface::class);
91109

lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
* @SuppressWarnings(PHPMD.TooManyFields)
3434
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
3535
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
36+
* @codingStandardsIgnoreFile
3637
*/
3738
class Mysql extends \Zend_Db_Adapter_Pdo_Mysql implements AdapterInterface
3839
{

0 commit comments

Comments
 (0)