Don't expose ECK entities without subtypes to afform #138
Annotations
11 errors
|
Run PHPStan:
CRM/Eck/Page/Entity/View.php#L88
Call to deprecated method getTree() of class CRM_Core_BAO_CustomGroup:
Function demonstrates just how bad code can get from 20 years of entropy.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L50
Method Civi\Api4\Service\Spec\Provider\EckEntitySpecProvider::arrayToField() has parameter $data with no value type specified in iterable type array.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L70
Parameter #1 $callback of method Civi\Api4\Service\Spec\FieldSpec::setOptionsCallback() expects callable(): mixed, array{'Civi\\Api4\\Service\\Spec\\Provider\\EckEntitySpecProvider', 'getOptions'} given.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
Run PHPStan:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L85
Construct empty() is not allowed. Use more strict comparison.
|
Loading