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
Push — main ( 5797ad...3faf69 )
by Dan
29s queued 24s
created

ErrorDisplay   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
dl 0
loc 11
rs 10
c 1
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A build() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Smr\Pages\Account;
4
5
use Smr\Page\AccountPage;
6
use Smr\Template;
7
use SmrAccount;
8
9
class ErrorDisplay extends AccountPage {
10
11
	public string $file = 'error.php';
12
13
	public function __construct(
14
		public readonly string $message
15
	) {}
16
17
	public function build(SmrAccount $account, Template $template): void {
18
		$template->assign('PageTopic', 'Error');
19
		$template->assign('Message', $this->message);
20
	}
21
22
}
23