@@ -48,7 +48,7 @@ class ComposerTest extends \PHPUnit\Framework\TestCase
48
48
/**
49
49
* @var string
50
50
*/
51
- private static $ magentoFrameworkLibaryName = 'magento/framework ' ;
51
+ private static $ magentoFrameworkLibraryName = 'magento/framework ' ;
52
52
53
53
public static function setUpBeforeClass ()
54
54
{
@@ -317,9 +317,9 @@ private function assertDependsOnPhp(\StdClass $json)
317
317
private function assertDependsOnFramework (\StdClass $ json )
318
318
{
319
319
$ this ->assertObjectHasAttribute (
320
- self ::$ magentoFrameworkLibaryName ,
320
+ self ::$ magentoFrameworkLibraryName ,
321
321
$ json ,
322
- 'This component is expected to depend on ' . self ::$ magentoFrameworkLibaryName
322
+ 'This component is expected to depend on ' . self ::$ magentoFrameworkLibraryName
323
323
);
324
324
}
325
325
@@ -516,11 +516,11 @@ public function testConsistencyOfDeclarationsInComposerFiles()
516
516
}
517
517
518
518
$ componentRegistrar = new ComponentRegistrar ();
519
- $ magentoFrameworkLibaryDir =
520
- $ componentRegistrar ->getPath (ComponentRegistrar::LIBRARY , self ::$ magentoFrameworkLibaryName );
519
+ $ magentoFrameworkLibraryDir =
520
+ $ componentRegistrar ->getPath (ComponentRegistrar::LIBRARY , self ::$ magentoFrameworkLibraryName );
521
521
$ magentoFrameworkComposerFile =
522
522
json_decode (
523
- file_get_contents ($ magentoFrameworkLibaryDir . DIRECTORY_SEPARATOR . 'composer.json ' ),
523
+ file_get_contents ($ magentoFrameworkLibraryDir . DIRECTORY_SEPARATOR . 'composer.json ' ),
524
524
true
525
525
);
526
526
@@ -536,7 +536,7 @@ public function testConsistencyOfDeclarationsInComposerFiles()
536
536
$ this ->assertEmpty (
537
537
$ inconsistentDependencies ,
538
538
'There is a discrepancy between the declared versions of the following modules in " '
539
- . self ::$ magentoFrameworkLibaryName . '" and the root composer.json: '
539
+ . self ::$ magentoFrameworkLibraryName . '" and the root composer.json: '
540
540
. implode (', ' , $ inconsistentDependencies )
541
541
);
542
542
}
0 commit comments