File tree Expand file tree Collapse file tree 2 files changed +0
-32
lines changed
app/code/Magento/Catalog/view/adminhtml/web/js
dev/tests/static/testsuite/Magento/Test/Integrity Expand file tree Collapse file tree 2 files changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ define([
31
31
data = { } ,
32
32
parameters = { } ,
33
33
root = { } ,
34
- len = 0 ,
35
34
key = '' ;
36
35
37
36
/* eslint-disable */
Original file line number Diff line number Diff line change @@ -52,37 +52,6 @@ private function getWhitelist(): array
52
52
return $ this ->blockWhitelist ;
53
53
}
54
54
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
-
86
55
/**
87
56
* Since blocks can be referenced from templates, they should be stable not to break theme customizations.
88
57
* So all blocks should be @api annotated. This test checks that all blocks declared in layout files are public
You can’t perform that action at this time.
0 commit comments