Skip to content

Commit 079d54e

Browse files
Bumped phpstan level up to 5
Can bump the level that high with (almost) no errors.
1 parent 1811a57 commit 079d54e

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

ScheduleReportSlack.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ class ScheduleReportSlack
3737
*/
3838
private $token;
3939

40-
/**
41-
* @var string
42-
*/
43-
4440
public function __construct(
4541
string $subject,
4642
string $fileName,

phpstan.neon

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
parameters:
2-
level: 0
2+
level: 5
33
phpVersion: 70200
44
tmpDir: /tmp/phpstan/Slack/main
55
paths:
@@ -16,4 +16,5 @@ parameters:
1616
# ../../ does not actually seem to give us anything
1717
# that ../plugins/ does not, but including it for
1818
# completeness. It does not seem to slow down performance.
19-
- ../../
19+
- ../../
20+

0 commit comments

Comments
 (0)