@@ -14,7 +14,7 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | public function load(array $configs, ContainerBuilder $container) |
| 16 | 16 | { |
| 17 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 17 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 18 | 18 | $loader->load('services.xml'); |
| 19 | 19 | } |
| 20 | 20 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -if (!file_exists($autoloadFile = __DIR__ . '/../vendor/autoload.php')) { |
|
| 3 | +if (!file_exists($autoloadFile = __DIR__.'/../vendor/autoload.php')) { |
|
| 4 | 4 | throw new \LogicException("Make sure that you install all dependencies."); |
| 5 | 5 | } |
| 6 | 6 | |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | public function fetchFrom($remoteFile, $localFile) |
| 51 | 51 | { |
| 52 | 52 | $sftp = "ssh2.sftp://$this->sftp"; |
| 53 | - $data = file_get_contents($sftp . $remoteFile); |
|
| 53 | + $data = file_get_contents($sftp.$remoteFile); |
|
| 54 | 54 | if (!$data) { |
| 55 | 55 | throw new \Exception('File can`t be loaded from server'); |
| 56 | 56 | } |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | { |
| 65 | 65 | $sftp = "ssh2.sftp://$this->sftp"; |
| 66 | 66 | $data = file_get_contents($localFile); |
| 67 | - if (!file_put_contents($sftp . $remoteFile, $data)) { |
|
| 67 | + if (!file_put_contents($sftp.$remoteFile, $data)) { |
|
| 68 | 68 | throw new \Exception('File could not be uploaded to server'); |
| 69 | 69 | } |
| 70 | 70 | } |
@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | */ |
| 75 | 75 | public function getRemoteFilesList($dir) |
| 76 | 76 | { |
| 77 | - $handle = opendir("ssh2.sftp://$this->sftp" . $dir); |
|
| 77 | + $handle = opendir("ssh2.sftp://$this->sftp".$dir); |
|
| 78 | 78 | $files = array(); |
| 79 | 79 | |
| 80 | 80 | while (false !== ($entry = readdir($handle))) { |