phpstan support (#250)

* phpstan v1 + workflow

* Fix intend

* More fixes

* Update phpstan.neon

* phpstan level 2

* Move errors ignoring into phpstan.neon

* phpstan level 3

* Don't ignore templates folder

* Something from level 4

* Update phpstan.neon
This commit is contained in:
Slawomir Boczek
2024-02-18 14:59:25 +01:00
committed by GitHub
parent e23a749e4c
commit fe7ad61abe
21 changed files with 157 additions and 22 deletions

View File

@@ -39,13 +39,13 @@ else {
if($i == 1) {
if($count <= 4)
$killers_string .= 'killed';
else if($count > 4 and $count < 10)
else if($count < 10)
$killers_string .= 'slain';
else if($count > 9 and $count < 15)
else if($count < 15)
$killers_string .= 'crushed';
else if($count > 14 and $count < 20)
else if($count < 20)
$killers_string .= 'eliminated';
else if($count > 19)
else
$killers_string .= 'annihilated';
$killers_string .= ' at level <b>' . $death['level'] . '</b> ';
} else if($i == $count)