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
Push — master ( 0392a4...4f7518 )
by Christian
02:13
created
podlove.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,8 +188,9 @@
 block discarded – undo
188 188
 		}
189 189
 
190 190
 		// Fetch the (network)button by it's name
191
-		if ( ! $button = \PodloveSubscribeButton\Model\Button::get_button_by_name( $args[ 'button' ] ) )
192
-			return sprintf( __( 'Oops. There is no button with the ID "%s".', 'podlove-subscribe-button' ), $args[ 'button' ] );
191
+		if ( ! $button = \PodloveSubscribeButton\Model\Button::get_button_by_name( $args[ 'button' ] ) ) {
192
+					return sprintf( __( 'Oops. There is no button with the ID "%s".', 'podlove-subscribe-button' ), $args[ 'button' ] );
193
+		}
193 194
 
194 195
 		// Get button styling and options
195 196
 		$autowidth = self::interpret_width_attribute( self::get_array_value_with_fallback( $args, 'width' ) );
Please login to merge, or discard this patch.
widget.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,8 +98,10 @@
 block discarded – undo
98 98
 					<optgroup label="<?php _e( 'Network', 'podlove-subscribe-button' ); ?>">
99 99
 						<?php $buttons_as_options( $network_buttons ); ?>
100 100
 					</optgroup>
101
-				<?php else :
101
+				<?php else {
102
+	:
102 103
 					$buttons_as_options( $buttons );
104
+}
103 105
 				 endif; ?>
104 106
 			</select>
105 107
 			<?php
Please login to merge, or discard this patch.
settings/buttons_list_table.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,8 +35,9 @@
 block discarded – undo
35 35
 	}
36 36
 
37 37
 	public function column_button_preview( $button ) {
38
-		if ( ! $button->feeds )
39
-			return;
38
+		if ( ! $button->feeds ) {
39
+					return;
40
+		}
40 41
 
41 42
 		$is_network = is_network_admin();
42 43
 
Please login to merge, or discard this patch.
model/button.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -182,11 +182,13 @@
 block discarded – undo
182 182
 	 * @return string
183 183
 	 */
184 184
 	private static function interpret_autowidth_attribute( $autowidth ) {
185
-		if ( $autowidth == 'default' && get_option( 'podlove_subscribe_button_default_autowidth' ) !== 'on' )
186
-			return '';
185
+		if ( $autowidth == 'default' && get_option( 'podlove_subscribe_button_default_autowidth' ) !== 'on' ) {
186
+					return '';
187
+		}
187 188
 
188
-		if ( $autowidth !== 'default' && $autowidth !== 'on' )
189
-			return '';
189
+		if ( $autowidth !== 'default' && $autowidth !== 'on' ) {
190
+					return '';
191
+		}
190 192
 
191 193
 		return ' auto';
192 194
 	}
Please login to merge, or discard this patch.