@@ -48,7 +48,7 @@ |
||
48 | 48 | public function provideLanguageAndVersionListAndSiteId() |
49 | 49 | { |
50 | 50 | return array( |
51 | - array(0,'fake_component', 'en', '2'), |
|
51 | + array(0, 'fake_component', 'en', '2'), |
|
52 | 52 | array(2, 'tiny_mce_wysiwyg', 'fr', '2'), |
53 | 53 | array(2, 'tiny_mce_wysiwyg', 'en', '2'), |
54 | 54 | array(1, 'menu', 'en', '2'), |
@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | { |
60 | 60 | $this->markTestSkipped('To reactivate when API roles will be implemented'); |
61 | 61 | |
62 | - $node = $this->nodeRepository->findOneCurrentlyPublished('fixture_page_contact','fr','2'); |
|
62 | + $node = $this->nodeRepository->findOneCurrentlyPublished('fixture_page_contact', 'fr', '2'); |
|
63 | 63 | $node->getStatus()->setPublishedState(false); |
64 | 64 | static::$kernel->getContainer()->get('object_manager')->flush(); |
65 | 65 | |
@@ -104,7 +104,7 @@ discard block |
||
104 | 104 | $nodeLastVersion = $this->nodeRepository |
105 | 105 | ->findInLastVersion('fixture_page_community', 'fr', '2'); |
106 | 106 | |
107 | - $this->assertSame($node->getVersion()+1, $nodeLastVersion->getVersion()); |
|
107 | + $this->assertSame($node->getVersion() + 1, $nodeLastVersion->getVersion()); |
|
108 | 108 | } |
109 | 109 | |
110 | 110 | /** |
@@ -375,7 +375,7 @@ discard block |
||
375 | 375 | $dm->clear(); |
376 | 376 | $node = $this->nodeRepository->findInLastVersion('root', 'fr', '2'); |
377 | 377 | $footerAreaBlocks = $node->getArea('footer')->getBlocks(); |
378 | - $addedBlock = $footerAreaBlocks[1]; |
|
378 | + $addedBlock = $footerAreaBlocks[1]; |
|
379 | 379 | |
380 | 380 | $this->assertSame($block->getId(), $addedBlock->getId()); |
381 | 381 | } |