Passed
Push — master ( c0a3a7...3b84a4 )
by Jeroen
58:51
created

views/default/admin/server/elgg.php (2 issues)

1
<?php
2
3
// Get version information
4
$code_version = elgg_get_version();
5
$release = elgg_get_version(true);
6
7
$db_version = elgg_get_config('version', null);
8
9
?>
10
<table class="elgg-table-alt">
11
	<tr>
12
		<td><b><?php echo elgg_echo('admin:statistics:label:version:release'); ?></b></td>
13
		<td><?php echo $release; ?></td>
1 ignored issue
show
Are you sure $release of type false can be used in echo? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

13
		<td><?php echo /** @scrutinizer ignore-type */ $release; ?></td>
Loading history...
14
	</tr>
15
	<tr>
16
		<td><b><?php echo elgg_echo('admin:statistics:label:version:version'); ?></b></td>
17
		<td><?php echo $db_version; ?></td>
18
	</tr>
19
	<tr>
20
		<td><b><?php echo elgg_echo('admin:statistics:label:version:code'); ?></b></td>
21
		<td><?php echo $code_version; ?></td>
1 ignored issue
show
Are you sure $code_version of type false can be used in echo? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-type  annotation

21
		<td><?php echo /** @scrutinizer ignore-type */ $code_version; ?></td>
Loading history...
22
	</tr>
23
</table>