Passed
Push — master ( 460d9b...f6c339 )
by IRFA
01:52
created

example.php (1 issue)

1
<?php
2
require_once "Autoloader.php";
3
4
use  Irfa\Roulete as Roll;
5
6
7
include"view/home/head.php";
8
?>
9
<body>
10
	<div class="container">
11
		<div class="row">
12
			<div class="col-md-12" align="center">
13
				<div class="alert alert-primary">
14
					<?= "<h2>Selamat Kamu mendapatkan </h2><h2>".Roll::spin(['SSR ITEM' => 0.1,
0 ignored issues
show
Bug Best Practice introduced by
The method Irfa\Roulete::spin() is not static, but was called statically. ( Ignorable by Annotation )

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

14
					<?= "<h2>Selamat Kamu mendapatkan </h2><h2>".Roll::/** @scrutinizer ignore-call */ spin(['SSR ITEM' => 0.1,
Loading history...
15
					'SSR ITEM 2' => 0.2,
16
					'SSR ITEM 3' => 0.3,
17
					'SSR ITEM 4' => 0.4,
18
					'SR ITEM 1' => 0.5,
19
					'SR ITEM 2' => 0.6,
20
					'SR ITEM 3' => 1.2,
21
					'item 8' => 2,
22
					'item 9' => 2.8,
23
					'item 10' => 3.6,
24
					'item 11' => 4.4,
25
					'item 12' => 5.2,
26
					'item 13' => 6,
27
					'item 14' => 6.8,
28
					'item 15' => 7.6,
29
					'item 16' => 8.4,
30
					'item 17' => 9.2,
31
					'item 18' => 10,
32
					'item 19' => 10.8,
33
					'item 20' => 11.6,
34
					'item 21' => 8.3,
35
36
					])."</h2>" ?>
37
				</div>
38
			</div>
39
		</div>
40
	</div>
41
</body>
42
<?php
43
include"view/home/footer.php";