File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
dev/tests/static/testsuite/Magento/Test/Integrity
lib/internal/Magento/Framework/Composer Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 143
143
"magento/language-pt_br" : " self.version" ,
144
144
"magento/language-zh_cn" : " self.version" ,
145
145
"magento/framework" : " self.version" ,
146
- "magento/project-setup" : " 0.1.0" ,
147
146
"oyejorge/less.php" : " 1.7.0" ,
148
- "symfony/yaml" : " 2.3.x-dev" ,
149
147
"trentrichardson/jquery-timepicker-addon" : " 1.4.3" ,
150
148
"components/handlebars.js" : " 1.3.0" ,
151
149
"colinmollenhour/cache-backend-redis" : " dev-master#193d377b7fb2e88595578b282fa01a62d1185abc" ,
Original file line number Diff line number Diff line change @@ -414,5 +414,14 @@ public function testComponentPathsInRoot()
414
414
"The {$ component } is specified in 'extra->component_paths', but missing in 'replace' section "
415
415
);
416
416
}
417
+ foreach (array_keys (self ::$ rootJson ['replace ' ]) as $ replace ) {
418
+ if (!MagentoComponent::matchMagentoComponent ($ replace )) {
419
+ $ this ->assertArrayHasKey (
420
+ $ replace ,
421
+ self ::$ rootJson ['extra ' ]['component_paths ' ],
422
+ "The {$ replace } is specified in 'replace', but missing in 'extra->component_paths' section "
423
+ );
424
+ }
425
+ }
417
426
}
418
427
}
Original file line number Diff line number Diff line change 4
4
*/
5
5
namespace Magento \Framework \Composer ;
6
6
7
- class MagentoComponent {
7
+ class MagentoComponent
8
+ {
8
9
/**
9
10
* Get matched Magento component or empty array, if it's not a Magento component
10
11
*
You can’t perform that action at this time.
0 commit comments