File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
setup/src/Magento/Setup/Module/Di/Code/Reader Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ public function getList($path)
92
92
* @param \RecursiveIteratorIterator $recursiveIterator
93
93
* @return array
94
94
*/
95
-
96
95
private function extract (\RecursiveIteratorIterator $ recursiveIterator )
97
96
{
98
97
$ classes = [];
@@ -115,6 +114,10 @@ private function extract(\RecursiveIteratorIterator $recursiveIterator)
115
114
return $ classes ;
116
115
}
117
116
117
+ /**
118
+ * @param array $classNames
119
+ * @param $fileItemPath
120
+ */
118
121
private function includeClasses (array $ classNames , $ fileItemPath )
119
122
{
120
123
foreach ($ classNames as $ className ) {
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ class FileClassScanner
36
36
*
37
37
* @param string $filename
38
38
*/
39
-
40
39
public function __construct ($ filename )
41
40
{
42
41
$ filename = realpath ($ filename );
@@ -56,7 +55,6 @@ public function __construct($filename)
56
55
*
57
56
* @return string
58
57
*/
59
-
60
58
public function getFileContents ()
61
59
{
62
60
return file_get_contents ($ this ->filename );
@@ -73,7 +71,6 @@ public function getFileContents()
73
71
* @SuppressWarnings(PHPMD.NPathComplexity)
74
72
* @return array
75
73
*/
76
-
77
74
private function extract ()
78
75
{
79
76
$ allowedOpenBraces = [T_CURLY_OPEN , T_DOLLAR_OPEN_CURLY_BRACES , T_STRING_VARNAME ];
You can’t perform that action at this time.
0 commit comments