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 ( 41de00...33ed65 )
by Christian
11:07
created
inc/Model/Base.php 1 patch
Indentation   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -396,14 +396,14 @@  discard block
 block discarded – undo
396 396
 			$this->set_defaults();
397 397
 
398 398
 			$sql = 'INSERT INTO '
399
-			     . static::table_name()
400
-			     . ' ( '
401
-			     . implode( ',', static::property_names() )
402
-			     . ' ) '
403
-			     . 'VALUES'
404
-			     . ' ( '
405
-			     . implode( ',', array_map( array( $this, 'property_name_to_sql_value' ), static::property_names() ) )
406
-			     . ' );'
399
+				 . static::table_name()
400
+				 . ' ( '
401
+				 . implode( ',', static::property_names() )
402
+				 . ' ) '
403
+				 . 'VALUES'
404
+				 . ' ( '
405
+				 . implode( ',', array_map( array( $this, 'property_name_to_sql_value' ), static::property_names() ) )
406
+				 . ' );'
407 407
 			;
408 408
 			$success = $wpdb->query( $sql );
409 409
 			if ( $success ) {
@@ -411,9 +411,9 @@  discard block
 block discarded – undo
411 411
 			}
412 412
 		} else {
413 413
 			$sql = 'UPDATE ' . static::table_name()
414
-			     . ' SET '
415
-			     . implode( ',', array_map( array( $this, 'property_name_to_sql_update_statement' ), static::property_names() ) )
416
-			     . ' WHERE id = ' . $this->id
414
+				 . ' SET '
415
+				 . implode( ',', array_map( array( $this, 'property_name_to_sql_update_statement' ), static::property_names() ) )
416
+				 . ' WHERE id = ' . $this->id
417 417
 			;
418 418
 
419 419
 			$success = $wpdb->query( $sql );
@@ -461,13 +461,13 @@  discard block
 block discarded – undo
461 461
 		global $wpdb;
462 462
 
463 463
 		$sql = 'DELETE FROM '
464
-		     . static::table_name()
465
-		     . ' WHERE id = ' . $this->id;
464
+			 . static::table_name()
465
+			 . ' WHERE id = ' . $this->id;
466 466
 
467 467
 		$rows_affected = $wpdb->query( $sql );
468 468
 
469
-	    do_action( 'podlove_psb_model_delete', $this );
470
-	    do_action( 'podlove_psb_model_change', $this );
469
+		do_action( 'podlove_psb_model_delete', $this );
470
+		do_action( 'podlove_psb_model_change', $this );
471 471
 
472 472
 		return $rows_affected !== false;
473 473
 	}
@@ -506,10 +506,10 @@  discard block
 block discarded – undo
506 506
 			$property_sql[ ] = "`{$property[ 'name' ]}` {$property[ 'type' ]}";
507 507
 
508 508
 		$sql = 'CREATE TABLE IF NOT EXISTS '
509
-		     . static::table_name()
510
-		     . ' ('
511
-		     . implode( ',', $property_sql )
512
-		     . ' ) CHARACTER SET utf8;'
509
+			 . static::table_name()
510
+			 . ' ('
511
+			 . implode( ',', $property_sql )
512
+			 . ' ) CHARACTER SET utf8;'
513 513
 		;
514 514
 
515 515
 		$wpdb->query( $sql );
Please login to merge, or discard this patch.