Completed
Push — master ( 337cb4...d670b2 )
by Kevin
02:44
created
lib/Cli/Command/AbstractApiEnablement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     protected function configure()
22 22
     {
23
-        $this->setName('api:' . $this->getApiName());
23
+        $this->setName('api:'.$this->getApiName());
24 24
         $this->setDescription($this->getApiDescription());
25 25
     }
26 26
 
Please login to merge, or discard this patch.
lib/Cli/Command/UnsetSetting.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,11 +31,11 @@  discard block
 block discarded – undo
31 31
 
32 32
     protected function execute(InputInterface $input, OutputInterface $output)
33 33
     {
34
-        if (!file_exists($this->path . '/magium.json')) {
34
+        if (!file_exists($this->path.'/magium.json')) {
35 35
             throw new NotFoundException('Configuration file not found.  Please execute magium:init.');
36 36
         }
37 37
         $reader = new \Zend\Config\Reader\Json();
38
-        $config = new Config($reader->fromFile($this->path . '/magium.json'), true);
38
+        $config = new Config($reader->fromFile($this->path.'/magium.json'), true);
39 39
 
40 40
         $name = $input->getArgument('name');
41 41
 
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         }
45 45
 
46 46
         $writer = new Json();
47
-        $writer->toFile($this->path . '/magium.json', $config);
47
+        $writer->toFile($this->path.'/magium.json', $config);
48 48
         $output->writeln(sprintf('Removed value for "%s" in %s/magium.json', $name, $this->path));
49 49
     }
50 50
 
Please login to merge, or discard this patch.
lib/Cli/Command/Init.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -32,22 +32,22 @@
 block discarded – undo
32 32
     {
33 33
         $path = $this->path;
34 34
         if ($path && $path[0] != '/' && $path[1] != ':') {
35
-            $path = getcwd() . '/' . $path;
35
+            $path = getcwd().'/'.$path;
36 36
         }
37 37
         $calcPath = $path;
38 38
         $path = realpath($path);
39 39
         if ($path === false) {
40
-            throw new NotFoundException('Path not found: ' . $calcPath);
40
+            throw new NotFoundException('Path not found: '.$calcPath);
41 41
         }
42 42
         if (!is_writable($path)) {
43
-            throw new NotAccessibleException('Could not write to path: ' . $calcPath);
43
+            throw new NotAccessibleException('Could not write to path: '.$calcPath);
44 44
         }
45
-        $fullPath = $path . '/magium.json';
45
+        $fullPath = $path.'/magium.json';
46 46
         if (file_exists($fullPath)) {
47
-            throw new ExistsException('The file exists already.  Will not overwrite: ' . $fullPath);
47
+            throw new ExistsException('The file exists already.  Will not overwrite: '.$fullPath);
48 48
         }
49 49
         file_put_contents($fullPath, '{}');
50
-        $output->writeln('Created empty JSON configuration file: ' . realpath($fullPath));
50
+        $output->writeln('Created empty JSON configuration file: '.realpath($fullPath));
51 51
 
52 52
     }
53 53
 
Please login to merge, or discard this patch.
lib/Cli/Command/ListElements.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
     public static function addDirectory($dir, $namespace)
18 18
     {
19 19
         if ($dir != realpath($dir)) {
20
-            throw new InvalidConfigurationException('Path not found.  Please ensure that you pass the realpath() in: ' . $dir);
20
+            throw new InvalidConfigurationException('Path not found.  Please ensure that you pass the realpath() in: '.$dir);
21 21
         }
22 22
         self::$dirs[$dir] = $namespace;
23 23
     }
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
             'Set if you want the namespace output escaped (useful for copy and paste)'
76 76
         );
77 77
 
78
-        self::addDirectory(realpath(__DIR__ . '/../..'), 'Magium');
78
+        self::addDirectory(realpath(__DIR__.'/../..'), 'Magium');
79 79
     }
80 80
 
81 81
     protected function execute(InputInterface $input, OutputInterface $output)
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
         sort($paths);
100 100
         $filter = $input->getArgument('filter');
101
-        if (count($paths) > 0 ) {
101
+        if (count($paths) > 0) {
102 102
             $output->writeln('Classes found: ');
103 103
             $escape = $input->getOption('escape');
104 104
 
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
                     $path = str_replace('\\', '\\\\', $path);
108 108
                 }
109 109
                 if ($filter && stripos($path, $filter) !== false) {
110
-                    $output->writeln("\t" . $path);
110
+                    $output->writeln("\t".$path);
111 111
                 }
112 112
             }
113 113
         } else {
Please login to merge, or discard this patch.
lib/Cli/Command/UnsetElementValue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -32,11 +32,11 @@  discard block
 block discarded – undo
32 32
 
33 33
     protected function execute(InputInterface $input, OutputInterface $output)
34 34
     {
35
-        if (!file_exists($this->path . '/magium.json')) {
35
+        if (!file_exists($this->path.'/magium.json')) {
36 36
             throw new NotFoundException('Configuration file not found.  Please execute magium:init.');
37 37
         }
38 38
         $reader = new \Zend\Config\Reader\Json();
39
-        $config = new Config($reader->fromFile($this->path . '/magium.json'), true);
39
+        $config = new Config($reader->fromFile($this->path.'/magium.json'), true);
40 40
 
41 41
         $name = strtolower($input->getArgument('class'));
42 42
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         }
62 62
 
63 63
         $writer = new Json();
64
-        $writer->toFile($this->path . '/magium.json', $config);
64
+        $writer->toFile($this->path.'/magium.json', $config);
65 65
 
66 66
     }
67 67
 
Please login to merge, or discard this patch.
lib/Cli/Command/SetSetting.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,11 +33,11 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
lib/TestCase/Initializer.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -180,12 +180,12 @@
 block discarded – undo
180 180
 
181 181
         $count = 0;
182 182
 
183
-        $path = realpath(__DIR__ . '/../');
183
+        $path = realpath(__DIR__.'/../');
184 184
 
185 185
         while ($count++ < 5) {
186 186
             $dir = "{$path}/configuration/";
187 187
             if (is_dir($dir)) {
188
-                foreach (glob($dir . '*.php') as $file) {
188
+                foreach (glob($dir.'*.php') as $file) {
189 189
                     $configArray = array_merge_recursive($configArray, include $file);
190 190
                 }
191 191
                 break;
Please login to merge, or discard this patch.
lib/WebDriver/LoggingRemoteExecuteMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
         $this->logger->debug(
35 35
             sprintf(
36
-                'Executing: ' . $command_name
36
+                'Executing: '.$command_name
37 37
             ),
38 38
             $extra
39 39
         );
Please login to merge, or discard this patch.
lib/Util/Api/Request.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
                 $payload = ['payload' => json_encode($payload)];
34 34
             }
35 35
 
36
-            $url = 'http://' . $this->apiConfiguration->getApiHostname() . $url;
36
+            $url = 'http://'.$this->apiConfiguration->getApiHostname().$url;
37 37
 
38 38
             $factory = new Factory();
39 39
             $requestSigner = $factory->newRequestSigner();
Please login to merge, or discard this patch.