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 (#42)
by Christian
02:49
created

inc/Model/NetworkButton.php (2 issues)

Severity
1
<?php
0 ignored issues
show
Filenames should be all lowercase with hyphens as word separators. Expected networkbutton.php, but found NetworkButton.php.
Loading history...
Class file names should be based on the class name with "class-" prepended. Expected class-networkbutton.php, but found NetworkButton.php.
Loading history...
2
/**
3
 * @author    Podlove <[email protected]>
4
 * @copyright Copyright (c) 2014-2018, Podlove
5
 * @license   https://github.com/podlove/podlove-subscribe-button-wp-plugin/blob/master/LICENSE MIT
6
 * @package   Podlove\PodloveSubscribeButton
7
 */
8
9
namespace PodloveSubscribeButton\Model;
10
11
class NetworkButton extends Button {
12
13
	public static function table_name() {
14
		global $wpdb;
15
16
		// prefix with $wpdb prefix
17
		return $wpdb->base_prefix . self::name();
18
	}
19
20
}
21
22
NetworkButton::property( 'id', 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY' );
23
NetworkButton::property( 'name', 'VARCHAR(255)' );
24
NetworkButton::property( 'title', 'VARCHAR(255)' );
25
NetworkButton::property( 'subtitle', 'VARCHAR(255)' );
26
NetworkButton::property( 'description', 'TEXT' );
27
NetworkButton::property( 'cover', 'VARCHAR(255)' );
28
NetworkButton::property( 'feeds', 'TEXT' );
29