@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | |
79 | 79 | if ($this->isVerbosity() && !empty($messageCatalogue->getDomains())) { |
80 | 80 | $this->writeln( |
81 | - "<info>Dumping domain(s):</info> " . join(',', $messageCatalogue->getDomains()) |
|
81 | + "<info>Dumping domain(s):</info> ".join(',', $messageCatalogue->getDomains()) |
|
82 | 82 | ); |
83 | 83 | } |
84 | 84 | |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | 'xliff_version' => '2.0' |
103 | 103 | ]); |
104 | 104 | |
105 | - $this->writeln("Dump successfully completed using <info>" . get_class($dumper) . "</info>"); |
|
106 | - $this->writeln("Output directory: <comment>" . realpath($this->argument('path')) . "</comment>"); |
|
105 | + $this->writeln("Dump successfully completed using <info>".get_class($dumper)."</info>"); |
|
106 | + $this->writeln("Output directory: <comment>".realpath($this->argument('path'))."</comment>"); |
|
107 | 107 | } |
108 | 108 | } |
@@ -60,7 +60,7 @@ |
||
60 | 60 | $state->getTimeCreated()->format('Y-m-d H:i:s'), |
61 | 61 | $state->getStatus() == State::STATUS_PENDING |
62 | 62 | ? self::PENDING |
63 | - : '<info>' . $state->getTimeExecuted()->format('Y-m-d H:i:s') . '</info>' |
|
63 | + : '<info>'.$state->getTimeExecuted()->format('Y-m-d H:i:s').'</info>' |
|
64 | 64 | ]); |
65 | 65 | } |
66 | 66 |
@@ -103,6 +103,6 @@ |
||
103 | 103 | */ |
104 | 104 | protected function getFilename($session_id) |
105 | 105 | { |
106 | - return $this->directory . FilesInterface::SEPARATOR . $session_id; |
|
106 | + return $this->directory.FilesInterface::SEPARATOR.$session_id; |
|
107 | 107 | } |
108 | 108 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | */ |
55 | 55 | public function destroy($session_id) |
56 | 56 | { |
57 | - $this->store->delete($this->options['prefix'] . $session_id); |
|
57 | + $this->store->delete($this->options['prefix'].$session_id); |
|
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
@@ -78,7 +78,7 @@ discard block |
||
78 | 78 | */ |
79 | 79 | public function read($session_id) |
80 | 80 | { |
81 | - return $this->store->get($this->options['prefix'] . $session_id); |
|
81 | + return $this->store->get($this->options['prefix'].$session_id); |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | public function write($session_id, $session_data) |
88 | 88 | { |
89 | 89 | return $this->store->set( |
90 | - $this->options['prefix'] . $session_id, |
|
90 | + $this->options['prefix'].$session_id, |
|
91 | 91 | $session_data, |
92 | 92 | $this->lifetime |
93 | 93 | ); |
@@ -124,7 +124,7 @@ |
||
124 | 124 | */ |
125 | 125 | protected function configFilename(string $config): string |
126 | 126 | { |
127 | - $filename = $this->directories->directory('config') . $config . ConfigFactory::EXTENSION; |
|
127 | + $filename = $this->directories->directory('config').$config.ConfigFactory::EXTENSION; |
|
128 | 128 | |
129 | 129 | if (!$this->files->exists($filename)) { |
130 | 130 | throw new RegistratorException("Unable to find filename for config '{$config}'"); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | $tempFilename = tempnam(sys_get_temp_dir(), 'spl'); |
104 | 104 | file_put_contents($tempFilename, $this->render()); |
105 | 105 | |
106 | - $process = new Process(PHP_BINARY . " -l {$tempFilename}"); |
|
106 | + $process = new Process(PHP_BINARY." -l {$tempFilename}"); |
|
107 | 107 | |
108 | 108 | return $process->run() === 0; |
109 | 109 | } finally { |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | |
210 | 210 | $result = []; |
211 | 211 | foreach ($lines as $line) { |
212 | - $result[] = $indent . $line; |
|
212 | + $result[] = $indent.$line; |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | if (!empty($line) && $line[strlen($line) - 1] != ',') { |
@@ -127,7 +127,7 @@ |
||
127 | 127 | foreach ($finder->getIterator() as $file) { |
128 | 128 | $this->publish( |
129 | 129 | (string)$file, |
130 | - $destination . '/' . $file->getRelativePathname(), |
|
130 | + $destination.'/'.$file->getRelativePathname(), |
|
131 | 131 | $merge, |
132 | 132 | $mode |
133 | 133 | ); |
@@ -60,14 +60,14 @@ |
||
60 | 60 | */ |
61 | 61 | public function getSchema($database, string $table): AbstractTable |
62 | 62 | { |
63 | - if (!isset($this->schemas[$database . '.' . $table])) { |
|
63 | + if (!isset($this->schemas[$database.'.'.$table])) { |
|
64 | 64 | $schema = $this->getTable($database, $table)->getSchema(); |
65 | 65 | |
66 | 66 | //We have to declare existed to prevent dropping existed schema |
67 | - $this->schemas[$database . '.' . $table] = $schema; |
|
67 | + $this->schemas[$database.'.'.$table] = $schema; |
|
68 | 68 | } |
69 | 69 | |
70 | - return $this->schemas[$database . '.' . $table]; |
|
70 | + return $this->schemas[$database.'.'.$table]; |
|
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
@@ -187,7 +187,7 @@ |
||
187 | 187 | ]); |
188 | 188 | |
189 | 189 | return $this->files->normalizePath( |
190 | - $this->config->getDirectory() . FilesInterface::SEPARATOR . $filename |
|
190 | + $this->config->getDirectory().FilesInterface::SEPARATOR.$filename |
|
191 | 191 | ); |
192 | 192 | } |
193 | 193 | } |
194 | 194 | \ No newline at end of file |