Disable PHP Code Sniffer for copied Core code #128
Annotations
10 errors and 1 warning
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.
|
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
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.
|
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
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.
|
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading