Skip to content

Commit e903ae7

Browse files
committed
Static test fix
1 parent 7da6807 commit e903ae7

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

lib/internal/Magento/Framework/Code/Reader/NamespaceResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function ($token) {
115115
function ($element) {
116116
return $element[1];
117117
},
118-
import
118+
$import
119119
);
120120
$import = array_values($import);
121121
if ($import[0] === self::NS_SEPARATOR) {

lib/internal/Magento/Framework/HTTP/PhpEnvironment/Response.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ public function isRedirect()
175175
* @inheritDoc
176176
*
177177
* @return string[]
178+
* @SuppressWarnings(PHPMD.SerializationAware)
178179
*/
179180
public function __sleep()
180181
{

lib/internal/Magento/Framework/Url.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
* @SuppressWarnings(PHPMD.ExcessiveClassComplexity)
6363
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
6464
* @SuppressWarnings(PHPMD.TooManyFields)
65+
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
6566
*/
6667
class Url extends \Magento\Framework\DataObject implements \Magento\Framework\UrlInterface
6768
{

0 commit comments

Comments
 (0)