GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Pull Request — master (#55)
by Christian
04:15
created
podlove.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -146,8 +146,8 @@  discard block
 block discarded – undo
146 146
 	}
147 147
 
148 148
 	/**
149
-     * Get value from the associative array of the plugin defaults option
150
-     *
149
+	 * Get value from the associative array of the plugin defaults option
150
+	 *
151 151
 	 * @param $key
152 152
 	 * @param bool $default
153 153
 	 *
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
 		if ( isset( $attribute_value ) && ctype_alnum( $attribute_value ) && key_exists( $attribute_value, \PodloveSubscribeButton\Model\Button::$$attribute ) ) {
234 234
 			return $attribute_value;
235 235
 		} else {
236
-		    $default = get_option( 'podlove_psb_defaults', \PodloveSubscribeButton\Defaults::options() );
236
+			$default = get_option( 'podlove_psb_defaults', \PodloveSubscribeButton\Defaults::options() );
237 237
 			return $default[ $attribute ];
238 238
 		}
239 239
 
Please login to merge, or discard this patch.
inc/Options.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -152,11 +152,11 @@
 block discarded – undo
152 152
 
153 153
 	public static function sanitize_settings( $input = null ) {
154 154
 
155
-	    $output = $input;
155
+		$output = $input;
156 156
 
157
-	    if ( ! array_key_exists('autowidth', $input ) ) {
158
-		    $output['autowidth'] = 'off';
159
-        }
157
+		if ( ! array_key_exists('autowidth', $input ) ) {
158
+			$output['autowidth'] = 'off';
159
+		}
160 160
 
161 161
 		return $output;
162 162
 	}
Please login to merge, or discard this patch.
inc/Settings/Buttons.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -40,13 +40,13 @@  discard block
 block discarded – undo
40 40
                 <div id="post-body" class="columns-2">
41 41
                     <div id="post-body-content">
42 42
 	                    <?php
43
-	                    switch ( $action ) {
44
-		                    case 'new':   self::new_template(); break;
45
-		                    case 'edit':  self::edit_template(); break;
46
-		                    case 'index': self::view_template(); break;
47
-		                    default:      self::view_template(); break;
48
-	                    }
49
-	                    ?>
43
+						switch ( $action ) {
44
+							case 'new':   self::new_template(); break;
45
+							case 'edit':  self::edit_template(); break;
46
+							case 'index': self::view_template(); break;
47
+							default:      self::view_template(); break;
48
+						}
49
+						?>
50 50
                     </div>
51 51
                     <div id="postbox-container-1" class="postbox-container">
52 52
                         <?php self::sidebar(); ?>
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
         </div>
93 93
         <?php
94 94
 
95
-    }
95
+	}
96 96
 
97 97
 	/**
98 98
 	 * Process form: save/update a format
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
 		$table->display();
203 203
 
204 204
 		if ( $is_network ) {
205
-		    // https://vedovini.net/2015/10/using-the-wordpress-settings-api-with-network-admin-pages/
205
+			// https://vedovini.net/2015/10/using-the-wordpress-settings-api-with-network-admin-pages/
206 206
 			?>
207 207
             <form method="post" action="edit.php?action=podlove_psb_update_network_options">
208 208
 				<?php
Please login to merge, or discard this patch.