File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
dev/tests/static/testsuite/Magento/Test/Integrity/App/Language
setup/src/Magento/Setup/Module/I18n Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -104,9 +104,10 @@ protected function prepareParser()
104
104
$ phraseCollector = new \Magento \Setup \Module \I18n \Parser \Adapter \Php \Tokenizer \PhraseCollector (
105
105
new \Magento \Setup \Module \I18n \Parser \Adapter \Php \Tokenizer ()
106
106
);
107
+ $ fileSystem = new \Magento \Framework \Filesystem \Driver \File ();
107
108
$ adapters = [
108
109
'php ' => new \Magento \Setup \Module \I18n \Parser \Adapter \Php ($ phraseCollector ),
109
- 'js ' => new \Magento \Setup \Module \I18n \Parser \Adapter \Js (),
110
+ 'js ' => new \Magento \Setup \Module \I18n \Parser \Adapter \Js ($ fileSystem ),
110
111
'xml ' => new \Magento \Setup \Module \I18n \Parser \Adapter \Xml (),
111
112
'html ' => new \Magento \Setup \Module \I18n \Parser \Adapter \Html (),
112
113
];
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ public static function getDictionaryGenerator()
52
52
$ filesCollector = new FilesCollector ();
53
53
54
54
$ phraseCollector = new Parser \Adapter \Php \Tokenizer \PhraseCollector (new Parser \Adapter \Php \Tokenizer ());
55
- $ fileSystem = new \Magento \Framework \Filesystem \Driver \File ();
55
+ $ fileSystem = new \Magento \Framework \Filesystem \Driver \File ();
56
56
$ adapters = [
57
57
'php ' => new Parser \Adapter \Php ($ phraseCollector ),
58
58
'html ' => new Parser \Adapter \Html (),
You can’t perform that action at this time.
0 commit comments