Skip to content

Commit

Permalink
Better BackedEnum ignore, delete empty file (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
janedbal committed Jan 30, 2023
1 parent 44f8a76 commit 3a3853f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
Empty file removed docker-compose.yml
Empty file.
10 changes: 0 additions & 10 deletions phpstan.ignores.php

This file was deleted.

7 changes: 6 additions & 1 deletion phpstan.neon.dist
Expand Up @@ -4,7 +4,6 @@ includes:
- ./vendor/phpstan/phpstan-strict-rules/rules.neon
- ./vendor/phpstan/phpstan-phpunit/extension.neon
- ./vendor/phpstan/phpstan-phpunit/rules.neon
- ./phpstan.ignores.php
- ./rules.neon

parameters:
Expand All @@ -18,3 +17,9 @@ parameters:
checkMissingCallableSignature: true
checkUninitializedProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true

ignoreErrors:
-
message: "#Class BackedEnum not found\\.#"
path: src/Rule/BackedEnumGenericsRule.php
reportUnmatched: false # fails only for PHP < 8 https://github.com/phpstan/phpstan/issues/6290

0 comments on commit 3a3853f

Please sign in to comment.