Passed
Push — ci ( bdd4e4...a77dea )
by litefeel
02:56
created
lib/export.php 1 patch
Indentation   +18 added lines, -18 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
 	/**
30 30
 	 * Updates all of the current posts in the database on master.
31 31
 	 *
32
-     * @param  bool    $force_all
33
-     * @return string|WP_Error
34
-     */
32
+	 * @param  bool    $force_all
33
+	 * @return string|WP_Error
34
+	 */
35 35
 	public function full( $force_all = false ) {
36 36
 		$posts = $this->app->database()->fetch_all_supported($force_all);
37 37
 
@@ -39,24 +39,24 @@  discard block
 block discarded – undo
39 39
 			return $posts;
40 40
 		}
41 41
 
42
-        $error = false;
42
+		$error = false;
43 43
 
44
-        foreach ( $posts as $post ) {
45
-            $result = $this->update( $post->id() );
46
-            if ( is_wp_error( $result ) ) {
47
-                if ( $error ) {
48
-                    $error->add( $result->get_error_code(), $result->get_error_message() );
49
-                } else {
50
-                    $error = $result;
51
-                }
52
-            }
53
-        }
44
+		foreach ( $posts as $post ) {
45
+			$result = $this->update( $post->id() );
46
+			if ( is_wp_error( $result ) ) {
47
+				if ( $error ) {
48
+					$error->add( $result->get_error_code(), $result->get_error_message() );
49
+				} else {
50
+					$error = $result;
51
+				}
52
+			}
53
+		}
54 54
 
55
-        if ( is_wp_error( $error ) ) {
56
-            return $error;
57
-        }
55
+		if ( is_wp_error( $error ) ) {
56
+			return $error;
57
+		}
58 58
 
59
-        return __( 'Export to GitHub completed successfully.', 'writing-on-github' );
59
+		return __( 'Export to GitHub completed successfully.', 'writing-on-github' );
60 60
 	}
61 61
 
62 62
 
Please login to merge, or discard this patch.