Closed (fixed)
Project:
Drupal core
Version:
11.x-dev
Component:
other
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2019 at 09:50 UTC
Updated:
31 Jan 2026 at 11:59 UTC
Jump to comment: Most recent
PHP does not require variable type declaration. It is difficult to identify problems in situations where we do not declare a data type.
Examples:
This issue is used to track potential problems with data type casting.
Comments
Comment #2
krzysztof domańskiComment #3
krzysztof domański#3082287: \Drupal\user\Plugin\views\access\Role::access() does not conform to the base class documentation was commited.
Comment #4
krzysztof domański#3082289: \Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem::onDependencyRemoval() sets auto_create to an invalid data type was commited.
Comment #6
krzysztof domański#2742585: Deprecate dangerous assertTrue/False() compatibility overrides in PHPUnit Kernel, Functional and FunctionalJavascript tests was commited.
Comment #14
quietone commentedAn issue hasn't been added to this in several years and all the child issues are fixed here. I think this can be closed now. Plus, we are using phpstan to find and fix typing issue.
Thanks!