Completed
Push — 1.1 ( 14ef4e...23c533 )
by Sean
05:55
created
code/api/nouns/APINoun.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Base class for the APINouns
4
- */
3
+	 * Base class for the APINouns
4
+	 */
5 5
 class APINoun extends Controller {
6 6
 
7 7
 	/**
Please login to merge, or discard this patch.
code/tasks/FilesystemSyncTask.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Surface Filesystem::sync() as a dev task in case CMS has not been included.
4
- */
3
+	 * Surface Filesystem::sync() as a dev task in case CMS has not been included.
4
+	 */
5 5
 class CMSFilesystemSyncTask extends BuildTask {
6 6
 	public function run($request = null) {
7 7
 		Filesystem::sync();
Please login to merge, or discard this patch.
code/backends/SizeRestrictedPackageCache.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
 		$files = glob($dir . '/*.tar.gz');
92 92
 		if(sizeof($files) > $count) {
93 93
 			usort($files, function($a, $b) {
94
-			    return filemtime($a) > filemtime($b);
94
+				return filemtime($a) > filemtime($b);
95 95
 			});
96 96
 
97 97
 			for($i=0;$i<sizeof($files)-$count;$i++) {
Please login to merge, or discard this patch.
code/form/DataArchiveFileField.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Overwrite field to save into a {@link DataArchive}, using generateFilepath().
4
- * This mainly just works around the limitation
5
- * of FileField to set the folder path *before* uploading the file,
6
- * at which point we don't have a {@link DataTransfer} ID yet, so can't generate the path.
7
- */
3
+	 * Overwrite field to save into a {@link DataArchive}, using generateFilepath().
4
+	 * This mainly just works around the limitation
5
+	 * of FileField to set the folder path *before* uploading the file,
6
+	 * at which point we don't have a {@link DataTransfer} ID yet, so can't generate the path.
7
+	 */
8 8
 class DataArchiveFileField extends FileField {
9 9
 
10 10
 	public function saveInto(DataObjectInterface $record) {
Please login to merge, or discard this patch.
code/model/DNData.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,10 +158,10 @@
 block discarded – undo
158 158
 	/**
159 159
 	 * Grabs a list of projects from the env directory. The projects
160 160
 	 * in the builds directory alone will not be picked up.
161
- 	 * Returns an array of paths
161
+	 * Returns an array of paths
162 162
 	 *
163 163
 	 * @return array
164
- 	 */
164
+	 */
165 165
 	public function getProjectPaths() {
166 166
 		$paths = array();
167 167
 		if(!file_exists($this->getEnvironmentDir())) {
Please login to merge, or discard this patch.
code/model/jobs/DNPing.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This class will queue a ping job and also proxy to the log file of that output
4
- */
3
+	 * This class will queue a ping job and also proxy to the log file of that output
4
+	 */
5 5
 class DNPing extends DataObject {
6 6
 
7 7
 	/**
Please login to merge, or discard this patch.
code/api/DeploynautAPI.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Entry point for the deploynaut API
4
- *
5
- * /naut/api/projectname/
6
- * /naut/api/projectname/environmentname
7
- *
8
- * @todo It might be good to break this out to a controller chain so that
9
- * "/naut/api/projectname/environmentname" controller chain becomes
10
- * DeploynautAPI > APIProject > APIEnvironment
11
- *
12
- */
3
+	 * Entry point for the deploynaut API
4
+	 *
5
+	 * /naut/api/projectname/
6
+	 * /naut/api/projectname/environmentname
7
+	 *
8
+	 * @todo It might be good to break this out to a controller chain so that
9
+	 * "/naut/api/projectname/environmentname" controller chain becomes
10
+	 * DeploynautAPI > APIProject > APIEnvironment
11
+	 *
12
+	 */
13 13
 class DeploynautAPI extends APINoun {
14 14
 
15 15
 	/**
Please login to merge, or discard this patch.