[#135] Update PHPUnit Tests to specify covers attribute and convert p… #121
Annotations
33 errors and 1 warning
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/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has invalid return type Civi\Api4\Action\GetLinks.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
PHPStan with PHP 7.4 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L65
Call to an undefined static method CRM_Core_DAO_AllCoreTables::getDAONameForEntity().
|
PHPStan with PHP 7.4 prefer-lowest
Process completed with exit code 1.
|
PHPStan with PHP 8.0 prefer-lowest
The job was canceled because "_7_4_prefer-lowest" failed.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has invalid return type Civi\Api4\Action\GetLinks.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
PHPStan with PHP 8.0 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L65
Call to an undefined static method CRM_Core_DAO_AllCoreTables::getDAONameForEntity().
|
PHPStan with PHP 8.0 prefer-lowest
Process completed with exit code 1.
|
PHPStan with PHP 8.0 prefer-stable
The job was canceled because "_7_4_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/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
PHPStan with PHP 8.0 prefer-stable:
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
PHPStan with PHP 8.0 prefer-stable
Process completed with exit code 1.
|
PHPStan with PHP 7.4 prefer-stable
The job was canceled because "_7_4_prefer-lowest" failed.
|
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/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
PHPStan with PHP 7.4 prefer-stable:
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
PHPStan with PHP 7.4 prefer-stable
Process completed with exit code 1.
|
PHPStan with PHP 8.2 prefer-lowest
The job was canceled because "_7_4_prefer-lowest" failed.
|
PHPStan with PHP 8.2 prefer-lowest:
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has invalid return type Civi\Api4\Action\GetLinks.
|
PHPStan with PHP 8.2 prefer-lowest:
Civi/Api4/EckEntity.php#L128
Method Civi\Api4\EckEntity::getLinks() has parameter $checkPermissions with no type specified.
|
PHPStan with PHP 8.2 prefer-lowest:
Civi/Api4/EckEntity.php#L136
Method Civi\Api4\EckEntity::getLinks() should return Civi\Api4\Action\GetLinks but returns Civi\Api4\Generic\BasicGetAction.
|
PHPStan with PHP 8.2 prefer-lowest:
Civi/Api4/Service/Spec/Provider/EckEntitySpecProvider.php#L65
Call to an undefined static method CRM_Core_DAO_AllCoreTables::getDAONameForEntity().
|
PHPStan with PHP 8.2 prefer-lowest
The operation was canceled.
|
PHPStan with PHP 8.2 prefer-stable
The job was canceled because "_7_4_prefer-lowest" failed.
|
PHPStan with PHP 8.2 prefer-stable
The operation was canceled.
|
PHPStan with PHP 7.4 prefer-lowest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|