Skip to content

Add templating

Add templating #10

Triggered via pull request October 6, 2023 12:52
Status Failure
Total duration 32s
Artifacts

code-quality.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
phpcs: include/Template.php#L23
Visibility must be declared on method "__construct"
phpcs: include/Template.php#L31
Whitespace found at end of line
phpcs: include/Template.php#L51
Whitespace found at end of line
phpcs: include/Template.php#L65
Expected 1 newline at end of file; 0 found
phpcs
Process completed with exit code 1.
PHPStan: include/CacheViewer.php#L172
Parameter #2 $variables of class App\Template constructor expects array<string, string>, array<string, int<0, max>|string> given.
PHPStan: include/Template.php#L55
PHPDoc tag @throws with type App\ConfigException is not subtype of Throwable
PHPStan: include/Template.php#L55
PHPDoc tag @var above a method has no effect.
PHPStan
Process completed with exit code 1.
phpcs: include/Helper/Url.php#L152
Line exceeds 120 characters; contains 199 characters