Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Failed Conditions
Pull Request — master (#1078)
by Dan
05:25
created

SmrMinesTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 5
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A test_getMaxDamage() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace SmrTest\lib\DefaultGame;
4
5
use SmrMines;
6
7
/**
8
 * @covers SmrMines
9
 */
10
class SmrMinesTest extends \PHPUnit\Framework\TestCase {
11
12
	public function test_getMaxDamage() {
13
		$mines = new SmrMines(100); // doesn't matter how many
14
		$this->assertSame(20, $mines->getMaxDamage());
15
	}
16
17
}
18