Don't expose ECK entities without subtypes to afform #137
Annotations
55 errors and 2 warnings
PHPStan with PHP 8.3 prefer-lowest:
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.
|
PHPStan with PHP 8.3 prefer-lowest:
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.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
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.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L85
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-stable:
CRM/Eck/BAO/EckEntityType.php#L52
Method CRM_Eck_BAO_EckEntityType::getEntityTypes() should return array<string, array<string, string>> but returns array|false.
|
PHPStan with PHP 7.4 prefer-stable:
CRM/Eck/BAO/Entity.php#L25
Method CRM_Eck_BAO_Entity::getEntityType() should return string|null but returns string|false|null.
|
PHPStan with PHP 7.4 prefer-stable:
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.
|
PHPStan with PHP 7.4 prefer-stable:
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.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-stable:
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.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_8_3_prefer-lowest" failed.
|
PHPStan with PHP 8.0 prefer-lowest:
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.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
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.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L85
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L91
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-stable
The job was canceled because "_8_3_prefer-lowest" failed.
|
PHPStan with PHP 8.3 prefer-stable
The operation was canceled.
|
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_8_3_prefer-lowest" failed.
|
PHPStan with PHP 8.0 prefer-stable:
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.
|
PHPStan with PHP 8.0 prefer-stable:
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.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
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.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L85
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest
The job was canceled because "_8_3_prefer-lowest" failed.
|
PHPStan with PHP 7.4 prefer-lowest:
CRM/Eck/BAO/EckEntityType.php#L52
Method CRM_Eck_BAO_EckEntityType::getEntityTypes() should return array<string, array<string, string>> but returns array|false.
|
PHPStan with PHP 7.4 prefer-lowest:
CRM/Eck/BAO/Entity.php#L25
Method CRM_Eck_BAO_Entity::getEntityType() should return string|null but returns string|false|null.
|
PHPStan with PHP 7.4 prefer-lowest:
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.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L59
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L60
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L64
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L67
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest:
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.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L73
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L81
Construct empty() is not allowed. Use more strict comparison.
|
PHPStan with PHP 8.3 prefer-lowest
The following actions use a deprecated Node.js version 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/
|
PHPStan with PHP 7.4 prefer-stable
The following actions use a deprecated Node.js version 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/
|