mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-02 19:16:39 +00:00
Code cleanup and phpstan fixes. Still breaks but at least it's consistent.
This commit is contained in:
@@ -1,21 +1,3 @@
|
||||
includes:
|
||||
- ../vendor/symplify/phpstan-rules/config/code-complexity-rules.neon
|
||||
- ../vendor/symplify/phpstan-rules/config/collector-rules.neon
|
||||
- ../vendor/symplify/phpstan-rules/config/naming-rules.neon
|
||||
- ../vendor/symplify/phpstan-rules/config/regex-rules.neon
|
||||
- ../vendor/symplify/phpstan-rules/config/static-rules.neon
|
||||
- ../vendor/symplify/phpstan-rules/config/configurable-rules.neon
|
||||
|
||||
services:
|
||||
-
|
||||
class: Symplify\PHPStanRules\Rules\ForbiddenNodeRule
|
||||
tags: [phpstan.rules.rule]
|
||||
arguments:
|
||||
forbiddenNodes:
|
||||
- PhpParser\Node\Expr\Empty_
|
||||
- PhpParser\Node\Expr\ErrorSuppress
|
||||
|
||||
|
||||
parameters:
|
||||
universalObjectCratesClasses:
|
||||
- Illuminate\Database\Eloquent\Model
|
||||
|
Reference in New Issue
Block a user