| @@ -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 | |
| @@ -55,7 +55,7 @@ discard block | ||
| 55 | 55 | */ | 
| 56 | 56 | public function fetchFrom($remoteFile, $localFile) | 
| 57 | 57 |      { | 
| 58 | -        $remoteData = file_get_contents('ssh2.sftp://' . intval($this->sftp) . $remoteFile); | |
| 58 | +        $remoteData = file_get_contents('ssh2.sftp://'.intval($this->sftp).$remoteFile); | |
| 59 | 59 |          if (!$remoteData) { | 
| 60 | 60 |              throw new \Exception('File can`t be loaded from the SFTP server.'); | 
| 61 | 61 | } | 
| @@ -68,7 +68,7 @@ discard block | ||
| 68 | 68 | public function sendTo($localFile, $remoteFile) | 
| 69 | 69 |      { | 
| 70 | 70 | $localData = file_get_contents($localFile); | 
| 71 | -        if (!file_put_contents("ssh2.sftp://" . intval($this->sftp) . $remoteFile, $localData)) { | |
| 71 | +        if (!file_put_contents("ssh2.sftp://".intval($this->sftp).$remoteFile, $localData)) { | |
| 72 | 72 |              throw new \Exception('File could not be uploaded to the SFTP server.'); | 
| 73 | 73 | } | 
| 74 | 74 | } | 
| @@ -78,7 +78,7 @@ discard block | ||
| 78 | 78 | */ | 
| 79 | 79 | public function getRemoteFilesList($dir) | 
| 80 | 80 |      { | 
| 81 | -        $handle = opendir("ssh2.sftp://" . intval($this->sftp) . $dir); | |
| 81 | +        $handle = opendir("ssh2.sftp://".intval($this->sftp).$dir); | |
| 82 | 82 | $files = array(); | 
| 83 | 83 | |
| 84 | 84 |          if (is_bool($handle)) { |