Skip to content

Commit 9ad1a9a

Browse files
committed
MAGETWO-90552: Merge release branch into 2.2-develop
- Fixed merge conflicts
1 parent 2f50df2 commit 9ad1a9a

File tree

2 files changed

+0
-32
lines changed

2 files changed

+0
-32
lines changed

app/code/Magento/Catalog/view/adminhtml/web/js/category-checkbox-tree.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ define([
3131
data = {},
3232
parameters = {},
3333
root = {},
34-
len = 0,
3534
key = '';
3635

3736
/* eslint-disable */

dev/tests/static/testsuite/Magento/Test/Integrity/PublicCodeTest.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -52,37 +52,6 @@ private function getWhitelist(): array
5252
return $this->blockWhitelist;
5353
}
5454

55-
/**
56-
* @var string[]|null
57-
*/
58-
private $blockWhitelist;
59-
60-
/**
61-
* Return whitelist class names
62-
*
63-
* @return string[]
64-
*/
65-
private function getWhitelist(): array
66-
{
67-
if ($this->blockWhitelist === null) {
68-
$whiteListFiles = str_replace(
69-
'\\',
70-
'/',
71-
realpath(__DIR__) . '/_files/whitelist/public_code*.txt'
72-
);
73-
$whiteListItems = [];
74-
foreach (glob($whiteListFiles) as $fileName) {
75-
$whiteListItems = array_merge(
76-
$whiteListItems,
77-
file($fileName, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES)
78-
);
79-
}
80-
$this->blockWhitelist = $whiteListItems;
81-
}
82-
83-
return $this->blockWhitelist;
84-
}
85-
8655
/**
8756
* Since blocks can be referenced from templates, they should be stable not to break theme customizations.
8857
* So all blocks should be @api annotated. This test checks that all blocks declared in layout files are public

0 commit comments

Comments
 (0)