Completed
Pull Request — master (#715)
by Andrew
06:13
created
code/backends/PackageGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -50,17 +50,17 @@
 block discarded – undo
50 50
 	 */
51 51
 	public function getPackageFilename($identifier, $sha, $repositoryDir, DeploynautLogFile $log) {
52 52
 		// Fetch through the cache
53
-		if($this->cache) {
53
+		if ($this->cache) {
54 54
 			if (!$this->cache->getBaseDir()) {
55 55
 				$this->cache->setBaseDir("/var/www/mysite/deploynaut-resources/build-cache");
56 56
 			}
57
-			$identifier .= '-' . get_class($this) . '-' . $this->getIdentifier();
57
+			$identifier .= '-'.get_class($this).'-'.$this->getIdentifier();
58 58
  			return $this->cache->getPackageFilename($this, $identifier, $sha, $repositoryDir, $log);
59 59
 
60 60
  		// Default, cacheless implementation
61 61
  		} else {
62
- 			$filename = TEMP_FOLDER . '/' . $sha . '.tar.gz';
63
- 			if($this->generatePackage($sha, $repositoryDir, $filename, $log)) {
62
+ 			$filename = TEMP_FOLDER.'/'.$sha.'.tar.gz';
63
+ 			if ($this->generatePackage($sha, $repositoryDir, $filename, $log)) {
64 64
  				return $filename;
65 65
  			}
66 66
  		}
Please login to merge, or discard this patch.