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 ( 20f741...122957 )
by Christian
02:43
created
widget.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 		parent::__construct(
22 22
 			'podlove_subscribe_button_wp_plugin_widget',
23 23
 			( \PodloveSubscribeButton\is_podlove_publisher_active() ? 'Podlove Subscribe Button (WordPress plugin)' : 'Podlove Subscribe Button' ),
24
-			array( 'description' => __( 'Adds a Podlove Subscribe Button to your Sidebar', 'podlove-subscribe-button' ), )
24
+			array( 'description' => __( 'Adds a Podlove Subscribe Button to your Sidebar', 'podlove-subscribe-button' ),)
25 25
 		);
26 26
 
27 27
 	}
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	public function widget( $args, $instance ) {
30 30
 		// Fetch the (network)button by it's name
31 31
 		if ( ! $button = \PodloveSubscribeButton\Model\Button::get_button_by_name( $instance[ 'button' ] ) ) {
32
-			return sprintf( __( 'Oops. There is no button with the ID "%s".', 'podlove-subscribe-button' ), $args['button'] );
32
+			return sprintf( __( 'Oops. There is no button with the ID "%s".', 'podlove-subscribe-button' ), $args[ 'button' ] );
33 33
 		}
34 34
 
35 35
 		echo $args[ 'before_widget' ];
@@ -52,14 +52,14 @@  discard block
 block discarded – undo
52 52
 	}
53 53
 
54 54
 	public function form( $instance ) {
55
-		$title     = isset( $instance[ 'title' ] )     ? $instance[ 'title' ]     : '';
56
-		$button    = isset( $instance[ 'button' ] )    ? $instance[ 'button' ]    : '';
57
-		$size      = isset( $instance[ 'size' ] )      ? $instance[ 'size' ]      : 'big';
58
-		$style     = isset( $instance[ 'style' ] )     ? $instance[ 'style' ]     : 'filled';
59
-		$format    = isset( $instance[ 'format' ] )    ? $instance[ 'format' ]    : 'cover';
55
+		$title     = isset( $instance[ 'title' ] ) ? $instance[ 'title' ] : '';
56
+		$button    = isset( $instance[ 'button' ] ) ? $instance[ 'button' ] : '';
57
+		$size      = isset( $instance[ 'size' ] ) ? $instance[ 'size' ] : 'big';
58
+		$style     = isset( $instance[ 'style' ] ) ? $instance[ 'style' ] : 'filled';
59
+		$format    = isset( $instance[ 'format' ] ) ? $instance[ 'format' ] : 'cover';
60 60
 		$autowidth = isset( $instance[ 'autowidth' ] ) ? $instance[ 'autowidth' ] : true;
61
-		$infotext  = isset( $instance[ 'infotext' ] )  ? $instance[ 'infotext' ]  : '';
62
-		$color     = isset( $instance[ 'color' ] )     ? $instance[ 'color' ]     : '#75ad91';
61
+		$infotext  = isset( $instance[ 'infotext' ] ) ? $instance[ 'infotext' ] : '';
62
+		$color     = isset( $instance[ 'color' ] ) ? $instance[ 'color' ] : '#75ad91';
63 63
 
64 64
 		$buttons = \PodloveSubscribeButton\Model\Button::all();
65 65
 		if ( is_multisite() ) {
Please login to merge, or discard this patch.