Add compatibility rule to PHP Code Sniffer configuration #87
Annotations
11 errors
|
Run PHPStan:
CRM/Eck/BAO/EckEntityType.php#L33
Call to an undefined method object::fetchAll().
|
Run PHPStan:
CRM/Eck/BAO/EckEntityType.php#L37
Offset 'name' does not exist on array{entity_name: non-falsy-string}.
|
Run PHPStan:
CRM/Eck/BAO/EckEntityType.php#L112
Method CRM_Eck_BAO_EckEntityType::getCustomGroups() should return array<int, array<string, mixed>> but returns array.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L29
Property CRM_Eck_Form_EckSubtype::$_subType type has no value type specified in iterable type array.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L31
Property CRM_Eck_Form_EckSubtype::$_customGroups type has no value type specified in iterable type array.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L36
Method CRM_Eck_Form_EckSubtype::preProcess() has no return type specified.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L37
Parameter #1 $action of method CRM_Core_Form::setAction() expects int, mixed given.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L41
Only booleans are allowed in a negated boolean, mixed given.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L41
Property CRM_Eck_Form_EckSubtype::$_entityType (string|null) does not accept mixed.
|
Run PHPStan:
CRM/Eck/Form/EckSubtype.php#L42
Do not throw the \Exception base class. Instead, extend the \Exception base class. More info: http://bit.ly/subtypeexception
|
Loading