Skip to content

Commit 57c0ff0

Browse files
authored
Merge pull request #23 from 21TORR/doctrine-types
2 parents 6241755 + ee25b83 commit 57c0ff0

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
=====
33

44
* (feature) Add custom PHPStan rule to detect wrong `Task` class names.
5+
* (improvement) Disable `doctrine.columnType` rule, as it leads to too many false positives in combination with Symfony forms and entities.
56

67

78
2.0.0

phpstan/lib.neon

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ parameters:
3333
-
3434
identifier: method.deprecated
3535
path: %currentWorkingDirectory%/tests/*
36+
# Using this will have a lot of false-positives, as entities are often used as form
37+
# entries and there the fields need to be nullable.
38+
- identifier: doctrine.columnType
3639

3740
rules:
3841
- Janus\Phpstan\Rule\TaskRule

0 commit comments

Comments
 (0)