@@ -17,7 +17,7 @@ |
||
17 | 17 | $configuration = new Configuration(); |
18 | 18 | $config = $this->processConfiguration($configuration, $configs); |
19 | 19 | |
20 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
20 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
21 | 21 | $loader->load('services.xml'); |
22 | 22 | } |
23 | 23 | } |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | public function copy($remoteFile, $localFile) |
55 | 55 | { |
56 | 56 | $sftp = "ssh2.sftp://$this->sftp"; |
57 | - $data = file_get_contents($sftp . $remoteFile); |
|
57 | + $data = file_get_contents($sftp.$remoteFile); |
|
58 | 58 | if (!$data) { |
59 | 59 | throw new \Exception('File can`t be loaded from server'); |
60 | 60 | } |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | { |
71 | 71 | $sftp = "ssh2.sftp://$this->sftp"; |
72 | 72 | $data = file_get_contents($localFile); |
73 | - if (!file_put_contents($sftp . $remoteFile, $data)) { |
|
73 | + if (!file_put_contents($sftp.$remoteFile, $data)) { |
|
74 | 74 | throw new \Exception('File could not be uploaded to server'); |
75 | 75 | } |
76 | 76 | } |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | */ |
82 | 82 | public function getFilesList($dir) |
83 | 83 | { |
84 | - $handle = opendir("ssh2.sftp://$this->sftp" . $dir); |
|
84 | + $handle = opendir("ssh2.sftp://$this->sftp".$dir); |
|
85 | 85 | $files = array(); |
86 | 86 | |
87 | 87 | while (false != ($entry = readdir($handle))) { |