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.

NetworkButton::table_name()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
0 ignored issues
show
introduced by
Filenames should be all lowercase with hyphens as word separators. Expected network-button.php, but found network_button.php.
Loading history...
introduced by
Class file names should be based on the class name with "class-" prepended. Expected class-networkbutton.php, but found network_button.php.
Loading history...
Coding Style introduced by
This file is missing a doc comment.
Loading history...
2
namespace PodloveSubscribeButton\Model;
3
4
class NetworkButton extends Button {
0 ignored issues
show
Coding Style Documentation introduced by
Missing doc comment for class NetworkButton
Loading history...
5
6
	public static function table_name() {
0 ignored issues
show
Coding Style Documentation introduced by
Missing doc comment for function table_name()
Loading history...
Coding Style introduced by
Method name "NetworkButton::table_name" is not in camel caps format
Loading history...
7
		global $wpdb;
8
		
9
		// prefix with $wpdb prefix
0 ignored issues
show
Coding Style introduced by
Inline comments must end in full-stops, exclamation marks, or question marks
Loading history...
10
		return $wpdb->base_prefix . self::name();
11
	}
0 ignored issues
show
Coding Style introduced by
Expected 1 blank line before closing function brace; 0 found
Loading history...
12
13
}
14
15
NetworkButton::property( 'id', 'INT NOT NULL AUTO_INCREMENT PRIMARY KEY' );
16
NetworkButton::property( 'name', 'VARCHAR(255)' );
17
NetworkButton::property( 'title', 'VARCHAR(255)' );
18
NetworkButton::property( 'subtitle', 'VARCHAR(255)' );
19
NetworkButton::property( 'description', 'TEXT' );
20
NetworkButton::property( 'cover', 'VARCHAR(255)' );
21
NetworkButton::property( 'feeds', 'TEXT' );