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.
Completed
Push — master ( fc808e...eee123 )
by Christian
10s
created

podlove_psb_php_notice()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 10
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 9
rs 9.9332
1
<?php
0 ignored issues
show
Coding Style introduced by
This file is missing a doc comment.
Loading history...
2
/**
0 ignored issues
show
Coding Style introduced by
Missing short description in doc comment
Loading history...
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
 */
0 ignored issues
show
Coding Style introduced by
There must be no blank lines after the function comment
Loading history...
8
9
function podlove_psb_php_notice() {
10
	?>
11
	<div id="message" class="error">
12
		<p>
13
			<strong>The Podlove Subscribe Button Plugin could not be activated</strong>
14
		</p>
15
		<p>
16
			The Podlove Subscribe Button Plugin requires <code>PHP 5.3</code> or higher.<br>
17
			You are running <code>PHP <?php echo phpversion(); ?></code>.<br>
0 ignored issues
show
introduced by
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'phpversion'.
Loading history...
18
			Please ask your hoster how to upgrade to an up-to-date PHP version.
19
		</p>
20
	</div>
21
	<?php
22
}
0 ignored issues
show
Coding Style introduced by
Expected 1 blank line before closing function brace; 0 found
Loading history...
23