Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
=====

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


2.0.0
Expand Down
3 changes: 3 additions & 0 deletions phpstan/lib.neon
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ parameters:
-
identifier: method.deprecated
path: %currentWorkingDirectory%/tests/*
# Using this will have a lot of false-positives, as entities are often used as form
# entries and there the fields need to be nullable.
- identifier: doctrine.columnType

rules:
- Janus\Phpstan\Rule\TaskRule