@@ -33,11 +33,11 @@ discard block |
||
33 | 33 | |
34 | 34 | protected function execute(InputInterface $input, OutputInterface $output) |
35 | 35 | { |
36 | - if (!file_exists($this->path . '/magium.json')) { |
|
36 | + if (!file_exists($this->path.'/magium.json')) { |
|
37 | 37 | throw new NotFoundException('Configuration file not found. Please execute magium:init.'); |
38 | 38 | } |
39 | 39 | $reader = new \Zend\Config\Reader\Json(); |
40 | - $config = new Config($reader->fromFile($this->path . '/magium.json'), true); |
|
40 | + $config = new Config($reader->fromFile($this->path.'/magium.json'), true); |
|
41 | 41 | |
42 | 42 | $name = $input->getArgument('name'); |
43 | 43 | $value = $input->getArgument('value'); |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | $config->config->$name = $value; |
53 | 53 | |
54 | 54 | $writer = new Json(); |
55 | - $writer->toFile($this->path . '/magium.json', $config); |
|
55 | + $writer->toFile($this->path.'/magium.json', $config); |
|
56 | 56 | $output->writeln(sprintf('Wrote value for "%s" to %s/magium.json', $name, $this->path)); |
57 | 57 | } |
58 | 58 |
@@ -28,12 +28,12 @@ |
||
28 | 28 | |
29 | 29 | foreach ($assets as $asset) { |
30 | 30 | if (strpos($asset['name'], $this->url) !== false) { |
31 | - $this->testCase->assertEquals(0, $asset['duration'], 'Asset was not cached: ' . $asset['name']); |
|
31 | + $this->testCase->assertEquals(0, $asset['duration'], 'Asset was not cached: '.$asset['name']); |
|
32 | 32 | $foundAsset = true; |
33 | 33 | } |
34 | 34 | } |
35 | 35 | |
36 | - $this->testCase->assertTrue($foundAsset, 'Unable to find asset: ' . $this->url); |
|
36 | + $this->testCase->assertTrue($foundAsset, 'Unable to find asset: '.$this->url); |
|
37 | 37 | } |
38 | 38 | |
39 | 39 | } |
40 | 40 | \ No newline at end of file |
@@ -13,7 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | $log = $this->webDriver->manage()->getLog('browser'); |
15 | 15 | foreach ($log as $l) { |
16 | - $this->logger->err('Message found: ' . serialize($l)); |
|
16 | + $this->logger->err('Message found: '.serialize($l)); |
|
17 | 17 | } |
18 | 18 | $this->testCase->assertCount(0, $log); |
19 | 19 | } |