SHARE
TWEET

Untitled

a guest May 22nd, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ERROR: UndefinedClass - api/CRM/Api4/Page/AJAX.php:3:34 - Class or interface CRM_Core_Page does not exist
  2. class CRM_Api4_Page_AJAX extends CRM_Core_Page {
  3.  
  4.  
  5. ERROR: UndefinedClass - api/CRM/Api4/Page/Api4Explorer.php:3:42 - Class or interface CRM_Core_Page does not exist
  6. class CRM_Api4_Page_Api4Explorer extends CRM_Core_Page {
  7.  
  8.  
  9. INFO: PropertyNotSetInConstructor - api/CRM/Api4/Upgrader.php:6:7 - Property CRM_Api4_Upgrader_Base::$ctx is not defined in constructor of CRM_Api4_Upgrader or in any methods called in the constructor
  10. class CRM_Api4_Upgrader extends CRM_Api4_Upgrader_Base {
  11.  
  12.  
  13. INFO: MissingReturnType - api/CRM/Api4/Upgrader.php:14:19 - Method CRM_Api4_Upgrader::install does not have a return type, expecting void
  14.   public function install() {
  15.  
  16.  
  17. ERROR: UndefinedFunction - api/CRM/Api4/Upgrader.php:17:17 - Function civicrm_api3 does not exist
  18.       $v3Item = civicrm_api3('Navigation', 'get', [
  19.         'name' => 'API Explorer',
  20.         'return' => ['id', 'parent_id'],
  21.         'sequential' => 1,
  22.         'api.Navigation.create' => ['label' => ts("Api Explorer v3")],
  23.       ]);
  24.  
  25.  
  26. INFO: MissingReturnType - api/CRM/Api4/Upgrader.php:59:19 - Method CRM_Api4_Upgrader::uninstall does not have a return type, expecting void
  27.   public function uninstall() {
  28.  
  29.  
  30. ERROR: UndefinedFunction - api/CRM/Api4/Upgrader.php:61:5 - Function civicrm_api3 does not exist
  31.     civicrm_api3('Navigation', 'get', [
  32.       'name' => 'Api Explorer v4',
  33.       'return' => ['id'],
  34.       'api.Navigation.delete' => [],
  35.     ]);
  36.  
  37.  
  38. ERROR: UndefinedDocblockClass - api/CRM/Api4/Upgrader.php:89:5 - Cannot set properties of undefined docblock class CRM_Queue_TaskContext
  39.     $this->ctx->log->info('Applying update 1000');
  40.  
  41.  
  42. ERROR: UndefinedClass - api/CRM/Api4/Upgrader.php:90:15 - Class or interface CRM_Core_Config does not exist
  43.     $domain = CRM_Core_Config::domainID();
  44.  
  45.  
  46. INFO: InvalidDocblock - api/CRM/Api4/Upgrader/Base.php:13:3 - varies, is not a valid type
  47.   /**
  48.    * @var varies, subclass of ttis
  49.    */
  50.   static $instance;
  51.  
  52.  
  53. ERROR: UndefinedDocblockClass - api/CRM/Api4/Upgrader/Base.php:16:11 - Docblock-defined class or interface CRM_Queue_TaskContext does not exist
  54.   /**
  55.    * @var CRM_Queue_TaskContext
  56.    */
  57.   protected $ctx;
  58.  
  59.  
  60. INFO: PropertyNotSetInConstructor - api/CRM/Api4/Upgrader/Base.php:18:13 - Property CRM_Api4_Upgrader_Base::$ctx is not defined in constructor of CRM_Api4_Upgrader_Base or in any methods called in the constructor
  61.   protected $ctx;
  62.  
  63.  
  64. INFO: InvalidDocblock - api/CRM/Api4/Upgrader/Base.php:23:3 - string, is not a valid type
  65.   /**
  66.    * @var string, eg 'com.example.myextension'
  67.    */
  68.   protected $extensionName;
  69.  
  70.  
  71. INFO: InvalidDocblock - api/CRM/Api4/Upgrader/Base.php:28:3 - string, is not a valid type
  72.   /**
  73.    * @var string, full path to the extension's source tree
  74.   */
  75.  protected $extensionDir;
  76.  
  77.  
  78. INFO: InvalidDocblock - api/CRM/Api4/Upgrader/Base.php:33:3 - array(revisionNumber) is not a valid type
  79.  /**
  80.   * @var array(revisionNumber) sorted numerically
  81.   */
  82.  private $revisions;
  83.  
  84.  
  85. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:44:26 - Method CRM_Api4_Upgrader_Base::instance does not have a return type
  86.  static public function instance() {
  87.  
  88.  
  89. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:65:26 - Method CRM_Api4_Upgrader_Base::_queueAdapter does not have a return type
  90.  static public function _queueAdapter() {
  91.  
  92.  
  93. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:74:31 - Parameter $extensionName has no provided type
  94.  public function __construct($extensionName, $extensionDir) {
  95.  
  96.  
  97. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:74:47 - Parameter $extensionDir has no provided type
  98.  public function __construct($extensionName, $extensionDir) {
  99.  
  100.  
  101. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:100:19 - Class or interface CRM_Utils_Migrate_Import does not exist
  102.    $import = new CRM_Utils_Migrate_Import();
  103.  
  104.  
  105. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:113:5 - Class or interface CRM_Utils_File does not exist
  106.    CRM_Utils_File::sourceSQLFile(
  107.  
  108.  
  109. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:128:20 - Class or interface CRM_Upgrade_Form does not exist
  110.    $upgrade = new CRM_Upgrade_Form();
  111.  
  112.  
  113. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:146:19 - Method CRM_Api4_Upgrader_Base::executeSql does not have a return type
  114.  public function executeSql($query, $params = []) {
  115.  
  116.  
  117. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:146:30 - Parameter $query has no provided type
  118.  public function executeSql($query, $params = []) {
  119.  
  120.  
  121. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:146:38 - Parameter $params has no provided type
  122.  public function executeSql($query, $params = []) {
  123.  
  124.  
  125. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:148:5 - Class or interface CRM_Core_DAO does not exist
  126.    CRM_Core_DAO::executeQuery($query, $params);
  127.  
  128.  
  129. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:161:19 - Method CRM_Api4_Upgrader_Base::addTask does not have a return type
  130.  public function addTask($title) {
  131.  
  132.  
  133. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:161:27 - Parameter $title has no provided type
  134.  public function addTask($title) {
  135.  
  136.  
  137. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:164:17 - Class or interface CRM_Queue_Task does not exist
  138.    $task = new CRM_Queue_Task(
  139.  
  140.  
  141. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:196:19 - Method CRM_Api4_Upgrader_Base::enqueuePendingRevisions does not have a return type, expecting void
  142.  public function enqueuePendingRevisions(CRM_Queue_Queue $queue) {
  143.  
  144.  
  145. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:196:43 - Class or interface CRM_Queue_Queue does not exist
  146.  public function enqueuePendingRevisions(CRM_Queue_Queue $queue) {
  147.  
  148.  
  149. INFO: InvalidDocblock - api/CRM/Api4/Upgrader/Base.php:231:3 - Bracket must be preceded by “Closure”, “callable” or a valid @method name in docblock for CRM_Api4_Upgrader_Base::getRevisions
  150.  /**
  151.   * Get a list of revisions.
  152.   *
  153.   * @return array(revisionNumbers) sorted numerically
  154.   */
  155.  public function getRevisions() {
  156.  
  157.  
  158. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:231:19 - Method CRM_Api4_Upgrader_Base::getRevisions does not have a return type, expecting array<array-key, mixed|string>
  159.  public function getRevisions() {
  160.  
  161.  
  162. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:248:19 - Method CRM_Api4_Upgrader_Base::getCurrentRevision does not have a return type
  163.  public function getCurrentRevision() {
  164.  
  165.  
  166. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:249:17 - Class or interface CRM_Core_BAO_Extension does not exist
  167.    $revision = CRM_Core_BAO_Extension::getSchemaVersion($this->extensionName);
  168.  
  169.  
  170. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:256:20 - Method CRM_Api4_Upgrader_Base::getCurrentRevisionDeprecated does not have a return type
  171.  private function getCurrentRevisionDeprecated() {
  172.  
  173.  
  174. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:258:21 - Class or interface CRM_Core_BAO_Setting does not exist
  175.    if ($revision = CRM_Core_BAO_Setting::getItem('Extension', $key)) {
  176.  
  177.  
  178. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:264:19 - Method CRM_Api4_Upgrader_Base::setCurrentRevision does not have a return type
  179.  public function setCurrentRevision($revision) {
  180.  
  181.  
  182. INFO: MissingParamType - api/CRM/Api4/Upgrader/Base.php:264:38 - Parameter $revision has no provided type
  183.  public function setCurrentRevision($revision) {
  184.  
  185.  
  186. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:265:5 - Class or interface CRM_Core_BAO_Extension does not exist
  187.    CRM_Core_BAO_Extension::setSchemaVersion($this->extensionName, $revision);
  188.  
  189.  
  190. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:271:20 - Method CRM_Api4_Upgrader_Base::deleteDeprecatedRevision does not have a return type, expecting void
  191.  private function deleteDeprecatedRevision() {
  192.  
  193.  
  194. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:273:22 - Class or interface CRM_Core_BAO_Setting does not exist
  195.      $setting = new CRM_Core_BAO_Setting();
  196.  
  197.  
  198. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:285:19 - Method CRM_Api4_Upgrader_Base::onInstall does not have a return type, expecting void
  199.  public function onInstall() {
  200.  
  201.  
  202. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:289:9 - Class or interface CRM_Utils_File does not exist
  203.        CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, $file);
  204.  
  205.  
  206. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:312:19 - Method CRM_Api4_Upgrader_Base::onPostInstall does not have a return type, expecting void
  207.  public function onPostInstall() {
  208.  
  209.  
  210. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:325:19 - Method CRM_Api4_Upgrader_Base::onUninstall does not have a return type, expecting void
  211.  public function onUninstall() {
  212.  
  213.  
  214. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:338:9 - Class or interface CRM_Utils_File does not exist
  215.        CRM_Utils_File::sourceSQLFile(CIVICRM_DSN, $file);
  216.  
  217.  
  218. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:346:19 - Method CRM_Api4_Upgrader_Base::onEnable does not have a return type, expecting void
  219.  public function onEnable() {
  220.  
  221.  
  222. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:356:19 - Method CRM_Api4_Upgrader_Base::onDisable does not have a return type, expecting void
  223.  public function onDisable() {
  224.  
  225.  
  226. INFO: MissingReturnType - api/CRM/Api4/Upgrader/Base.php:363:19 - Method CRM_Api4_Upgrader_Base::onUpgrade does not have a return type
  227.  public function onUpgrade($op, CRM_Queue_Queue $queue = NULL) {
  228.  
  229.  
  230. ERROR: UndefinedClass - api/CRM/Api4/Upgrader/Base.php:363:34 - Class or interface CRM_Queue_Queue does not exist
  231.  public function onUpgrade($op, CRM_Queue_Queue $queue = NULL) {
  232.  
  233.  
  234. INFO: MissingReturnType - api/Civi/Api4/Action/Address/Create.php:36:19 - Method Civi\Api4\Action\Address\Create::_run does not have a return type, expecting void
  235.  public function _run(Result $result) {
  236.  
  237.  
  238. INFO: MissingReturnType - api/Civi/Api4/Action/Address/Update.php:36:19 - Method Civi\Api4\Action\Address\Update::_run does not have a return type, expecting void
  239.  public function _run(Result $result) {
  240.  
  241.  
  242. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Campaign/Get.php:9:7 - Property Civi\Api4\Generic\Traits\IsCurrentTrait::$current is not defined in constructor of Civi\Api4\Action\Campaign\Get or in any methods called in the constructor
  243. class Get extends \Civi\Api4\Generic\DAOGetAction {
  244.  
  245.  
  246. INFO: MissingReturnType - api/Civi/Api4/Action/Contact/Create.php:10:22 - Method Civi\Api4\Action\Contact\Create::fillDefaults does not have a return type, expecting void
  247.  protected function fillDefaults(&$params) {
  248.  
  249.  
  250. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Contact/GetChecksum.php:22:13 - Property Civi\Api4\Action\Contact\GetChecksum::$contactId is not defined in constructor of Civi\Api4\Action\Contact\GetChecksum or in any methods called in the constructor
  251.  protected $contactId;
  252.  
  253.  
  254. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Action/Contact/GetChecksum.php:31:20 - $this->ttl with non-nullable declared type 'int' cannot be assigned nullable type 'null'
  255.  protected $ttl = NULL;
  256.  
  257.  
  258. INFO: MissingReturnType - api/Civi/Api4/Action/Contact/GetChecksum.php:36:19 - Method Civi\Api4\Action\Contact\GetChecksum::_run does not have a return type, expecting void
  259.  public function _run(Result $result) {
  260.  
  261.  
  262. INFO: DocblockTypeContradiction - api/Civi/Api4/Action/Contact/GetChecksum.php:37:33 - string(0) does not contain int
  263.    $ttl = ($this->ttl === 0 || $this->ttl === '0') ? 'inf' : $this->ttl;
  264.  
  265.  
  266. ERROR: UndefinedClass - api/Civi/Api4/Action/Contact/GetChecksum.php:40:21 - Class or interface CRM_Contact_BAO_Contact_Utils does not exist
  267.      'checksum' => \CRM_Contact_BAO_Contact_Utils::generateChecksum($this->contactId, NULL, $ttl),
  268.  
  269.  
  270. ERROR: UndefinedClass - api/Civi/Api4/Action/Contact/GetFields.php:12:37 - Class or interface CRM_Core_Permission does not exist
  271.    if ($this->checkPermissions && !\CRM_Core_Permission::check([$apiKeyPerms])) {
  272.  
  273.  
  274. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Contact/ValidateChecksum.php:22:13 - Property Civi\Api4\Action\Contact\ValidateChecksum::$contactId is not defined in constructor of Civi\Api4\Action\Contact\ValidateChecksum or in any methods called in the constructor
  275.  protected $contactId;
  276.  
  277.  
  278. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Contact/ValidateChecksum.php:30:13 - Property Civi\Api4\Action\Contact\ValidateChecksum::$checksum is not defined in constructor of Civi\Api4\Action\Contact\ValidateChecksum or in any methods called in the constructor
  279.  protected $checksum;
  280.  
  281.  
  282. INFO: MissingReturnType - api/Civi/Api4/Action/Contact/ValidateChecksum.php:35:19 - Method Civi\Api4\Action\Contact\ValidateChecksum::_run does not have a return type, expecting void
  283.  public function _run(Result $result) {
  284.  
  285.  
  286. ERROR: UndefinedClass - api/Civi/Api4/Action/Contact/ValidateChecksum.php:37:18 - Class or interface CRM_Contact_BAO_Contact_Utils does not exist
  287.      'valid' => \CRM_Contact_BAO_Contact_Utils::validChecksum($this->contactId, $this->checksum),
  288.  
  289.  
  290. INFO: MissingReturnType - api/Civi/Api4/Action/Contribution/Create.php:12:19 - Method Civi\Api4\Action\Contribution\Create::_run does not have a return type, expecting void
  291.  public function _run(Result $result) {
  292.  
  293.  
  294. ERROR: UndefinedClass - api/Civi/Api4/Action/CustomValue/GetFields.php:17:17 - Class or interface Civi does not exist
  295.    $gatherer = \Civi::container()->get('spec_gatherer');
  296.  
  297.  
  298. ERROR: UndefinedClass - api/Civi/Api4/Action/Entity/Get.php:28:14 - Class or interface CRM_Extension_System does not exist
  299.    foreach (\CRM_Extension_System::singleton()->getMapper()->getActiveModuleFiles() as $ext) {
  300.  
  301.  
  302. INFO: MissingReturnType - api/Civi/Api4/Action/Entity/Get.php:58:20 - Method Civi\Api4\Action\Entity\Get::addCustomEntities does not have a return type, expecting void
  303.  private function addCustomEntities(&$entities) {
  304.  
  305.  
  306. INFO: MissingParamType - api/Civi/Api4/Action/Entity/Get.php:58:39 - Parameter $entities has no provided type
  307.  private function addCustomEntities(&$entities) {
  308.  
  309.  
  310. INFO: MissingParamType - api/Civi/Api4/Action/Entity/Get.php:87:33 - Parameter $input has no provided type
  311.  private function plainTextify($input) {
  312.  
  313.  
  314. INFO: MissingReturnType - api/Civi/Api4/Action/Entity/Get.php:96:20 - Method Civi\Api4\Action\Entity\Get::addDocs does not have a return type, expecting void
  315.  private function addDocs(&$entity) {
  316.  
  317.  
  318. INFO: MissingParamType - api/Civi/Api4/Action/Entity/Get.php:96:29 - Parameter $entity has no provided type
  319.  private function addDocs(&$entity) {
  320.  
  321.  
  322. ERROR: ArgumentTypeCoercion - api/Civi/Api4/Action/Entity/Get.php:97:40 - Argument 1 of ReflectionClass::__construct expects class-string<T>|object, parent type string provided
  323.    $reflection = new \ReflectionClass("\\Civi\\Api4\\" . $entity['name']);
  324.  
  325.  
  326. ERROR: UndefinedClass - api/Civi/Api4/Action/Entity/GetLinks.php:15:15 - Class or interface Civi does not exist
  327.    $schema = \Civi::container()->get('schema_map');
  328.  
  329.  
  330. INFO: MissingReturnType - api/Civi/Api4/Action/Entity/GetLinks.php:36:19 - Method Civi\Api4\Action\Entity\GetLinks::fields does not have a return type, expecting array{0:array{name:string}, 1:array{name:string}, 2:array{name:string, data_type:string}}
  331.  public function fields() {
  332.  
  333.  
  334. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Event/Get.php:9:7 - Property Civi\Api4\Generic\Traits\IsCurrentTrait::$current is not defined in constructor of Civi\Api4\Action\Event\Get or in any methods called in the constructor
  335. class Get extends \Civi\Api4\Generic\DAOGetAction {
  336.  
  337.  
  338. INFO: MissingPropertyType - api/Civi/Api4/Action/GetActions.php:15:11 - Property Civi\Api4\Action\GetActions::$_actions does not have a declared type - consider array
  339.  private $_actions = [];
  340.  
  341.  
  342. INFO: MissingPropertyType - api/Civi/Api4/Action/GetActions.php:17:11 - Property Civi\Api4\Action\GetActions::$_actionsToGet does not have a declared type - consider array<array-key, mixed>|null
  343.  private $_actionsToGet;
  344.  
  345.  
  346. ERROR: ArgumentTypeCoercion - api/Civi/Api4/Action/GetActions.php:22:46 - Argument 1 of ReflectionClass::__construct expects class-string<T>|object, parent type string provided
  347.    $entityReflection = new \ReflectionClass('\Civi\Api4\\' . $this->_entityName);
  348.  
  349.  
  350. ERROR: UndefinedClass - api/Civi/Api4/Action/GetActions.php:31:16 - Class or interface CRM_Extension_System does not exist
  351.       foreach (\CRM_Extension_System::singleton()->getMapper()->getActiveModuleFiles() as $ext) {
  352.  
  353.  
  354. INFO: MissingReturnType - api/Civi/Api4/Action/GetActions.php:43:20 - Method Civi\Api4\Action\GetActions::scanDir does not have a return type, expecting void
  355.   private function scanDir($dir) {
  356.  
  357.  
  358. INFO: MissingParamType - api/Civi/Api4/Action/GetActions.php:43:28 - Parameter $dir has no provided type
  359.   private function scanDir($dir) {
  360.  
  361.  
  362. ERROR: ArgumentTypeCoercion - api/Civi/Api4/Action/GetActions.php:49:45 - Argument 1 of ReflectionClass::__construct expects class-string<T>|object, parent type string provided
  363.         $actionClass = new \ReflectionClass('\\Civi\\Api4\\Action\\' . $this->_entityName . '\\' . $actionName);
  364.  
  365.  
  366. INFO: MissingReturnType - api/Civi/Api4/Action/GetActions.php:60:20 - Method Civi\Api4\Action\GetActions::loadAction does not have a return type, expecting void
  367.   private function loadAction($actionName) {
  368.  
  369.  
  370. INFO: MissingParamType - api/Civi/Api4/Action/GetActions.php:60:31 - Parameter $actionName has no provided type
  371.   private function loadAction($actionName) {
  372.  
  373.  
  374. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Action/GetActions.php:64:13 - Found a redundant condition when evaluating docblock-defined type $action and trying to reconcile type 'Civi\Api4\Generic\AbstractAction' to object
  375.         if (is_object($action)) {
  376.  
  377.  
  378. ERROR: NullOperand - api/Civi/Api4/Action/GetActions.php:70:13 - Left operand cannot be null
  379.             $this->_actions[$actionName] += $actionInfo;
  380.  
  381.  
  382. ERROR: UndefinedClass - api/Civi/Api4/Action/GetActions.php:78:12 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  383.     catch (NotImplementedException $e) {
  384.  
  385.  
  386. INFO: MissingReturnType - api/Civi/Api4/Action/GetActions.php:82:19 - Method Civi\Api4\Action\GetActions::fields does not have a return type, expecting array{0:array{name:string, data_type:string}, 1:array{name:string, data_type:string}, 2:array{name:string, data_type:string}, 3:array{name:string, data_type:string}}
  387.   public function fields() {
  388.  
  389.  
  390. INFO: MissingReturnType - api/Civi/Api4/Action/GroupContact/Create.php:32:19 - Method Civi\Api4\Action\GroupContact\Create::_run does not have a return type, expecting void
  391.   public function _run(Result $result) {
  392.  
  393.  
  394. INFO: MissingReturnType - api/Civi/Api4/Action/GroupContact/Update.php:32:19 - Method Civi\Api4\Action\GroupContact\Update::_run does not have a return type, expecting void
  395.   public function _run(Result $result) {
  396.  
  397.  
  398. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Relationship/Get.php:9:7 - Property Civi\Api4\Generic\Traits\IsCurrentTrait::$current is not defined in constructor of Civi\Api4\Action\Relationship\Get or in any methods called in the constructor
  399. class Get extends \Civi\Api4\Generic\DAOGetAction {
  400.  
  401.  
  402. INFO: InvalidDocblock - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:13:1 - getDomainId is not a valid method in docblock for Civi\Api4\Action\Setting\AbstractSettingAction
  403. /**
  404.  * Base class for setting actions.
  405.  *
  406.  * @method int getDomainId
  407.  * @method $this setDomainId(int $domainId)
  408.  */
  409. abstract class AbstractSettingAction extends \Civi\Api4\Generic\AbstractAction {
  410.  
  411.  
  412. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:29:19 - Method Civi\Api4\Action\Setting\AbstractSettingAction::_run does not have a return type, expecting void
  413.   public function _run(Result $result) {
  414.  
  415.  
  416. ERROR: PossiblyInvalidIterator - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:32:14 - Cannot iterate over int
  417.     foreach ($this->domainId as $domain) {
  418.  
  419.  
  420. ERROR: UndefinedClass - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:49:13 - Class or interface Civi\Core\SettingsMetadata does not exist
  421.     $meta = \Civi\Core\SettingsMetadata::getMetadata([], $domain);
  422.  
  423.  
  424. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:63:22 - Method Civi\Api4\Action\Setting\AbstractSettingAction::findDomains does not have a return type, expecting void
  425.   protected function findDomains() {
  426.  
  427.  
  428. ERROR: UndefinedClass - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:72:19 - Class or interface API_Exception does not exist
  429.         throw new \API_Exception('Invalid domain id: ' . implode(', ', $invalid));
  430.  
  431.  
  432. ERROR: UndefinedClass - api/Civi/Api4/Action/Setting/AbstractSettingAction.php:76:26 - Class or interface CRM_Core_Config does not exist
  433.       $this->domainId = [\CRM_Core_Config::domainID()];
  434.  
  435.  
  436. INFO: InvalidDocblock - api/Civi/Api4/Action/Setting/Get.php:13:1 - getSelect is not a valid method in docblock for Civi\Api4\Action\Setting\Get
  437. /**
  438.  * Get the value of one or more CiviCRM settings.
  439.  *
  440.  * @method array getSelect
  441.  * @method $this addSelect(string $name)
  442.  * @method $this setSelect(array $select)
  443.  */
  444. class Get extends AbstractSettingAction {
  445.  
  446.  
  447. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Setting/Get.php:13:7 - Property Civi\Api4\Action\Setting\AbstractSettingAction::$domainId is not defined in constructor of Civi\Api4\Action\Setting\Get or in any methods called in the constructor
  448. class Get extends AbstractSettingAction {
  449.  
  450.  
  451. ERROR: UndefinedDocblockClass - api/Civi/Api4/Action/Setting/Get.php:24:13 - Docblock-defined class or interface Civi\Core\SettingsBag does not exist
  452.   /**
  453.    * @param \Civi\Api4\Generic\Result $result
  454.    * @param \Civi\Core\SettingsBag $settingsBag
  455.    * @param array $meta
  456.    * @param int $domain
  457.    * @throws \Exception
  458.    */
  459.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  460.  
  461.  
  462. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/Get.php:29:22 - Method Civi\Api4\Action\Setting\Get::processSettings does not have a return type, expecting void
  463.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  464.  
  465.  
  466. INFO: InvalidDocblock - api/Civi/Api4/Action/Setting/GetFields.php:10:1 - getDomainId is not a valid method in docblock for Civi\Api4\Action\Setting\GetFields
  467. /**
  468.  * Get information about CiviCRM settings.
  469.  *
  470.  * @method int getDomainId
  471.  * @method $this setDomainId(int $domainId)
  472.  */
  473. class GetFields extends \Civi\Api4\Generic\BasicGetFieldsAction {
  474.  
  475.  
  476. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Setting/GetFields.php:17:13 - Property Civi\Api4\Action\Setting\GetFields::$domainId is not defined in constructor of Civi\Api4\Action\Setting\GetFields or in any methods called in the constructor
  477.   protected $domainId;
  478.  
  479.  
  480. ERROR: UndefinedClass - api/Civi/Api4/Action/Setting/GetFields.php:24:12 - Class or interface Civi\Core\SettingsMetadata does not exist
  481.     return \Civi\Core\SettingsMetadata::getMetadata($filter, $this->domainId, $this->loadOptions);
  482.  
  483.  
  484. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/GetFields.php:27:19 - Method Civi\Api4\Action\Setting\GetFields::fields does not have a return type, expecting array{0:array{name:string, data_type:string}, 1:array{name:string, data_type:string}, 2:array{name:string, data_type:string}, 3:array{name:string, data_type:string}, 4:array{name:string, data_type:string}, 5:array{name:string, data_type:string}, 6:array{name:string, data_type:string}, 7:array{name:string, data_type:string}, 8:array{name:string, data_type:string}, 9:array{name:string, data_type:string}, 10:array{name:string, data_type:string}, 11:array{name:string, data_type:string}, 12:array{name:string, data_type:string}}
  485.   public function fields() {
  486.  
  487.  
  488. INFO: InvalidDocblock - api/Civi/Api4/Action/Setting/Revert.php:13:1 - getSelect is not a valid method in docblock for Civi\Api4\Action\Setting\Revert
  489. /**
  490.  * Revert one or more CiviCRM settings to their default value.
  491.  *
  492.  * @method array getSelect
  493.  * @method $this addSelect(string $name)
  494.  * @method $this setSelect(array $select)
  495.  */
  496. class Revert extends AbstractSettingAction {
  497.  
  498.  
  499. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Setting/Revert.php:13:7 - Property Civi\Api4\Action\Setting\AbstractSettingAction::$domainId is not defined in constructor of Civi\Api4\Action\Setting\Revert or in any methods called in the constructor
  500. class Revert extends AbstractSettingAction {
  501.  
  502.  
  503. ERROR: UndefinedDocblockClass - api/Civi/Api4/Action/Setting/Revert.php:25:13 - Docblock-defined class or interface Civi\Core\SettingsBag does not exist
  504.   /**
  505.    * @param \Civi\Api4\Generic\Result $result
  506.    * @param \Civi\Core\SettingsBag $settingsBag
  507.    * @param array $meta
  508.    * @param int $domain
  509.    * @throws \Exception
  510.    */
  511.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  512.  
  513.  
  514. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/Revert.php:30:22 - Method Civi\Api4\Action\Setting\Revert::processSettings does not have a return type, expecting void
  515.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  516.  
  517.  
  518. INFO: InvalidDocblock - api/Civi/Api4/Action/Setting/Set.php:13:1 - getValues is not a valid method in docblock for Civi\Api4\Action\Setting\Set
  519. /**
  520.  * Set the value of one or more CiviCRM settings.
  521.  *
  522.  * @method array getValues
  523.  * @method $this setValues(array $value)
  524.  * @method $this addValue(string $name, mixed $value)
  525.  */
  526. class Set extends AbstractSettingAction {
  527.  
  528.  
  529. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Action/Setting/Set.php:13:7 - Property Civi\Api4\Action\Setting\AbstractSettingAction::$domainId is not defined in constructor of Civi\Api4\Action\Setting\Set or in any methods called in the constructor
  530. class Set extends AbstractSettingAction {
  531.  
  532.  
  533. ERROR: UndefinedDocblockClass - api/Civi/Api4/Action/Setting/Set.php:25:13 - Docblock-defined class or interface Civi\Core\SettingsBag does not exist
  534.   /**
  535.    * @param \Civi\Api4\Generic\Result $result
  536.    * @param \Civi\Core\SettingsBag $settingsBag
  537.    * @param array $meta
  538.    * @param int $domain
  539.    * @throws \Exception
  540.    */
  541.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  542.  
  543.  
  544. INFO: MissingReturnType - api/Civi/Api4/Action/Setting/Set.php:30:22 - Method Civi\Api4\Action\Setting\Set::processSettings does not have a return type, expecting void
  545.   protected function processSettings(Result $result, $settingsBag, $meta, $domain) {
  546.  
  547.  
  548. ERROR: UndefinedClass - api/Civi/Api4/Action/System/Check.php:11:14 - Class or interface CRM_Utils_Check does not exist
  549.     foreach (\CRM_Utils_Check::checkAll() as $message) {
  550.  
  551.  
  552. INFO: MissingReturnType - api/Civi/Api4/Action/System/Check.php:17:26 - Method Civi\Api4\Action\System\Check::fields does not have a return type
  553.   public static function fields() {
  554.  
  555.  
  556. ERROR: UndefinedClass - api/Civi/Api4/Action/System/Check.php:53:36 - Class or interface CRM_Utils_Check does not exist
  557.         'options' => array_combine(\CRM_Utils_Check::getSeverityList(), \CRM_Utils_Check::getSeverityList()),
  558.  
  559.  
  560. ERROR: UndefinedClass - api/Civi/Api4/Action/System/Check.php:60:22 - Class or interface CRM_Utils_Check does not exist
  561.         'options' => \CRM_Utils_Check::getSeverityList(),
  562.  
  563.  
  564. INFO: InvalidDocblock - api/Civi/Api4/Action/System/Flush.php:12:1 - getTriggers is not a valid method in docblock for Civi\Api4\Action\System\Flush
  565. /**
  566.  * Clear CiviCRM caches, and optionally rebuild triggers and reset sessions.
  567.  *
  568.  * @method bool getTriggers
  569.  * @method $this setTriggers(bool $triggers)
  570.  * @method bool getSession
  571.  * @method $this setSession(bool $session)
  572.  */
  573. class Flush extends \Civi\Api4\Generic\AbstractAction {
  574.  
  575.  
  576. INFO: MissingReturnType - api/Civi/Api4/Action/System/Flush.php:28:19 - Method Civi\Api4\Action\System\Flush::_run does not have a return type, expecting void
  577.   public function _run(\Civi\Api4\Generic\Result $result) {
  578.  
  579.  
  580. ERROR: UndefinedClass - api/Civi/Api4/Action/System/Flush.php:29:5 - Class or interface CRM_Core_Invoke does not exist
  581.     \CRM_Core_Invoke::rebuildMenuAndCaches($this->triggers, $this->session);
  582.  
  583.  
  584. INFO: MissingReturnType - api/Civi/Api4/Contact.php:28:26 - Method Civi\Api4\Contact::getChecksum does not have a return type, expecting Civi\Api4\Action\Contact\GetChecksum
  585.   public static function getChecksum() {
  586.  
  587.  
  588. INFO: MissingReturnType - api/Civi/Api4/Contact.php:33:26 - Method Civi\Api4\Contact::validateChecksum does not have a return type, expecting Civi\Api4\Action\Contact\ValidateChecksum
  589.   public static function validateChecksum() {
  590.  
  591.  
  592. ERROR: UndefinedClass - api/Civi/Api4/CustomValue.php:73:20 - Class or interface CRM_Core_Permission does not exist
  593.     $permissions = \CRM_Core_Permission::getEntityActionPermissions();
  594.  
  595.  
  596. ERROR: UndefinedClass - api/Civi/Api4/Event/GetSpecEvent.php:8:28 - Class or interface Symfony\Component\EventDispatcher\Event does not exist
  597. class GetSpecEvent extends BaseEvent {
  598.  
  599.  
  600. ERROR: UndefinedClass - api/Civi/Api4/Event/PostSelectQueryEvent.php:8:36 - Class or interface Symfony\Component\EventDispatcher\Event does not exist
  601. class PostSelectQueryEvent extends Event {
  602.  
  603.  
  604. ERROR: UndefinedClass - api/Civi/Api4/Event/SchemaMapBuildEvent.php:8:35 - Class or interface Symfony\Component\EventDispatcher\Event does not exist
  605. class SchemaMapBuildEvent extends BaseEvent {
  606.  
  607.  
  608. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/ActivityPreCreationSubscriber.php:8:45 - Civi\Api4\Event\Subscriber\Generic\PreCreationSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  609. class ActivityPreCreationSubscriber extends Generic\PreCreationSubscriber {
  610.  
  611.  
  612. ERROR: UndefinedClass - api/Civi/Api4/Event/Subscriber/ActivitySchemaMapSubscriber.php:13:46 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  613. class ActivitySchemaMapSubscriber implements EventSubscriberInterface {
  614.  
  615.  
  616. ERROR: UndefinedClass - api/Civi/Api4/Event/Subscriber/ContactSchemaMapSubscriber.php:11:45 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  617. class ContactSchemaMapSubscriber implements EventSubscriberInterface {
  618.  
  619.  
  620. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/CustomFieldPreCreationSubscriber.php:7:48 - Civi\Api4\Event\Subscriber\Generic\PreCreationSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  621. class CustomFieldPreCreationSubscriber extends Generic\PreCreationSubscriber {
  622.  
  623.  
  624. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/CustomGroupPreCreationSubscriber.php:7:48 - Civi\Api4\Event\Subscriber\Generic\PreCreationSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  625. class CustomGroupPreCreationSubscriber extends Generic\PreCreationSubscriber {
  626.  
  627.  
  628. ERROR: UndefinedClass - api/Civi/Api4/Event/Subscriber/Generic/AbstractPrepareSubscriber.php:9:53 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  629. abstract class AbstractPrepareSubscriber implements EventSubscriberInterface {
  630.  
  631.  
  632. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/Generic/PreCreationSubscriber.php:8:46 - Civi\Api4\Event\Subscriber\Generic\AbstractPrepareSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  633. abstract class PreCreationSubscriber extends AbstractPrepareSubscriber {
  634.  
  635.  
  636. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/IsCurrentSubscriber.php:14:35 - Civi\Api4\Event\Subscriber\Generic\AbstractPrepareSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  637. class IsCurrentSubscriber extends Generic\AbstractPrepareSubscriber {
  638.  
  639.  
  640. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/OptionValuePreCreationSubscriber.php:8:48 - Civi\Api4\Event\Subscriber\Generic\PreCreationSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  641. class OptionValuePreCreationSubscriber extends Generic\PreCreationSubscriber {
  642.  
  643.  
  644. ERROR: UndefinedClass - api/Civi/Api4/Event/Subscriber/PermissionCheckSubscriber.php:38:44 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  645. class PermissionCheckSubscriber implements EventSubscriberInterface {
  646.  
  647.  
  648. ERROR: UndefinedClass - api/Civi/Api4/Event/Subscriber/PostSelectQuerySubscriber.php:15:44 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  649. class PostSelectQuerySubscriber implements EventSubscriberInterface {
  650.  
  651.  
  652. ERROR: MissingDependency - api/Civi/Api4/Event/Subscriber/ValidateFieldsSubscriber.php:35:40 - Civi\Api4\Event\Subscriber\Generic\AbstractPrepareSubscriber depends on class or interface symfony\component\eventdispatcher\eventsubscriberinterface that does not exist
  653. class ValidateFieldsSubscriber extends Generic\AbstractPrepareSubscriber {
  654.  
  655.  
  656. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:56:13 - Property Civi\Api4\Generic\AbstractAction::$_entityName does not have a declared type - consider string|false
  657.   protected $_entityName;
  658.  
  659.  
  660. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:59:13 - Property Civi\Api4\Generic\AbstractAction::$_actionName does not have a declared type - consider string
  661.   protected $_actionName;
  662.  
  663.  
  664. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:62:11 - Property Civi\Api4\Generic\AbstractAction::$_reflection does not have a declared type - consider ReflectionClass<mixed>|null
  665.   private $_reflection;
  666.  
  667.  
  668. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:65:11 - Property Civi\Api4\Generic\AbstractAction::$_paramInfo does not have a declared type - consider non-empty-array<string, array<array-key, mixed>>|null
  669.   private $_paramInfo;
  670.  
  671.  
  672. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:68:11 - Property Civi\Api4\Generic\AbstractAction::$_entityFields does not have a declared type
  673.   private $_entityFields;
  674.  
  675.  
  676. INFO: MissingPropertyType - api/Civi/Api4/Generic/AbstractAction.php:71:11 - Property Civi\Api4\Generic\AbstractAction::$_arrayStorage does not have a declared type - consider array
  677.   private $_arrayStorage = [];
  678.  
  679.  
  680. ERROR: PossiblyFalseOperand - api/Civi/Api4/Generic/AbstractAction.php:83:41 - Left operand cannot be falsable, got int|false
  681.       $entityName = substr($entityName, strrpos($entityName, '\\') + 1);
  682.  
  683.  
  684. INFO: MissingParamType - api/Civi/Api4/Generic/AbstractAction.php:95:25 - Parameter $name has no provided type
  685.   public function __set($name, $value) {
  686.  
  687.  
  688. INFO: MissingParamType - api/Civi/Api4/Generic/AbstractAction.php:95:32 - Parameter $value has no provided type
  689.   public function __set($name, $value) {
  690.  
  691.  
  692. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:96:15 - Class or interface API_Exception does not exist
  693.     throw new \API_Exception('Unknown api parameter');
  694.  
  695.  
  696. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:106:17 - Class or interface API_Exception does not exist
  697.       throw new \API_Exception('Cannot modify api version');
  698.  
  699.  
  700. INFO: MissingParamType - api/Civi/Api4/Generic/AbstractAction.php:133:26 - Parameter $name has no provided type
  701.   public function __call($name, $arguments) {
  702.  
  703.  
  704. INFO: MissingParamType - api/Civi/Api4/Generic/AbstractAction.php:133:33 - Parameter $arguments has no provided type
  705.   public function __call($name, $arguments) {
  706.  
  707.  
  708. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:136:17 - Class or interface API_Exception does not exist
  709.       throw new \API_Exception('Unknown api parameter: ' . $name);
  710.  
  711.  
  712. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:154:23 - Class or interface API_Exception does not exist
  713.             throw new \API_Exception('Cannot add to non-array param');
  714.  
  715.  
  716. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:165:15 - Class or interface API_Exception does not exist
  717.     throw new \API_Exception('Unknown api parameter: ' . $name);
  718.  
  719.  
  720. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/AbstractAction.php:179:5 - Docblock-defined class or interface Civi\API\Kernel does not exist
  721.     /** @var Kernel $kernel */
  722.     $kernel = \Civi::service('civi_api_kernel');
  723.  
  724.  
  725. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:179:15 - Class or interface Civi does not exist
  726.     $kernel = \Civi::service('civi_api_kernel');
  727.  
  728.  
  729. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:289:17 - Class or interface API_Exception does not exist
  730.       throw new \API_Exception('Cannot modify api4 state via array access');
  731.  
  732.  
  733. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:304:17 - Class or interface API_Exception does not exist
  734.       throw new \API_Exception('Cannot modify api4 state via array access');
  735.  
  736.  
  737. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:318:12 - Class or interface CRM_Core_Permission does not exist
  738.     return \CRM_Core_Permission::check($permissions);
  739.  
  740.  
  741. INFO: MissingReturnType - api/Civi/Api4/Generic/AbstractAction.php:321:19 - Method Civi\Api4\Generic\AbstractAction::getPermissions does not have a return type
  742.   public function getPermissions() {
  743.  
  744.  
  745. ERROR: UndefinedFunction - api/Civi/Api4/Generic/AbstractAction.php:354:38 - Function Civi\Api4\Generic\civicrm_api4 does not exist
  746.       $this->_entityFields = (array) civicrm_api4($this->getEntityName(), 'getFields', $params, 'name');
  747.  
  748.  
  749. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:384:17 - Class or interface API_Exception does not exist
  750.       throw new \API_Exception('Illegal character in expression');
  751.  
  752.  
  753. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractAction.php:387:24 - Class or interface CRM_Core_Smarty does not exist
  754.     return (bool) trim(\CRM_Core_Smarty::singleton()->fetchWith('string:' . $tpl, $vars));
  755.  
  756.  
  757. ERROR: UndefinedFunction - api/Civi/Api4/Generic/AbstractBatchAction.php:54:20 - Function Civi\Api4\Generic\civicrm_api4 does not exist
  758.     return (array) civicrm_api4($this->getEntityName(), 'get', $params);
  759.  
  760.  
  761. INFO: MissingReturnType - api/Civi/Api4/Generic/AbstractCreateAction.php:35:22 - Method Civi\Api4\Generic\AbstractCreateAction::validateValues does not have a return type, expecting void
  762.   protected function validateValues() {
  763.  
  764.  
  765. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractCreateAction.php:52:17 - Class or interface API_Exception does not exist
  766.       throw new \API_Exception("Mandatory values missing from Api4 {$this->getEntityName()}::{$this->getActionName()}: '" . implode("', '", $unmatched) . "'", "mandatory_missing", ["fields" => $unmatched]);
  767.  
  768.  
  769. INFO: MissingReturnType - api/Civi/Api4/Generic/AbstractEntity.php:40:26 - Method Civi\Api4\Generic\AbstractEntity::getFields does not have a return type, expecting void
  770.   public static function getFields() {
  771.  
  772.  
  773. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractEntity.php:41:15 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  774.     throw new NotImplementedException(self::getEntityName() . ' should implement getFields action.');
  775.  
  776.  
  777. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractEntity.php:50:20 - Class or interface CRM_Core_Permission does not exist
  778.     $permissions = \CRM_Core_Permission::getEntityActionPermissions();
  779.  
  780.  
  781. ERROR: PossiblyFalseOperand - api/Civi/Api4/Generic/AbstractEntity.php:64:34 - Left operand cannot be falsable, got int|false
  782.     return substr(static::class, strrpos(static::class, '\\') + 1);
  783.  
  784.  
  785. ERROR: MoreSpecificReturnType - api/Civi/Api4/Generic/AbstractEntity.php:72:14 - The declared return type 'Civi\Api4\Generic\AbstractAction' for Civi\Api4\Generic\AbstractEntity::__callStatic is more specific than the inferred return type 'object'
  786.   /**
  787.    * Magic method to return the action object for an api.
  788.    *
  789.    * @param string $action
  790.    * @param null $args
  791.    * @return AbstractAction
  792.    * @throws NotImplementedException
  793.    */
  794.   public static function __callStatic($action, $args) {
  795.     $entity = self::getEntityName();
  796.     // Find class for this action
  797.  
  798.  
  799. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractEntity.php:83:17 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  800.       throw new NotImplementedException("Api $entity $action version 4 does not exist.");
  801.  
  802.  
  803. ERROR: LessSpecificReturnStatement - api/Civi/Api4/Generic/AbstractEntity.php:85:12 - The type 'object' is more general than the declared return type 'Civi\Api4\Generic\AbstractAction' for Civi\Api4\Generic\AbstractEntity::__callStatic
  804.     return $actionObject;
  805.  
  806.  
  807. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractQueryAction.php:70:24 - Class or interface CRM_Core_DAO does not exist
  808.     if (!in_array($op, \CRM_Core_DAO::acceptedSQLOperators())) {
  809.  
  810.  
  811. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractQueryAction.php:71:17 - Class or interface API_Exception does not exist
  812.       throw new \API_Exception('Unsupported operator');
  813.  
  814.  
  815. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Generic/AbstractQueryAction.php:117:9 - Found a redundant condition when evaluating docblock-defined type $whereClause and trying to reconcile type 'array<array-key, mixed>' to array
  816.     if (!is_array($whereClause) || !$whereClause) {
  817.  
  818.  
  819. INFO: DocblockTypeContradiction - api/Civi/Api4/Generic/AbstractQueryAction.php:117:10 - Found a contradiction with a docblock-defined type when evaluating $whereClause and trying to reconcile type 'array<array-key, mixed>' to !array
  820.     if (!is_array($whereClause) || !$whereClause) {
  821.  
  822.  
  823. ERROR: UndefinedClass - api/Civi/Api4/Generic/AbstractQueryAction.php:128:65 - Class or interface CRM_Core_DAO does not exist
  824.     elseif (isset($whereClause[1]) && in_array($whereClause[1], \CRM_Core_DAO::acceptedSQLOperators())) {
  825.  
  826.  
  827. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicBatchAction.php:37:19 - $this->doer with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  828.     $this->doer = $doer;
  829.  
  830.  
  831. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicBatchAction.php:46:19 - Method Civi\Api4\Generic\BasicBatchAction::_run does not have a return type, expecting void
  832.   public function _run(Result $result) {
  833.  
  834.  
  835. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Generic/BasicBatchAction.php:66:9 - Found a redundant condition when evaluating docblock-defined type $this->doer and trying to reconcile type 'callable' to callable
  836.     if (is_callable($this->doer)) {
  837.  
  838.  
  839. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicBatchAction.php:69:15 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  840.     throw new NotImplementedException('Doer function not found for api4 ' . $this->getEntityName() . '::' . $this->getActionName());
  841.  
  842.  
  843. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicCreateAction.php:31:21 - $this->setter with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  844.     $this->setter = $setter;
  845.  
  846.  
  847. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicCreateAction.php:40:19 - Method Civi\Api4\Generic\BasicCreateAction::_run does not have a return type, expecting void
  848.   public function _run(Result $result) {
  849.  
  850.  
  851. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Generic/BasicCreateAction.php:58:9 - Found a redundant condition when evaluating docblock-defined type $this->setter and trying to reconcile type 'callable' to callable
  852.     if (is_callable($this->setter)) {
  853.  
  854.  
  855. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicCreateAction.php:61:15 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  856.     throw new NotImplementedException('Setter function not found for api4 ' . $this->getEntityName() . '::' . $this->getActionName());
  857.  
  858.  
  859. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicGetAction.php:31:21 - $this->getter with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  860.     $this->getter = $getter;
  861.  
  862.  
  863. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicGetAction.php:31:21 - $this->getter with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  864.     $this->getter = $getter;
  865.  
  866.  
  867. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicGetAction.php:31:21 - $this->getter with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  868.     $this->getter = $getter;
  869.  
  870.  
  871. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicGetAction.php:39:19 - Method Civi\Api4\Generic\BasicGetAction::_run does not have a return type, expecting void
  872.   public function _run(Result $result) {
  873.  
  874.  
  875. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Generic/BasicGetAction.php:77:9 - Found a redundant condition when evaluating docblock-defined type $this->getter and trying to reconcile type 'callable' to callable
  876.     if (is_callable($this->getter)) {
  877.  
  878.  
  879. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicGetAction.php:80:15 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  880.     throw new NotImplementedException('Getter function not found for api4 ' . $this->getEntityName() . '::' . $this->getActionName());
  881.  
  882.  
  883. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicGetFieldsAction.php:43:19 - Method Civi\Api4\Generic\BasicGetFieldsAction::_run does not have a return type, expecting void
  884.   public function _run(Result $result) {
  885.  
  886.  
  887. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicGetFieldsAction.php:47:12 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  888.     catch (NotImplementedException $e) {
  889.  
  890.  
  891. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicGetFieldsAction.php:69:22 - Method Civi\Api4\Generic\BasicGetFieldsAction::padResults does not have a return type, expecting void
  892.   protected function padResults(&$values) {
  893.  
  894.  
  895. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicGetFieldsAction.php:77:24 - Class or interface CRM_Utils_Array does not exist
  896.         'data_type' => \CRM_Utils_Array::value('type', $field, 'String'),
  897.  
  898.  
  899. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicGetFieldsAction.php:94:19 - Method Civi\Api4\Generic\BasicGetFieldsAction::fields does not have a return type, expecting array{0:array{name:string, data_type:string}, 1:array{name:string, data_type:string}, 2:array{name:string, data_type:string}, 3:array{name:string, data_type:string}, 4:array{name:string, data_type:string}, 5:array{name:string, data_type:string}, 6:array{name:string, data_type:string}, 7:array{name:string, data_type:string}, 8:array{name:string, data_type:string}, 9:array{name:string, data_type:string}}
  900.   public function fields() {
  901.  
  902.  
  903. ERROR: MoreSpecificReturnType - api/Civi/Api4/Generic/BasicReplaceAction.php:37:14 - The declared return type 'Civi\Api4\Result\ReplaceResult' for Civi\Api4\Generic\BasicReplaceAction::execute is more specific than the inferred return type 'Civi\Api4\Generic\Result'
  904.   /**
  905.    * @return \Civi\Api4\Result\ReplaceResult
  906.    */
  907.   public function execute() {
  908.     return parent::execute();
  909.   }
  910.  
  911.  
  912. ERROR: LessSpecificReturnStatement - api/Civi/Api4/Generic/BasicReplaceAction.php:40:12 - The type 'Civi\Api4\Generic\Result' is more general than the declared return type 'Civi\Api4\Result\ReplaceResult' for Civi\Api4\Generic\BasicReplaceAction::execute
  913.     return parent::execute();
  914.  
  915.  
  916. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicReplaceAction.php:46:19 - Method Civi\Api4\Generic\BasicReplaceAction::_run does not have a return type, expecting void
  917.   public function _run(Result $result) {
  918.  
  919.  
  920. ERROR: UndefinedFunction - api/Civi/Api4/Generic/BasicReplaceAction.php:65:21 - Function Civi\Api4\Generic\civicrm_api4 does not exist
  921.         $result[] = civicrm_api4($this->getEntityName(), 'update', [
  922.           'reload' => $this->reload,
  923.           'where' => [[$idField, '=', $id]],
  924.           'values' => $record,
  925.         ])->first();
  926.  
  927.  
  928. ERROR: UndefinedFunction - api/Civi/Api4/Generic/BasicReplaceAction.php:79:34 - Function Civi\Api4\Generic\civicrm_api4 does not exist
  929.       $result->deleted = (array) civicrm_api4($this->getEntityName(), 'delete', [
  930.         'where' => [[$idField, 'IN', array_keys($toDelete)]],
  931.       ]);
  932.  
  933.  
  934. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Generic/BasicUpdateAction.php:33:21 - $this->setter with non-nullable declared type 'callable' cannot be assigned nullable type 'callable|null'
  935.     $this->setter = $setter;
  936.  
  937.  
  938. INFO: MissingReturnType - api/Civi/Api4/Generic/BasicUpdateAction.php:44:19 - Method Civi\Api4\Generic\BasicUpdateAction::_run does not have a return type, expecting void
  939.   public function _run(Result $result) {
  940.  
  941.  
  942. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicUpdateAction.php:50:17 - Class or interface API_Exception does not exist
  943.       throw new \API_Exception('Cannot ' . $this->getActionName() . ' ' . $this->getEntityName() . ', no records found with ' . $this->whereClauseToString());
  944.  
  945.  
  946. INFO: RedundantConditionGivenDocblockType - api/Civi/Api4/Generic/BasicUpdateAction.php:67:9 - Found a redundant condition when evaluating docblock-defined type $this->setter and trying to reconcile type 'callable' to callable
  947.     if (is_callable($this->setter)) {
  948.  
  949.  
  950. ERROR: UndefinedClass - api/Civi/Api4/Generic/BasicUpdateAction.php:70:15 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  951.     throw new NotImplementedException('Setter function not found for api4 ' . $this->getEntityName() . '::' . $this->getActionName());
  952.  
  953.  
  954. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOCreateAction.php:16:19 - Method Civi\Api4\Generic\DAOCreateAction::_run does not have a return type, expecting void
  955.   public function _run(Result $result) {
  956.  
  957.  
  958. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOCreateAction.php:29:22 - Method Civi\Api4\Generic\DAOCreateAction::validateValues does not have a return type, expecting void
  959.   protected function validateValues() {
  960.  
  961.  
  962. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAOCreateAction.php:31:17 - Class or interface API_Exception does not exist
  963.       throw new \API_Exception('Cannot pass id to Create action. Use Update action instead.');
  964.  
  965.  
  966. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOCreateAction.php:43:22 - Method Civi\Api4\Generic\DAOCreateAction::fillDefaults does not have a return type, expecting void
  967.   protected function fillDefaults(&$params) {
  968.  
  969.  
  970. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/DAOCreateAction.php:45:12 - Docblock-defined class or interface CRM_Core_DAO does not exist
  971.     $bao = $this->getBaoName();
  972.  
  973.  
  974. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAOCreateAction.php:46:32 - Class or interface CRM_Core_DAO does not exist
  975.     $coreFields = array_column($bao::fields(), NULL, 'name');
  976.  
  977.  
  978. INFO: InvalidStringClass - api/Civi/Api4/Generic/DAOCreateAction.php:46:32 - String cannot be used as a class
  979.     $coreFields = array_column($bao::fields(), NULL, 'name');
  980.  
  981.  
  982. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAOCreateAction.php:50:99 - Class or interface CRM_Utils_Array does not exist
  983.       if (!isset($params[$name]) && !empty($field['default_value']) && $field['default_value'] != \CRM_Utils_Array::pathGet($coreFields, [$name, 'default'])) {
  984.  
  985.  
  986. INFO: MissingReturnType - api/Civi/Api4/Generic/DAODeleteAction.php:14:19 - Method Civi\Api4\Generic\DAODeleteAction::_run does not have a return type, expecting void
  987.   public function _run(Result $result) {
  988.  
  989.  
  990. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:17:17 - Class or interface API_Exception does not exist
  991.       throw new \API_Exception('Cannot delete ' . $this->getEntityName() . ' with no "where" parameter specified');
  992.  
  993.  
  994. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:23:17 - Class or interface API_Exception does not exist
  995.       throw new \API_Exception('Cannot delete ' . $this->getEntityName() . ', no records found with ' . $this->whereClauseToString());
  996.  
  997.  
  998. INFO: MissingParamType - api/Civi/Api4/Generic/DAODeleteAction.php:36:36 - Parameter $items has no provided type
  999.   protected function deleteObjects($items) {
  1000.  
  1001.  
  1002. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/DAODeleteAction.php:38:16 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1003.     $baoName = $this->getBaoName();
  1004.  
  1005.  
  1006. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:42:37 - Class or interface CRM_Core_DAO does not exist
  1007.         $bao = call_user_func_array([$baoName, 'del'], $args);
  1008.  
  1009.  
  1010. ERROR: InvalidThrow - api/Civi/Api4/Generic/DAODeleteAction.php:47:11 - Cannot throw API_Exception as it does not extend Exception or implement Throwable
  1011.           throw new \API_Exception("Could not delete {$this->getEntityName()} id {$item['id']}");
  1012.  
  1013.  
  1014. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:47:21 - Class or interface API_Exception does not exist
  1015.           throw new \API_Exception("Could not delete {$this->getEntityName()} id {$item['id']}");
  1016.  
  1017.  
  1018. INFO: InvalidStringClass - api/Civi/Api4/Generic/DAODeleteAction.php:53:16 - String cannot be used as a class
  1019.         $bao = new $baoName();
  1020.  
  1021.  
  1022. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:53:16 - Type CRM_Core_DAO cannot be called as a class
  1023.         $bao = new $baoName();
  1024.  
  1025.  
  1026. ERROR: InvalidThrow - api/Civi/Api4/Generic/DAODeleteAction.php:61:11 - Cannot throw API_Exception as it does not extend Exception or implement Throwable
  1027.           throw new \API_Exception("Could not delete {$this->getEntityName()} id {$item['id']}");
  1028.  
  1029.  
  1030. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAODeleteAction.php:61:21 - Class or interface API_Exception does not exist
  1031.           throw new \API_Exception("Could not delete {$this->getEntityName()} id {$item['id']}");
  1032.  
  1033.  
  1034. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOGetAction.php:15:19 - Method Civi\Api4\Generic\DAOGetAction::_run does not have a return type, expecting void
  1035.   public function _run(Result $result) {
  1036.  
  1037.  
  1038. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAOGetFieldsAction.php:31:17 - Class or interface Civi does not exist
  1039.     $gatherer = \Civi::container()->get('spec_gatherer');
  1040.  
  1041.  
  1042. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOGetFieldsAction.php:40:19 - Method Civi\Api4\Generic\DAOGetFieldsAction::fields does not have a return type
  1043.   public function fields() {
  1044.  
  1045.  
  1046. INFO: MissingReturnType - api/Civi/Api4/Generic/DAOUpdateAction.php:25:19 - Method Civi\Api4\Generic\DAOUpdateAction::_run does not have a return type, expecting void
  1047.   public function _run(Result $result) {
  1048.  
  1049.  
  1050. ERROR: UndefinedClass - api/Civi/Api4/Generic/DAOUpdateAction.php:39:17 - Class or interface API_Exception does not exist
  1051.       throw new \API_Exception('Parameter "where" is required unless an id is supplied in values.');
  1052.  
  1053.  
  1054. ERROR: PossiblyInvalidIterator - api/Civi/Api4/Generic/DAOUpdateAction.php:51:14 - Cannot iterate over int
  1055.     foreach ($items as &$item) {
  1056.  
  1057.  
  1058. INFO: MissingConstructor - api/Civi/Api4/Generic/Result.php:37:10 - Civi\Api4\Result\ReplaceResult has an uninitialized variable $this->entity, but no constructor
  1059.   public $entity;
  1060.  
  1061.  
  1062. INFO: MissingPropertyType - api/Civi/Api4/Generic/Result.php:48:11 - Property Civi\Api4\Generic\Result::$indexedBy does not have a declared type - consider null|string
  1063.   private $indexedBy;
  1064.  
  1065.  
  1066. ERROR: UndefinedClass - api/Civi/Api4/Generic/Result.php:101:19 - Class or interface API_Exception does not exist
  1067.         throw new \API_Exception("Key $key not found in api results");
  1068.  
  1069.  
  1070. ERROR: PossiblyNullArgument - api/Civi/Api4/Generic/Result.php:115:63 - Argument 1 of array_keys cannot be null, possibly null value provided
  1071.     if ($count == 1 && is_array($this->first()) && array_keys($this->first()) == ['row_count']) {
  1072.  
  1073.  
  1074. ERROR: PossiblyNullArrayAccess - api/Civi/Api4/Generic/Result.php:116:14 - Cannot access array value on possibly null variable  of type array<array-key, mixed>|null
  1075.       return $this->first()['row_count'];
  1076.  
  1077.  
  1078. INFO: MissingParamType - api/Civi/Api4/Generic/Result.php:127:26 - Parameter $name has no provided type
  1079.   public function column($name) {
  1080.  
  1081.  
  1082. INFO: DocblockTypeContradiction - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:88:10 - Found a contradiction with a docblock-defined type when evaluating $condition and trying to reconcile type 'array<array-key, mixed>' to !array
  1083.     if (!is_array($condition)) {
  1084.  
  1085.  
  1086. INFO: DocblockTypeContradiction - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:88:10 - Found a contradiction with a docblock-defined type when evaluating $condition and trying to reconcile type 'array<array-key, mixed>' to !array
  1087.     if (!is_array($condition)) {
  1088.  
  1089.  
  1090. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:89:17 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  1091.       throw new NotImplementedException('Unexpected where syntax; expecting array.');
  1092.  
  1093.  
  1094. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:142:19 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  1095.         throw new NotImplementedException("Unsupported operator: '$operator' cannot be used with array data");
  1096.  
  1097.  
  1098. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:150:32 - Parameter $values has no provided type
  1099.   protected function sortArray($values) {
  1100.  
  1101.  
  1102. INFO: MissingReturnType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:157:20 - Method Civi\Api4\Generic\Traits\ArrayQueryActionTrait::sortCompare does not have a return type, expecting int
  1103.   private function sortCompare($a, $b) {
  1104.  
  1105.  
  1106. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:157:32 - Parameter $a has no provided type
  1107.   private function sortCompare($a, $b) {
  1108.  
  1109.  
  1110. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:157:36 - Parameter $b has no provided type
  1111.   private function sortCompare($a, $b) {
  1112.  
  1113.  
  1114. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:177:34 - Parameter $values has no provided type
  1115.   protected function selectArray($values) {
  1116.  
  1117.  
  1118. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/ArrayQueryActionTrait.php:193:33 - Parameter $values has no provided type
  1119.   protected function limitArray($values) {
  1120.  
  1121.  
  1122. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:15:31 - Parameter $customGroup has no provided type
  1123.   public function __construct($customGroup, $actionName) {
  1124.  
  1125.  
  1126. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:15:45 - Parameter $actionName has no provided type
  1127.   public function __construct($customGroup, $actionName) {
  1128.  
  1129.  
  1130. ERROR: TooManyArguments - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:17:5 - Too many arguments for method Civi\Api4\Generic\DAOCreateAction::__construct - expecting 2 but saw 3
  1131.     parent::__construct('CustomValue', $actionName, ['id', 'entity_id']);
  1132.  
  1133.  
  1134. ERROR: InvalidArgument - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:17:53 - Argument 3 of Civi\Api4\Generic\DAOGetFieldsAction::__construct expects callable|null, array{0:string(id), 1:string(entity_id)} provided
  1135.     parent::__construct('CustomValue', $actionName, ['id', 'entity_id']);
  1136.  
  1137.  
  1138. INFO: MissingReturnType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:37:22 - Method Civi\Api4\Generic\Traits\CustomValueActionTrait::writeObjects does not have a return type, expecting array<int, mixed>
  1139.   protected function writeObjects($items) {
  1140.  
  1141.  
  1142. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:37:35 - Parameter $items has no provided type
  1143.   protected function writeObjects($items) {
  1144.  
  1145.  
  1146. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:51:19 - Class or interface CRM_Core_BAO_CustomValueTable does not exist
  1147.       $result[] = \CRM_Core_BAO_CustomValueTable::setValues($item);
  1148.  
  1149.  
  1150. INFO: MissingReturnType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:59:22 - Method Civi\Api4\Generic\Traits\CustomValueActionTrait::deleteObjects does not have a return type, expecting array<int, mixed>
  1151.   protected function deleteObjects($items) {
  1152.  
  1153.  
  1154. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:59:36 - Parameter $items has no provided type
  1155.   protected function deleteObjects($items) {
  1156.  
  1157.  
  1158. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:63:7 - Class or interface CRM_Utils_Hook does not exist
  1159.       \CRM_Utils_Hook::pre('delete', $this->getEntityName(), $item['id'], \CRM_Core_DAO::$_nullArray);
  1160.  
  1161.  
  1162. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:64:7 - Class or interface CRM_Utils_SQL_Delete does not exist
  1163.       \CRM_Utils_SQL_Delete::from($customTable)
  1164.  
  1165.  
  1166. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:68:7 - Class or interface CRM_Utils_Hook does not exist
  1167.       \CRM_Utils_Hook::post('delete', $this->getEntityName(), $item['id'], \CRM_Core_DAO::$_nullArray);
  1168.  
  1169.  
  1170. INFO: MissingReturnType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:77:22 - Method Civi\Api4\Generic\Traits\CustomValueActionTrait::fillDefaults does not have a return type, expecting void
  1171.   protected function fillDefaults(&$params) {
  1172.  
  1173.  
  1174. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/CustomValueActionTrait.php:77:36 - Parameter $params has no provided type
  1175.   protected function fillDefaults(&$params) {
  1176.  
  1177.  
  1178. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:11:14 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1179.   /**
  1180.    * @return \CRM_Core_DAO|string
  1181.    */
  1182.   protected function getBaoName() {
  1183.     require_once 'api/v3/utils.php';
  1184.     return \_civicrm_api3_get_BAO($this->getEntityName());
  1185.   }
  1186.  
  1187.  
  1188. ERROR: MissingFile - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:14:5 - Cannot find file /home/coolife/git-repos/gsoc/api/v3/utils.php to include
  1189.     require_once 'api/v3/utils.php';
  1190.  
  1191.  
  1192. ERROR: MissingDependency - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:41:18 - Civi\Api4\Query\Api4SelectQuery depends on class or interface civi\api\selectquery that does not exist
  1193.     $query = new Api4SelectQuery($this->getEntityName(), $this->getCheckPermissions());
  1194.  
  1195.  
  1196. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:60:16 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1197.     $baoName = $this->getBaoName();
  1198.  
  1199.  
  1200. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:69:15 - Class or interface CRM_Utils_Array does not exist
  1201.     $method = UtilsArray::value($this->getEntityName(), $oddballs, 'create');
  1202.  
  1203.  
  1204. INFO: MissingParamType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:128:40 - Parameter $params has no provided type
  1205.   private function genericCreateMethod($params) {
  1206.  
  1207.  
  1208. ERROR: UndefinedDocblockClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:129:16 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1209.     $baoName = $this->getBaoName();
  1210.  
  1211.  
  1212. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:132:5 - Class or interface CRM_Utils_Hook does not exist
  1213.     \CRM_Utils_Hook::pre($hook, $this->getEntityName(), UtilsArray::value('id', $params), $params);
  1214.  
  1215.  
  1216. ERROR: InvalidReturnType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:145:14 - No return statements were found for method Civi\Api4\Generic\Traits\DAOActionTrait::formatCustomParams but return type 'mixed' was expected
  1217.   /**
  1218.    * @param array $params
  1219.    * @param int $entityId
  1220.    * @return mixed
  1221.    */
  1222.   private function formatCustomParams(&$params, $entityId) {
  1223.     $customParams = [];
  1224.  
  1225.     // $customValueID is the ID of the custom value in the custom table for this
  1226.  
  1227.  
  1228. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:159:24 - Class or interface CRM_Core_BAO_CustomField does not exist
  1229.       $customFieldId = \CRM_Core_BAO_CustomField::getFieldValue(
  1230.  
  1231.  
  1232. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:165:26 - Class or interface CRM_Core_BAO_CustomField does not exist
  1233.       $customFieldType = \CRM_Core_BAO_CustomField::getFieldValue(
  1234.  
  1235.  
  1236. ERROR: UndefinedClass - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:171:29 - Class or interface CRM_Core_BAO_CustomGroup does not exist
  1237.       $customFieldExtends = \CRM_Core_BAO_CustomGroup::getFieldValue(
  1238.  
  1239.  
  1240. ERROR: UndefinedFunction - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:183:11 - Function Civi\Api4\Generic\Traits\formatCheckBoxField does not exist
  1241.           formatCheckBoxField($value, 'custom_' . $customFieldId, $this->getEntityName());
  1242.  
  1243.  
  1244. ERROR: TypeDoesNotContainType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:200:9 - Found a contradiction when evaluating $customParams and trying to reconcile type 'array<empty, empty>' to !falsy
  1245.     if ($customParams) {
  1246.  
  1247.  
  1248. ERROR: TypeDoesNotContainType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:200:9 - Found a contradiction when evaluating $customParams and trying to reconcile type 'array<empty, empty>' to !falsy
  1249.     if ($customParams) {
  1250.  
  1251.  
  1252. ERROR: TypeDoesNotContainType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:200:9 - Found a contradiction when evaluating $customParams and trying to reconcile type 'array<empty, empty>' to !falsy
  1253.     if ($customParams) {
  1254.  
  1255.  
  1256. ERROR: TypeDoesNotContainType - api/Civi/Api4/Generic/Traits/DAOActionTrait.php:200:9 - Found a contradiction when evaluating $customParams and trying to reconcile type 'array<empty, empty>' to !falsy
  1257.     if ($customParams) {
  1258.  
  1259.  
  1260. ERROR: UndefinedClass - api/Civi/Api4/Provider/ActionObjectProvider.php:41:39 - Class or interface Symfony\Component\EventDispatcher\EventSubscriberInterface does not exist
  1261. class ActionObjectProvider implements EventSubscriberInterface, ProviderInterface {
  1262.  
  1263.  
  1264. ERROR: UndefinedClass - api/Civi/Api4/Query/Api4SelectQuery.php:54:31 - Class or interface Civi\API\SelectQuery does not exist
  1265. class Api4SelectQuery extends SelectQuery {
  1266.  
  1267.  
  1268. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/ActivityToActivityContactAssigneesJoinable.php:5:7 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$alias is not defined in constructor of Civi\Api4\Service\Schema\Joinable\ActivityToActivityContactAssigneesJoinable or in any methods called in the constructor
  1269. class ActivityToActivityContactAssigneesJoinable extends Joinable {
  1270.  
  1271.  
  1272. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/ActivityToActivityContactAssigneesJoinable.php:19:31 - Parameter $alias has no provided type
  1273.   public function __construct($alias) {
  1274.  
  1275.  
  1276. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php:5:7 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$baseTable is not defined in constructor of Civi\Api4\Service\Schema\Joinable\BridgeJoinable or in any methods called in the constructor
  1277. class BridgeJoinable extends Joinable {
  1278.  
  1279.  
  1280. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php:11:31 - Parameter $targetTable has no provided type
  1281.   public function __construct($targetTable, $targetColumn, $alias, Joinable $middleLink) {
  1282.  
  1283.  
  1284. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php:11:45 - Parameter $targetColumn has no provided type
  1285.   public function __construct($targetTable, $targetColumn, $alias, Joinable $middleLink) {
  1286.  
  1287.  
  1288. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/BridgeJoinable.php:11:60 - Parameter $alias has no provided type
  1289.   public function __construct($targetTable, $targetColumn, $alias, Joinable $middleLink) {
  1290.  
  1291.  
  1292. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:7:7 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$baseTable is not defined in constructor of Civi\Api4\Service\Schema\Joinable\CustomGroupJoinable or in any methods called in the constructor
  1293. class CustomGroupJoinable extends Joinable {
  1294.  
  1295.  
  1296. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:27:31 - Parameter $targetTable has no provided type
  1297.   public function __construct($targetTable, $alias, $isMultiRecord, $entity, $columns) {
  1298.  
  1299.  
  1300. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:27:45 - Parameter $alias has no provided type
  1301.   public function __construct($targetTable, $alias, $isMultiRecord, $entity, $columns) {
  1302.  
  1303.  
  1304. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:27:78 - Parameter $columns has no provided type
  1305.   public function __construct($targetTable, $alias, $isMultiRecord, $entity, $columns) {
  1306.  
  1307.  
  1308. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:28:21 - $this->entity with non-nullable declared type 'string' cannot be assigned nullable type 'null'
  1309.     $this->entity = $entity;
  1310.  
  1311.  
  1312. ERROR: InvalidPropertyAssignmentValue - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:31:23 - $this->joinType with declared type 'int' cannot be assigned type 'string(1_to_n)|string(1_to_1)'
  1313.     $this->joinType = $isMultiRecord ?
  1314.       self::JOIN_TYPE_ONE_TO_MANY : self::JOIN_TYPE_ONE_TO_ONE;
  1315.  
  1316.  
  1317. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:54:28 - Parameter $fieldName has no provided type
  1318.   public function getField($fieldName) {
  1319.  
  1320.  
  1321. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php:67:32 - Parameter $fieldName has no provided type
  1322.   public function getSqlColumn($fieldName) {
  1323.  
  1324.  
  1325. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:20:13 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$baseTable is not defined in constructor of Civi\Api4\Service\Schema\Joinable\Joinable or in any methods called in the constructor
  1326.   protected $baseTable;
  1327.  
  1328.  
  1329. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:25:13 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$baseColumn is not defined in constructor of Civi\Api4\Service\Schema\Joinable\Joinable or in any methods called in the constructor
  1330.   protected $baseColumn;
  1331.  
  1332.  
  1333. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:42:13 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$alias is not defined in constructor of Civi\Api4\Service\Schema\Joinable\Joinable or in any methods called in the constructor
  1334.   protected $alias;
  1335.  
  1336.  
  1337. ERROR: InvalidPropertyAssignmentValue - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:57:25 - $this->joinType with declared type 'int' cannot be assigned type 'string(1_to_1)'
  1338.   protected $joinType = self::JOIN_TYPE_ONE_TO_ONE;
  1339.  
  1340.  
  1341. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:62:13 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$entity is not defined in constructor of Civi\Api4\Service\Schema\Joinable\Joinable or in any methods called in the constructor
  1342.   protected $entity;
  1343.  
  1344.  
  1345. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:67:13 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$entityFields is not defined in constructor of Civi\Api4\Service\Schema\Joinable\Joinable or in any methods called in the constructor
  1346.   protected $entityFields;
  1347.  
  1348.  
  1349. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:74:31 - Parameter $targetTable has no provided type
  1350.   public function __construct($targetTable, $targetColumn, $alias = NULL) {
  1351.  
  1352.  
  1353. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:74:45 - Parameter $targetColumn has no provided type
  1354.   public function __construct($targetTable, $targetColumn, $alias = NULL) {
  1355.  
  1356.  
  1357. INFO: UninitializedProperty - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:77:10 - Cannot use uninitialized property $this->entity
  1358.     if (!$this->entity) {
  1359.  
  1360.  
  1361. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:78:23 - Class or interface CRM_Core_DAO_AllCoreTables does not exist
  1362.       $this->entity = Tables::getBriefName(Tables::getClassForTable($targetTable));
  1363.  
  1364.  
  1365. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:183:32 - Parameter $condition has no provided type
  1366.   public function addCondition($condition) {
  1367.  
  1368.  
  1369. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:255:14 - Class or interface CRM_Core_DAO_AllCoreTables does not exist
  1370.       $bao = Tables::getClassForTable($this->getTargetTable());
  1371.  
  1372.  
  1373. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Joinable/Joinable.php:268:28 - Parameter $fieldName has no provided type
  1374.   public function getField($fieldName) {
  1375.  
  1376.  
  1377. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/Joinable/OptionValueJoinable.php:5:7 - Property Civi\Api4\Service\Schema\Joinable\Joinable::$baseTable is not defined in constructor of Civi\Api4\Service\Schema\Joinable\OptionValueJoinable or in any methods called in the constructor
  1378. class OptionValueJoinable extends Joinable {
  1379.  
  1380.  
  1381. ERROR: PossiblyNullArgument - api/Civi/Api4/Service/Schema/Joinable/OptionValueJoinable.php:33:57 - Argument 2 of sprintf cannot be null, possibly null value provided
  1382.       $condition = sprintf('%s.option_group_id = (%s)', $alias, $subQuery);
  1383.  
  1384.  
  1385. ERROR: PossiblyNullArgument - api/Civi/Api4/Service/Schema/Joinable/OptionValueJoinable.php:36:55 - Argument 2 of sprintf cannot be null, possibly null value provided
  1386.       $condition = sprintf('%s.option_group_id = %d', $alias, $optionGroup);
  1387.  
  1388.  
  1389. ERROR: MissingDependency - api/Civi/Api4/Service/Schema/Joiner.php:38:24 - Civi\Api4\Query\Api4SelectQuery depends on class or interface civi\api\selectquery that does not exist
  1390.   public function join(Api4SelectQuery $query, $joinPath, $side = 'LEFT') {
  1391.  
  1392.  
  1393. ERROR: MissingDependency - api/Civi/Api4/Service/Schema/Joiner.php:62:27 - Civi\Api4\Query\Api4SelectQuery depends on class or interface civi\api\selectquery that does not exist
  1394.   public function canJoin(Api4SelectQuery $query, $joinPath) {
  1395.  
  1396.  
  1397. INFO: MissingParamType - api/Civi/Api4/Service/Schema/SchemaMap.php:24:27 - Parameter $baseTableName has no provided type
  1398.   public function getPath($baseTableName, $targetTableAlias) {
  1399.  
  1400.  
  1401. INFO: MissingParamType - api/Civi/Api4/Service/Schema/SchemaMap.php:24:43 - Parameter $targetTableAlias has no provided type
  1402.   public function getPath($baseTableName, $targetTableAlias) {
  1403.  
  1404.  
  1405. ERROR: InvalidOperand - api/Civi/Api4/Service/Schema/SchemaMap.php:38:58 - Cannot perform a numeric operation with a non-numeric type array-key
  1406.         $end = array_slice($path, $index, count($path) - $index);
  1407.  
  1408.  
  1409. ERROR: LoopInvalidation - api/Civi/Api4/Service/Schema/SchemaMap.php:39:9 - Variable $path has already been assigned in a for/foreach loop
  1410.         $path = array_merge($start, $middle, $end);
  1411.  
  1412.  
  1413. INFO: MissingParamType - api/Civi/Api4/Service/Schema/SchemaMap.php:58:34 - Parameter $name has no provided type
  1414.   public function getTableByName($name) {
  1415.  
  1416.  
  1417. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMap.php:86:19 - Method Civi\Api4\Service\Schema\SchemaMap::addTables does not have a return type, expecting void
  1418.   public function addTables(array $tables) {
  1419.  
  1420.  
  1421. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMap.php:106:20 - Method Civi\Api4\Service\Schema\SchemaMap::findPaths does not have a return type, expecting void
  1422.   private function findPaths(Table $table, $target, $depth, &$path, $currentPath = []
  1423.  
  1424.  
  1425. ERROR: UndefinedDocblockClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:17:11 - Docblock-defined class or interface Symfony\Component\EventDispatcher\EventDispatcherInterface does not exist
  1426.   /**
  1427.    * @var EventDispatcherInterface
  1428.    */
  1429.   protected $dispatcher;
  1430.  
  1431.  
  1432. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:19:13 - Property Civi\Api4\Service\Schema\SchemaMapBuilder::$dispatcher is not defined in constructor of Civi\Api4\Service\Schema\SchemaMapBuilder or in any methods called in the constructor
  1433.   protected $dispatcher;
  1434.  
  1435.  
  1436. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:23:13 - Property Civi\Api4\Service\Schema\SchemaMapBuilder::$apiEntities is not defined in constructor of Civi\Api4\Service\Schema\SchemaMapBuilder or in any methods called in the constructor
  1437.   protected $apiEntities;
  1438.  
  1439.  
  1440. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:28:31 - Class or interface Symfony\Component\EventDispatcher\EventDispatcherInterface does not exist
  1441.   public function __construct(EventDispatcherInterface $dispatcher) {
  1442.  
  1443.  
  1444. ERROR: MissingDependency - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:40:18 - Civi\Api4\Event\SchemaMapBuildEvent depends on class or interface symfony\component\eventdispatcher\event that does not exist
  1445.     $event = new SchemaMapBuildEvent($map);
  1446.  
  1447.  
  1448. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:51:20 - Method Civi\Api4\Service\Schema\SchemaMapBuilder::loadTables does not have a return type, expecting void
  1449.   private function loadTables(SchemaMap $map) {
  1450.  
  1451.  
  1452. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:53:14 - Class or interface CRM_Core_DAO_AllCoreTables does not exist
  1453.     foreach (TableHelper::get() as $daoName => $data) {
  1454.  
  1455.  
  1456. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:72:20 - Method Civi\Api4\Service\Schema\SchemaMapBuilder::addJoins does not have a return type, expecting void
  1457.   private function addJoins(Table $table, $field, array $data) {
  1458.  
  1459.  
  1460. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:73:16 - Class or interface CRM_Utils_Array does not exist
  1461.     $fkClass = UtilsArray::value('FKClassName', $data);
  1462.  
  1463.  
  1464. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:94:20 - Method Civi\Api4\Service\Schema\SchemaMapBuilder::addPseudoConstantJoin does not have a return type, expecting void
  1465.   private function addPseudoConstantJoin(Table $table, $field, array $data) {
  1466.  
  1467.  
  1468. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:95:23 - Class or interface CRM_Utils_Array does not exist
  1469.     $pseudoConstant = UtilsArray::value('pseudoconstant', $data);
  1470.  
  1471.  
  1472. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:126:20 - Method Civi\Api4\Service\Schema\SchemaMapBuilder::addBackReferences does not have a return type, expecting void
  1473.   private function addBackReferences(SchemaMap $map) {
  1474.  
  1475.  
  1476. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:139:18 - Cannot call method addTableLink on possibly null value
  1477.         $target->addTableLink($link->getTargetColumn(), $joinable);
  1478.  
  1479.  
  1480. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:171:20 - Method Civi\Api4\Service\Schema\SchemaMapBuilder::addCustomFields does not have a return type, expecting void
  1481.   private function addCustomFields(SchemaMap $map, Table $baseTable, $entity) {
  1482.  
  1483.  
  1484. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:173:36 - Class or interface CRM_Core_SelectValues does not exist
  1485.     if (!array_key_exists($entity, \CRM_Core_SelectValues::customGroupExtends())) {
  1486.  
  1487.  
  1488. ERROR: UndefinedClass - api/Civi/Api4/Service/Schema/SchemaMapBuilder.php:180:18 - Class or interface CRM_Utils_SQL_Select does not exist
  1489.     $fieldData = \CRM_Utils_SQL_Select::from('civicrm_custom_field f')
  1490.  
  1491.  
  1492. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Table.php:23:31 - Parameter $name has no provided type
  1493.   public function __construct($name) {
  1494.  
  1495.  
  1496. INFO: MissingReturnType - api/Civi/Api4/Service/Schema/Table.php:65:19 - Method Civi\Api4\Service\Schema\Table::removeLink does not have a return type, expecting void
  1497.   public function removeLink(Joinable $linkToRemove) {
  1498.  
  1499.  
  1500. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Table.php:115:28 - Parameter $target has no provided type
  1501.   private function hasLink($target, $targetCol, $alias) {
  1502.  
  1503.  
  1504. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Table.php:115:37 - Parameter $targetCol has no provided type
  1505.   private function hasLink($target, $targetCol, $alias) {
  1506.  
  1507.  
  1508. INFO: MissingParamType - api/Civi/Api4/Service/Schema/Table.php:115:49 - Parameter $alias has no provided type
  1509.   private function hasLink($target, $targetCol, $alias) {
  1510.  
  1511.  
  1512. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:5:7 - Property Civi\Api4\Service\Spec\FieldSpec::$title is not defined in constructor of Civi\Api4\Service\Spec\CustomFieldSpec or in any methods called in the constructor
  1513. class CustomFieldSpec extends FieldSpec {
  1514.  
  1515.  
  1516. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:9:13 - Property Civi\Api4\Service\Spec\CustomFieldSpec::$customFieldId is not defined in constructor of Civi\Api4\Service\Spec\CustomFieldSpec or in any methods called in the constructor
  1517.   protected $customFieldId;
  1518.  
  1519.  
  1520. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:14:13 - Property Civi\Api4\Service\Spec\CustomFieldSpec::$customGroup is not defined in constructor of Civi\Api4\Service\Spec\CustomFieldSpec or in any methods called in the constructor
  1521.   protected $customGroup;
  1522.  
  1523.  
  1524. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:19:13 - Property Civi\Api4\Service\Spec\CustomFieldSpec::$tableName is not defined in constructor of Civi\Api4\Service\Spec\CustomFieldSpec or in any methods called in the constructor
  1525.   protected $tableName;
  1526.  
  1527.  
  1528. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:24:13 - Property Civi\Api4\Service\Spec\CustomFieldSpec::$columnName is not defined in constructor of Civi\Api4\Service\Spec\CustomFieldSpec or in any methods called in the constructor
  1529.   protected $columnName;
  1530.  
  1531.  
  1532. INFO: MissingParamType - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:29:31 - Parameter $dataType has no provided type
  1533.   public function setDataType($dataType) {
  1534.  
  1535.  
  1536. ERROR: InvalidPropertyAssignmentValue - api/Civi/Api4/Service/Spec/CustomFieldSpec.php:77:26 - $this->customGroup with declared type 'int' cannot be assigned type 'string'
  1537.     $this->customGroup = $customGroupName;
  1538.  
  1539.  
  1540. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:21:13 - Property Civi\Api4\Service\Spec\FieldSpec::$title is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1541.   protected $title;
  1542.  
  1543.  
  1544. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:31:13 - Property Civi\Api4\Service\Spec\FieldSpec::$description is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1545.   protected $description;
  1546.  
  1547.  
  1548. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:41:13 - Property Civi\Api4\Service\Spec\FieldSpec::$requiredIf is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1549.   protected $requiredIf;
  1550.  
  1551.  
  1552. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:46:13 - Property Civi\Api4\Service\Spec\FieldSpec::$options is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1553.   protected $options;
  1554.  
  1555.  
  1556. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:56:13 - Property Civi\Api4\Service\Spec\FieldSpec::$fkEntity is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1557.   protected $fkEntity;
  1558.  
  1559.  
  1560. INFO: PropertyNotSetInConstructor - api/Civi/Api4/Service/Spec/FieldSpec.php:61:13 - Property Civi\Api4\Service\Spec\FieldSpec::$serialize is not defined in constructor of Civi\Api4\Service\Spec\FieldSpec or in any methods called in the constructor
  1561.   protected $serialize;
  1562.  
  1563.  
  1564. INFO: InvalidDocblockParamName - api/Civi/Api4/Service/Spec/FieldSpec.php:190:18 - Incorrect param name $required in docblock for Civi\Api4\Service\Spec\FieldSpec::setRequiredIf
  1565.   /**
  1566.    * @param bool $required
  1567.    *
  1568.    * @return $this
  1569.    */
  1570.   public function setRequiredIf($requiredIf) {
  1571.  
  1572.  
  1573. INFO: MissingParamType - api/Civi/Api4/Service/Spec/FieldSpec.php:194:33 - Parameter $requiredIf has no provided type
  1574.   public function setRequiredIf($requiredIf) {
  1575.  
  1576.  
  1577. INFO: MissingParamType - api/Civi/Api4/Service/Spec/FieldSpec.php:213:31 - Parameter $dataType has no provided type
  1578.   public function setDataType($dataType) {
  1579.  
  1580.  
  1581. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/FieldSpec.php:237:19 - Method Civi\Api4\Service\Spec\FieldSpec::setSerialize does not have a return type, expecting void
  1582.   public function setSerialize($serialize) {
  1583.  
  1584.  
  1585. ERROR: PossiblyNullPropertyAssignmentValue - api/Civi/Api4/Service/Spec/FieldSpec.php:238:24 - $this->serialize with non-nullable declared type 'int' cannot be assigned nullable type 'int|null'
  1586.     $this->serialize = $serialize;
  1587.  
  1588.  
  1589. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/FieldSpec.php:250:24 - Class or interface CRM_Utils_Type does not exist
  1590.     return array_merge(\CRM_Utils_Type::dataTypes(), $extraTypes);
  1591.  
  1592.  
  1593. ERROR: UndefinedDocblockClass - api/Civi/Api4/Service/Spec/FieldSpec.php:265:14 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1594.       $dao = CoreUtil::getDAOFromApiName($this->getEntity());
  1595.  
  1596.  
  1597. INFO: InvalidStringClass - api/Civi/Api4/Service/Spec/FieldSpec.php:266:18 - String cannot be used as a class
  1598.       $options = $dao::buildOptions($fieldName);
  1599.  
  1600.  
  1601. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/FieldSpec.php:266:18 - Class or interface CRM_Core_DAO does not exist
  1602.       $options = $dao::buildOptions($fieldName);
  1603.  
  1604.  
  1605. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php:13:37 - Cannot call method setRequired on possibly null value
  1606.     $spec->getFieldByName('title')->setRequired(TRUE);
  1607.  
  1608.  
  1609. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php:14:42 - Cannot call method setRequired on possibly null value
  1610.     $spec->getFieldByName('mapping_id')->setRequired(TRUE);
  1611.  
  1612.  
  1613. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php:15:44 - Cannot call method setRequired on possibly null value
  1614.     $spec->getFieldByName('entity_value')->setRequired(TRUE);
  1615.  
  1616.  
  1617. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php:16:49 - Cannot call method setRequiredIf on possibly null value
  1618.     $spec->getFieldByName('start_action_date')->setRequiredIf('empty($values.absolute_date)');
  1619.  
  1620.  
  1621. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ActionScheduleCreationSpecProvider.php:17:45 - Cannot call method setRequiredIf on possibly null value
  1622.     $spec->getFieldByName('absolute_date')->setRequiredIf('empty($values.start_action_date)');
  1623.  
  1624.  
  1625. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php:15:42 - Cannot call method setRequired on possibly null value
  1626.     $spec->getFieldByName('contact_id')->setRequired(TRUE);
  1627.  
  1628.  
  1629. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/AddressCreationSpecProvider.php:16:48 - Cannot call method setRequired on possibly null value
  1630.     $spec->getFieldByName('location_type_id')->setRequired(TRUE);
  1631.  
  1632.  
  1633. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php:14:9 - Cannot call method setRequired on possibly null value
  1634.       ->setRequired(TRUE)
  1635.  
  1636.  
  1637. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php:17:42 - Cannot call method setRequired on possibly null value
  1638.     $spec->getFieldByName('is_opt_out')->setRequired(FALSE);
  1639.  
  1640.  
  1641. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactCreationSpecProvider.php:18:42 - Cannot call method setRequired on possibly null value
  1642.     $spec->getFieldByName('is_deleted')->setRequired(FALSE);
  1643.  
  1644.  
  1645. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactTypeCreationSpecProvider.php:13:37 - Cannot call method setRequired on possibly null value
  1646.     $spec->getFieldByName('label')->setRequired(TRUE);
  1647.  
  1648.  
  1649. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactTypeCreationSpecProvider.php:14:36 - Cannot call method setRequired on possibly null value
  1650.     $spec->getFieldByName('name')->setRequired(TRUE);
  1651.  
  1652.  
  1653. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContactTypeCreationSpecProvider.php:15:41 - Cannot call method setRequired on possibly null value
  1654.     $spec->getFieldByName('parent_id')->setRequired(TRUE);
  1655.  
  1656.  
  1657. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContributionCreationSpecProvider.php:12:49 - Cannot call method setRequired on possibly null value
  1658.     $spec->getFieldByName('financial_type_id')->setRequired(TRUE);
  1659.  
  1660.  
  1661. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/ContributionCreationSpecProvider.php:13:44 - Cannot call method setDefaultValue on possibly null value
  1662.     $spec->getFieldByName('receive_date')->setDefaultValue('now');
  1663.  
  1664.  
  1665. ERROR: InvalidReturnType - api/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php:11:19 - The declared return type 'void' for Civi\Api4\Service\Spec\Provider\CustomGroupCreationSpecProvider::modifySpec is incorrect, got 'Civi\Api4\Service\Spec\FieldSpec'
  1666.   public function modifySpec(RequestSpec $spec) {
  1667.  
  1668.  
  1669. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/CustomGroupCreationSpecProvider.php:12:46 - Cannot call method setRequired on possibly null value
  1670.     return $spec->getFieldByName('extends')->setRequired(TRUE);
  1671.  
  1672.  
  1673. ERROR: UndefinedFunction - api/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php:17:26 - Function Civi\Api4\Service\Spec\Provider\ts does not exist
  1674.       $idField->setTitle(ts('Custom Value ID'));
  1675.  
  1676.  
  1677. ERROR: InvalidReturnType - api/Civi/Api4/Service/Spec/Provider/CustomValueSpecProvider.php:30:19 - The declared return type 'bool' for Civi\Api4\Service\Spec\Provider\CustomValueSpecProvider::applies is incorrect, got 'string|false'
  1678.   public function applies($entity, $action) {
  1679.  
  1680.  
  1681. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php:12:42 - Cannot call method setRequired on possibly null value
  1682.     $spec->getFieldByName('contact_id')->setRequired(TRUE);
  1683.  
  1684.  
  1685. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php:13:37 - Cannot call method setRequired on possibly null value
  1686.     $spec->getFieldByName('email')->setRequired(TRUE);
  1687.  
  1688.  
  1689. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php:14:39 - Cannot call method setRequired on possibly null value
  1690.     $spec->getFieldByName('on_hold')->setRequired(FALSE);
  1691.  
  1692.  
  1693. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EmailCreationSpecProvider.php:15:43 - Cannot call method setRequired on possibly null value
  1694.     $spec->getFieldByName('is_bulkmail')->setRequired(FALSE);
  1695.  
  1696.  
  1697. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EntityTagCreationSpecProvider.php:14:44 - Cannot call method setRequired on possibly null value
  1698.     $spec->getFieldByName('entity_table')->setRequired(TRUE);
  1699.  
  1700.  
  1701. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/EventCreationSpecProvider.php:12:43 - Cannot call method setRequired on possibly null value
  1702.     $spec->getFieldByName('is_template')->setRequired(FALSE);
  1703.  
  1704.  
  1705. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/GroupCreationSpecProvider.php:12:37 - Cannot call method setRequired on possibly null value
  1706.     $spec->getFieldByName('title')->setRequired(TRUE);
  1707.  
  1708.  
  1709. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/NavigationCreationSpecProvider.php:12:41 - Cannot call method setRequired on possibly null value
  1710.     $spec->getFieldByName('domain_id')->setRequired(FALSE);
  1711.  
  1712.  
  1713. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php:14:36 - Cannot call method setRequired on possibly null value
  1714.     $spec->getFieldByName('note')->setRequired(TRUE);
  1715.  
  1716.  
  1717. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/NoteCreationSpecProvider.php:15:44 - Cannot call method setDefaultValue on possibly null value
  1718.     $spec->getFieldByName('entity_table')->setDefaultValue('civicrm_contact');
  1719.  
  1720.  
  1721. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php:12:38 - Cannot call method setRequired on possibly null value
  1722.     $spec->getFieldByName('weight')->setRequired(FALSE);
  1723.  
  1724.  
  1725. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/OptionValueCreationSpecProvider.php:13:37 - Cannot call method setRequired on possibly null value
  1726.     $spec->getFieldByName('value')->setRequired(FALSE);
  1727.  
  1728.  
  1729. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php:12:42 - Cannot call method setRequired on possibly null value
  1730.     $spec->getFieldByName('contact_id')->setRequired(TRUE);
  1731.  
  1732.  
  1733. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/PhoneCreationSpecProvider.php:13:37 - Cannot call method setRequired on possibly null value
  1734.     $spec->getFieldByName('phone')->setRequired(TRUE);
  1735.  
  1736.  
  1737. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/TagCreationSpecProvider.php:14:40 - Cannot call method setDefaultValue on possibly null value
  1738.     $spec->getFieldByName('used_for')->setDefaultValue('civicrm_contact');
  1739.  
  1740.  
  1741. ERROR: PossiblyNullReference - api/Civi/Api4/Service/Spec/Provider/UFFieldCreationSpecProvider.php:12:37 - Cannot call method setRequired on possibly null value
  1742.     $spec->getFieldByName('label')->setRequired(FALSE);
  1743.  
  1744.  
  1745. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/RequestSpec.php:31:19 - Method Civi\Api4\Service\Spec\RequestSpec::addFieldSpec does not have a return type, expecting void
  1746.   public function addFieldSpec(FieldSpec $field) {
  1747.  
  1748.  
  1749. INFO: MissingParamType - api/Civi/Api4/Service/Spec/RequestSpec.php:40:34 - Parameter $name has no provided type
  1750.   public function getFieldByName($name) {
  1751.  
  1752.  
  1753. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/SpecFormatter.php:47:32 - Class or interface CRM_Utils_Array does not exist
  1754.       $field->setCustomFieldId(ArrayHelper::value('id', $data));
  1755.  
  1756.  
  1757. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/SpecFormatter.php:111:20 - Class or interface CRM_Utils_Array does not exist
  1758.     $dataTypeInt = ArrayHelper::value('type', $data);
  1759.  
  1760.  
  1761. ERROR: UndefinedDocblockClass - api/Civi/Api4/Service/Spec/SpecGatherer.php:19:11 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1762.   /**
  1763.    * A cache of DAOs based on entity
  1764.    *
  1765.    * @var \CRM_Core_DAO[]
  1766.    */
  1767.   protected $DAONames;
  1768.  
  1769.  
  1770. INFO: MissingConstructor - api/Civi/Api4/Service/Spec/SpecGatherer.php:21:13 - Civi\Api4\Service\Spec\SpecGatherer has an uninitialized variable $this->DAONames, but no constructor
  1771.   protected $DAONames;
  1772.  
  1773.  
  1774. INFO: MissingParamType - api/Civi/Api4/Service/Spec/SpecGatherer.php:34:45 - Parameter $includeCustom has no provided type
  1775.   public function getSpec($entity, $action, $includeCustom) {
  1776.  
  1777.  
  1778. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/SpecGatherer.php:40:55 - Class or interface CRM_Core_SelectValues does not exist
  1779.       if ($includeCustom && array_key_exists($entity, \CRM_Core_SelectValues::customGroupExtends())) {
  1780.  
  1781.  
  1782. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/SpecGatherer.php:61:19 - Method Civi\Api4\Service\Spec\SpecGatherer::addSpecProvider does not have a return type, expecting void
  1783.   public function addSpecProvider(SpecProviderInterface $provider) {
  1784.  
  1785.  
  1786. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/SpecGatherer.php:69:20 - Method Civi\Api4\Service\Spec\SpecGatherer::addDAOFields does not have a return type, expecting void
  1787.   private function addDAOFields($entity, $action, RequestSpec $specification) {
  1788.  
  1789.  
  1790. INFO: MissingParamType - api/Civi/Api4/Service/Spec/SpecGatherer.php:69:42 - Parameter $action has no provided type
  1791.   private function addDAOFields($entity, $action, RequestSpec $specification) {
  1792.  
  1793.  
  1794. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/SpecGatherer.php:91:20 - Method Civi\Api4\Service\Spec\SpecGatherer::addCustomFields does not have a return type, expecting void
  1795.   private function addCustomFields($entity, RequestSpec $specification) {
  1796.  
  1797.  
  1798. INFO: MissingReturnType - api/Civi/Api4/Service/Spec/SpecGatherer.php:109:20 - Method Civi\Api4\Service\Spec\SpecGatherer::getCustomGroupFields does not have a return type, expecting void
  1799.   private function getCustomGroupFields($customGroup, RequestSpec $specification) {
  1800.  
  1801.  
  1802. ERROR: UndefinedDocblockClass - api/Civi/Api4/Service/Spec/SpecGatherer.php:127:12 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1803.     $dao = CoreUtil::getDAOFromApiName($entityName);
  1804.  
  1805.  
  1806. ERROR: UndefinedClass - api/Civi/Api4/Service/Spec/SpecGatherer.php:129:12 - Class or interface CRM_Core_DAO does not exist
  1807.     return $dao::fields();
  1808.  
  1809.  
  1810. INFO: InvalidStringClass - api/Civi/Api4/Service/Spec/SpecGatherer.php:129:12 - String cannot be used as a class
  1811.     return $dao::fields();
  1812.  
  1813.  
  1814. INFO: MissingReturnType - api/Civi/Api4/Setting.php:14:26 - Method Civi\Api4\Setting::get does not have a return type, expecting Civi\Api4\Action\Setting\Get
  1815.   public static function get() {
  1816.  
  1817.  
  1818. INFO: MissingReturnType - api/Civi/Api4/Setting.php:18:26 - Method Civi\Api4\Setting::set does not have a return type, expecting Civi\Api4\Action\Setting\Set
  1819.   public static function set() {
  1820.  
  1821.  
  1822. INFO: MissingReturnType - api/Civi/Api4/Setting.php:22:26 - Method Civi\Api4\Setting::revert does not have a return type, expecting Civi\Api4\Action\Setting\Revert
  1823.   public static function revert() {
  1824.  
  1825.  
  1826. INFO: MissingReturnType - api/Civi/Api4/Setting.php:26:26 - Method Civi\Api4\Setting::getFields does not have a return type, expecting Civi\Api4\Action\Setting\GetFields
  1827.   public static function getFields() {
  1828.  
  1829.  
  1830. INFO: MissingReturnType - api/Civi/Api4/System.php:13:26 - Method Civi\Api4\System::flush does not have a return type, expecting Civi\Api4\Action\System\Flush
  1831.   public static function flush() {
  1832.  
  1833.  
  1834. INFO: MissingReturnType - api/Civi/Api4/System.php:17:26 - Method Civi\Api4\System::check does not have a return type, expecting Civi\Api4\Action\System\Check
  1835.   public static function check() {
  1836.  
  1837.  
  1838. INFO: MissingReturnType - api/Civi/Api4/System.php:21:26 - Method Civi\Api4\System::getFields does not have a return type, expecting Civi\Api4\Generic\BasicGetFieldsAction
  1839.   public static function getFields() {
  1840.  
  1841.  
  1842. INFO: MissingParamType - api/Civi/Api4/Utils/ActionUtil.php:13:36 - Parameter $entityName has no provided type
  1843.   public static function getAction($entityName, $actionName) {
  1844.  
  1845.  
  1846. INFO: MissingParamType - api/Civi/Api4/Utils/ActionUtil.php:13:49 - Parameter $actionName has no provided type
  1847.   public static function getAction($entityName, $actionName) {
  1848.  
  1849.  
  1850. ERROR: UndefinedClass - api/Civi/Api4/Utils/ActionUtil.php:21:19 - Class or interface Civi\API\Exception\NotImplementedException does not exist
  1851.         throw new \Civi\API\Exception\NotImplementedException("API ($entityName, $actionName) does not exist (join the API team and implement it!)");
  1852.  
  1853.  
  1854. INFO: MissingReturnType - api/Civi/Api4/Utils/ArrayInsertionUtil.php:20:26 - Method Civi\Api4\Utils\ArrayInsertionUtil::insert does not have a return type, expecting void
  1855.   public static function insert(&$array, $parts, $values) {
  1856.  
  1857.  
  1858. INFO: MissingParamType - api/Civi/Api4/Utils/ArrayInsertionUtil.php:20:34 - Parameter $array has no provided type
  1859.   public static function insert(&$array, $parts, $values) {
  1860.  
  1861.  
  1862. INFO: MissingParamType - api/Civi/Api4/Utils/ArrayInsertionUtil.php:49:40 - Parameter $parentArray has no provided type
  1863.   private static function filterValues($parentArray, $isMulti, $values) {
  1864.  
  1865.  
  1866. INFO: MissingParamType - api/Civi/Api4/Utils/ArrayInsertionUtil.php:49:54 - Parameter $isMulti has no provided type
  1867.   private static function filterValues($parentArray, $isMulti, $values) {
  1868.  
  1869.  
  1870. INFO: MissingParamType - api/Civi/Api4/Utils/ArrayInsertionUtil.php:49:64 - Parameter $values has no provided type
  1871.   private static function filterValues($parentArray, $isMulti, $values) {
  1872.  
  1873.  
  1874. ERROR: UndefinedClass - api/Civi/Api4/Utils/ArrayInsertionUtil.php:50:17 - Class or interface CRM_Utils_Array does not exist
  1875.     $parentID = UtilsArray::value('id', $parentArray);
  1876.  
  1877.  
  1878. ERROR: MissingFile - api/Civi/Api4/Utils/CoreUtil.php:7:1 - Cannot find file /home/coolife/git-repos/gsoc/api/v3/utils.php to include
  1879. require_once 'api/v3/utils.php';
  1880.  
  1881.  
  1882. ERROR: UndefinedDocblockClass - api/Civi/Api4/Utils/CoreUtil.php:16:14 - Docblock-defined class or interface CRM_Core_DAO does not exist
  1883.   /**
  1884.    * todo this class should not rely on api3 code
  1885.    *
  1886.    * @param $entityName
  1887.    *
  1888.    * @return \CRM_Core_DAO|string
  1889.    *   The DAO name for use in static calls. Return doc block is hacked to allow
  1890.    *   auto-completion of static methods
  1891.    */
  1892.   public static function getDAOFromApiName($entityName) {
  1893.  
  1894.  
  1895. INFO: MissingParamType - api/Civi/Api4/Utils/CoreUtil.php:20:44 - Parameter $entityName has no provided type
  1896.   public static function getDAOFromApiName($entityName) {
  1897.  
  1898.  
  1899. ERROR: UndefinedFunction - api/Civi/Api4/Utils/CoreUtil.php:24:12 - Function _civicrm_api3_get_DAO does not exist
  1900.     return \_civicrm_api3_get_DAO($entityName);
  1901.  
  1902.  
  1903. ERROR: PossiblyNullArrayAccess - api/Civi/Api4/Utils/CoreUtil.php:35:12 - Cannot access array value on possibly null variable  of type array<array-key, mixed>|null
  1904.     return CustomGroup::get()
  1905.       ->addSelect('table_name')
  1906.       ->addWhere('name', '=', $customGroupName)
  1907.       ->execute()
  1908.       ->first()['table_name'];
  1909.  
  1910.  
  1911. ERROR: MissingFile - api/Civi/Api4/Utils/FormattingUtil.php:7:1 - Cannot find file /home/coolife/git-repos/gsoc/api/v3/utils.php to include
  1912. require_once 'api/v3/utils.php';
  1913.  
  1914.  
  1915. INFO: MissingReturnType - api/Civi/Api4/Utils/FormattingUtil.php:19:26 - Method Civi\Api4\Utils\FormattingUtil::formatWriteParams does not have a return type, expecting void
  1916.   public static function formatWriteParams(&$params, $entity, $fields) {
  1917.  
  1918.  
  1919. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:19:45 - Parameter $params has no provided type
  1920.   public static function formatWriteParams(&$params, $entity, $fields) {
  1921.  
  1922.  
  1923. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:19:54 - Parameter $entity has no provided type
  1924.   public static function formatWriteParams(&$params, $entity, $fields) {
  1925.  
  1926.  
  1927. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:19:63 - Parameter $fields has no provided type
  1928.   public static function formatWriteParams(&$params, $entity, $fields) {
  1929.  
  1930.  
  1931. INFO: MissingReturnType - api/Civi/Api4/Utils/FormattingUtil.php:61:26 - Method Civi\Api4\Utils\FormattingUtil::formatValue does not have a return type, expecting void
  1932.   public static function formatValue(&$value, $fieldSpec, $entity) {
  1933.  
  1934.  
  1935. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:61:39 - Parameter $value has no provided type
  1936.   public static function formatValue(&$value, $fieldSpec, $entity) {
  1937.  
  1938.  
  1939. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:61:47 - Parameter $fieldSpec has no provided type
  1940.   public static function formatValue(&$value, $fieldSpec, $entity) {
  1941.  
  1942.  
  1943. INFO: MissingParamType - api/Civi/Api4/Utils/FormattingUtil.php:61:59 - Parameter $entity has no provided type
  1944.   public static function formatValue(&$value, $fieldSpec, $entity) {
  1945.  
  1946.  
  1947. ERROR: UndefinedClass - api/Civi/Api4/Utils/FormattingUtil.php:68:11 - Class or interface CRM_Utils_Array does not exist
  1948.     $fk = UtilsArray::value('fk_entity', $fieldSpec);
  1949.  
  1950.  
  1951. ERROR: PossiblyUndefinedMethod - api/Civi/Api4/Utils/ReflectionUtils.php:42:46 - Method Reflector::getdoccomment does not exist
  1952.     $docs = self::parseDocBlock($reflection->getDocComment());
  1953.  
  1954.  
  1955. ERROR: PossiblyUndefinedMethod - api/Civi/Api4/Utils/ReflectionUtils.php:50:32 - Method Reflector::getname does not exist
  1956.           $name = $reflection->getName();
  1957.  
  1958.  
  1959. ERROR: UndefinedMethod - api/Civi/Api4/Utils/ReflectionUtils.php:51:43 - Method ReflectionClass::getdeclaringclass does not exist
  1960.           $reflectionClass = $reflection->getDeclaringClass()->getParentClass();
  1961.  
  1962.  
  1963. ERROR: PossiblyUndefinedMethod - api/Civi/Api4/Utils/ReflectionUtils.php:58:41 - Method Reflector::getparentclass does not exist
  1964.           $newReflection = $reflection->getParentClass();
  1965.  
  1966.  
  1967. ERROR: PossiblyInvalidCast - api/Civi/Api4/Utils/ReflectionUtils.php:110:56 - non-empty-array<int, string> cannot be cast to string
  1968.         $info['comment'] = isset($info['comment']) ? "{$info['comment']}\n$line" : $line;
  1969.  
  1970.  
  1971. ERROR: PossiblyInvalidArgument - api/Civi/Api4/Utils/ReflectionUtils.php:114:31 - Argument 1 of trim expects string, possibly different type non-empty-array<int, string>|string|true provided
  1972.       $info['comment'] = trim($info['comment']);
  1973.  
  1974.  
  1975. ERROR: LoopInvalidation - api/Civi/Api4/Utils/ReflectionUtils.php:133:7 - Variable $traits has already been assigned in a for/foreach loop
  1976.       $traits = array_merge(class_uses($trait), $traits);
  1977.  
  1978.  
  1979. ERROR: UndefinedFunction - api/api4.civix.php:31:12 - Function ts does not exist
  1980.     return ts($text, $params);
  1981.  
  1982.  
  1983. ERROR: UndefinedClass - api/api4.civix.php:46:20 - Class or interface CRM_Core_Resources does not exist
  1984.       return rtrim(CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME), '/');
  1985.  
  1986.  
  1987. ERROR: UndefinedClass - api/api4.civix.php:48:12 - Class or interface CRM_Core_Resources does not exist
  1988.     return CRM_Core_Resources::singleton()->getUrl(self::LONG_NAME, $file);
  1989.  
  1990.  
  1991. INFO: MissingReturnType - api/api4.civix.php:87:10 - Method _api4_civix_civicrm_config does not have a return type, expecting void
  1992. function _api4_civix_civicrm_config(&$config = NULL) {
  1993.  
  1994.  
  1995. INFO: MissingParamType - api/api4.civix.php:87:38 - Parameter $config has no provided type
  1996. function _api4_civix_civicrm_config(&$config = NULL) {
  1997.  
  1998.  
  1999. ERROR: UndefinedClass - api/api4.civix.php:94:16 - Class or interface CRM_Core_Smarty does not exist
  2000.   $template =& CRM_Core_Smarty::singleton();
  2001.  
  2002.  
  2003. INFO: MissingReturnType - api/api4.civix.php:117:10 - Method _api4_civix_civicrm_xmlMenu does not have a return type, expecting void
  2004. function _api4_civix_civicrm_xmlMenu(&$files) {
  2005.  
  2006.  
  2007. INFO: MissingParamType - api/api4.civix.php:117:39 - Parameter $files has no provided type
  2008. function _api4_civix_civicrm_xmlMenu(&$files) {
  2009.  
  2010.  
  2011. INFO: MissingReturnType - api/api4.civix.php:128:10 - Method _api4_civix_civicrm_install does not have a return type, expecting void
  2012. function _api4_civix_civicrm_install() {
  2013.  
  2014.  
  2015. INFO: MissingReturnType - api/api4.civix.php:140:10 - Method _api4_civix_civicrm_postInstall does not have a return type, expecting void
  2016. function _api4_civix_civicrm_postInstall() {
  2017.  
  2018.  
  2019. INFO: MissingReturnType - api/api4.civix.php:154:10 - Method _api4_civix_civicrm_uninstall does not have a return type, expecting void
  2020. function _api4_civix_civicrm_uninstall() {
  2021.  
  2022.  
  2023. INFO: MissingReturnType - api/api4.civix.php:166:10 - Method _api4_civix_civicrm_enable does not have a return type, expecting void
  2024. function _api4_civix_civicrm_enable() {
  2025.  
  2026.  
  2027. ERROR: InvalidReturnType - api/api4.civix.php:179:12 - No return statements were found for method _api4_civix_civicrm_disable but return type 'mixed' was expected
  2028. /**
  2029.  * (Delegated) Implements hook_civicrm_disable().
  2030.  *
  2031.  * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
  2032.  * @return mixed
  2033.  */
  2034. function _api4_civix_civicrm_disable() {
  2035.   _api4_civix_civicrm_config();
  2036.   if ($upgrader = _api4_civix_upgrader()) {
  2037.     if (is_callable(array($upgrader, 'onDisable'))) {
  2038.  
  2039.  
  2040. ERROR: UndefinedClass - api/api4.civix.php:201:43 - Class or interface CRM_Queue_Queue does not exist
  2041. function _api4_civix_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
  2042.  
  2043.  
  2044. ERROR: NullableReturnStatement - api/api4.civix.php:212:12 - The declared return type 'CRM_Api4_Upgrader' for _api4_civix_upgrader is not nullable, but the function returns 'null'
  2045.     return NULL;
  2046.  
  2047.  
  2048. INFO: InvalidDocblock - api/api4.civix.php:229:1 - Bracket must be preceded by “Closure”, “callable” or a valid @method name in docblock for _api4_civix_find_files
  2049. /**
  2050.  * Search directory tree for files which match a glob pattern
  2051.  *
  2052.  * Note: Dot-directories (like "..", ".git", or ".svn") will be ignored.
  2053.  * Note: In Civi 4.3+, delegate to CRM_Utils_File::findFiles()
  2054.  *
  2055.  * @param $dir string, base dir
  2056.  * @param $pattern string, glob pattern, eg "*.txt"
  2057.  * @return array(string)
  2058.  */
  2059. function _api4_civix_find_files($dir, $pattern) {
  2060.  
  2061.  
  2062. INFO: MissingReturnType - api/api4.civix.php:229:10 - Method _api4_civix_find_files does not have a return type
  2063. function _api4_civix_find_files($dir, $pattern) {
  2064.  
  2065.  
  2066. INFO: MissingParamType - api/api4.civix.php:229:33 - Parameter $dir has no provided type
  2067. function _api4_civix_find_files($dir, $pattern) {
  2068.  
  2069.  
  2070. INFO: MissingParamType - api/api4.civix.php:229:39 - Parameter $pattern has no provided type
  2071. function _api4_civix_find_files($dir, $pattern) {
  2072.  
  2073.  
  2074. ERROR: UndefinedClass - api/api4.civix.php:231:12 - Class or interface CRM_Utils_File does not exist
  2075.     return CRM_Utils_File::findFiles($dir, $pattern);
  2076.  
  2077.  
  2078. INFO: MissingReturnType - api/api4.civix.php:264:10 - Method _api4_civix_civicrm_managed does not have a return type, expecting void
  2079. function _api4_civix_civicrm_managed(&$entities) {
  2080.  
  2081.  
  2082. INFO: MissingParamType - api/api4.civix.php:264:39 - Parameter $entities has no provided type
  2083. function _api4_civix_civicrm_managed(&$entities) {
  2084.  
  2085.  
  2086. INFO: UnresolvableInclude - api/api4.civix.php:267:11 - Cannot resolve the given expression to a file path
  2087.     $es = include $file;
  2088.  
  2089.  
  2090. INFO: MissingReturnType - api/api4.civix.php:289:10 - Method _api4_civix_civicrm_caseTypes does not have a return type, expecting void
  2091. function _api4_civix_civicrm_caseTypes(&$caseTypes) {
  2092.  
  2093.  
  2094. INFO: MissingParamType - api/api4.civix.php:289:41 - Parameter $caseTypes has no provided type
  2095. function _api4_civix_civicrm_caseTypes(&$caseTypes) {
  2096.  
  2097.  
  2098. ERROR: UndefinedClass - api/api4.civix.php:296:18 - Class or interface CRM_Case_XMLProcessor does not exist
  2099.     if ($name != CRM_Case_XMLProcessor::mungeCaseType($name)) {
  2100.  
  2101.  
  2102. ERROR: UndefinedClass - api/api4.civix.php:297:85 - Class or interface CRM_Case_XMLProcessor does not exist
  2103.       $errorMessage = sprintf("Case-type file name is malformed (%s vs %s)", $name, CRM_Case_XMLProcessor::mungeCaseType($name));
  2104.  
  2105.  
  2106. ERROR: UndefinedClass - api/api4.civix.php:298:7 - Class or interface CRM_Core_Error does not exist
  2107.       CRM_Core_Error::fatal($errorMessage);
  2108.  
  2109.  
  2110. INFO: MissingReturnType - api/api4.civix.php:318:10 - Method _api4_civix_civicrm_angularModules does not have a return type, expecting void
  2111. function _api4_civix_civicrm_angularModules(&$angularModules) {
  2112.  
  2113.  
  2114. INFO: MissingParamType - api/api4.civix.php:318:46 - Parameter $angularModules has no provided type
  2115. function _api4_civix_civicrm_angularModules(&$angularModules) {
  2116.  
  2117.  
  2118. INFO: UnresolvableInclude - api/api4.civix.php:326:15 - Cannot resolve the given expression to a file path
  2119.     $module = include $file;
  2120.  
  2121.  
  2122. INFO: InvalidDocblock - api/api4.civix.php:346:1 - Cannot parse comma without a parent node in docblock for _api4_civix_glob
  2123. /**
  2124.  * Glob wrapper which is guaranteed to return an array.
  2125.  *
  2126.  * The documentation for glob() says, "On some systems it is impossible to
  2127. * distinguish between empty match and an error." Anecdotally, the return
  2128.  * result for an empty match is sometimes array() and sometimes FALSE.
  2129.  * This wrapper provides consistency.
  2130.  *
  2131.  * @link http://php.net/glob
  2132.  * @param string $pattern
  2133.  * @return array, possibly empty
  2134.  */
  2135. function _api4_civix_glob($pattern) {
  2136.  
  2137.  
  2138. INFO: MissingReturnType - api/api4.civix.php:346:10 - Method _api4_civix_glob does not have a return type, expecting array<int, string>
  2139. function _api4_civix_glob($pattern) {
  2140.  
  2141.  
  2142. INFO: MissingReturnType - api/api4.civix.php:360:10 - Method _api4_civix_insert_navigation_menu does not have a return type
  2143. function _api4_civix_insert_navigation_menu(&$menu, $path, $item) {
  2144.  
  2145.  
  2146. ERROR: UndefinedClass - api/api4.civix.php:365:25 - Class or interface CRM_Utils_Array does not exist
  2147.         'label'      => CRM_Utils_Array::value('name', $item),
  2148.  
  2149.  
  2150. ERROR: TooManyArguments - api/api4.civix.php:381:18 - Too many arguments for method _api4_civix_insert_navigation_menu - expecting 3 but saw 4
  2151.         $found = _api4_civix_insert_navigation_menu($entry['child'], implode('/', $path), $item, $key);
  2152.  
  2153.  
  2154. INFO: MissingReturnType - api/api4.civix.php:391:10 - Method _api4_civix_navigationMenu does not have a return type, expecting void
  2155. function _api4_civix_navigationMenu(&$nodes) {
  2156.  
  2157.  
  2158. INFO: MissingParamType - api/api4.civix.php:391:38 - Parameter $nodes has no provided type
  2159. function _api4_civix_navigationMenu(&$nodes) {
  2160.  
  2161.  
  2162. INFO: MissingReturnType - api/api4.civix.php:401:10 - Method _api4_civix_fixNavigationMenu does not have a return type, expecting void
  2163. function _api4_civix_fixNavigationMenu(&$nodes) {
  2164.  
  2165.  
  2166. INFO: MissingParamType - api/api4.civix.php:401:41 - Parameter $nodes has no provided type
  2167. function _api4_civix_fixNavigationMenu(&$nodes) {
  2168.  
  2169.  
  2170. INFO: MissingClosureParamType - api/api4.civix.php:403:41 - Parameter $item has no provided type
  2171.   array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) {
  2172.  
  2173.  
  2174. INFO: MissingClosureParamType - api/api4.civix.php:403:48 - Parameter $key has no provided type
  2175.   array_walk_recursive($nodes, function($item, $key) use (&$maxNavID) {
  2176.  
  2177.  
  2178. INFO: MissingReturnType - api/api4.civix.php:411:10 - Method _api4_civix_fixNavigationMenuItems does not have a return type, expecting void
  2179. function _api4_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) {
  2180.  
  2181.  
  2182. INFO: MissingParamType - api/api4.civix.php:411:46 - Parameter $nodes has no provided type
  2183. function _api4_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) {
  2184.  
  2185.  
  2186. INFO: MissingParamType - api/api4.civix.php:411:55 - Parameter $maxNavID has no provided type
  2187. function _api4_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) {
  2188.  
  2189.  
  2190. INFO: MissingParamType - api/api4.civix.php:411:66 - Parameter $parentID has no provided type
  2191. function _api4_civix_fixNavigationMenuItems(&$nodes, &$maxNavID, $parentID) {
  2192.  
  2193.  
  2194. INFO: MissingReturnType - api/api4.civix.php:436:10 - Method _api4_civix_civicrm_alterSettingsFolders does not have a return type, expecting void
  2195. function _api4_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
  2196.  
  2197.  
  2198. INFO: MissingParamType - api/api4.civix.php:436:52 - Parameter $metaDataFolders has no provided type
  2199. function _api4_civix_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
  2200.  
  2201.  
  2202. INFO: MissingReturnType - api/api4.civix.php:457:10 - Method _api4_civix_civicrm_entityTypes does not have a return type, expecting void
  2203. function _api4_civix_civicrm_entityTypes(&$entityTypes) {
  2204.  
  2205.  
  2206. INFO: MissingParamType - api/api4.civix.php:457:43 - Parameter $entityTypes has no provided type
  2207. function _api4_civix_civicrm_entityTypes(&$entityTypes) {
  2208.  
  2209.  
  2210. ERROR: MissingFile - api/api4.php:4:1 - Cannot find file /home/coolife/git-repos/gsoc/api/Exception.php to include
  2211. require_once 'api/Exception.php';
  2212.  
  2213.  
  2214. ERROR: UndefinedClass - api/api4.php:34:39 - Class or interface CRM_Utils_Rule does not exist
  2215.   if ($index && is_string($index) && !CRM_Utils_Rule::integer($index)) {
  2216.  
  2217.  
  2218. ERROR: UndefinedDocblockClass - api/api4.php:54:11 - Docblock-defined class or interface Symfony\Component\DependencyInjection\ContainerBuilder does not exist
  2219. /**
  2220.  * @param ContainerBuilder $container
  2221.  */
  2222. function api4_civicrm_container($container) {
  2223.  
  2224.  
  2225. INFO: MissingReturnType - api/api4.php:56:10 - Method api4_civicrm_container does not have a return type, expecting void
  2226. function api4_civicrm_container($container) {
  2227.  
  2228.  
  2229. ERROR: UndefinedDocblockClass - api/api4.php:99:11 - Docblock-defined class or interface Symfony\Component\DependencyInjection\ContainerBuilder does not exist
  2230. /**
  2231.  * Load all services in a given directory
  2232.  *
  2233.  * @param string $namespace
  2234.  * @param ContainerBuilder $container
  2235.  */
  2236. function _api4_load_services($namespace, $tag, $container) {
  2237.  
  2238.  
  2239. INFO: MissingReturnType - api/api4.php:101:10 - Method _api4_load_services does not have a return type, expecting void
  2240. function _api4_load_services($namespace, $tag, $container) {
  2241.  
  2242.  
  2243. INFO: MissingReturnType - api/api4.php:118:10 - Method api4_civicrm_coreResourceList does not have a return type, expecting void
  2244. function api4_civicrm_coreResourceList(&$list, $region) {
  2245.  
  2246.  
  2247. INFO: MissingParamType - api/api4.php:118:41 - Parameter $list has no provided type
  2248. function api4_civicrm_coreResourceList(&$list, $region) {
  2249.  
  2250.  
  2251. INFO: MissingParamType - api/api4.php:118:48 - Parameter $region has no provided type
  2252. function api4_civicrm_coreResourceList(&$list, $region) {
  2253.  
  2254.  
  2255. ERROR: UndefinedClass - api/api4.php:120:5 - Class or interface Civi does not exist
  2256.     Civi::resources()->addScriptFile('org.civicrm.api4', 'js/api4.js', -9000, $region);
  2257.  
  2258.  
  2259. INFO: MissingReturnType - api/api4.php:129:10 - Method api4_civicrm_config does not have a return type, expecting void
  2260. function api4_civicrm_config(&$config) {
  2261.  
  2262.  
  2263. INFO: MissingParamType - api/api4.php:129:31 - Parameter $config has no provided type
  2264. function api4_civicrm_config(&$config) {
  2265.  
  2266.  
  2267. INFO: MissingReturnType - api/api4.php:138:10 - Method api4_civicrm_xmlMenu does not have a return type, expecting void
  2268. function api4_civicrm_xmlMenu(&$files) {
  2269.  
  2270.  
  2271. INFO: MissingParamType - api/api4.php:138:32 - Parameter $files has no provided type
  2272. function api4_civicrm_xmlMenu(&$files) {
  2273.  
  2274.  
  2275. INFO: MissingReturnType - api/api4.php:147:10 - Method api4_civicrm_install does not have a return type, expecting void
  2276. function api4_civicrm_install() {
  2277.  
  2278.  
  2279. INFO: MissingReturnType - api/api4.php:156:10 - Method api4_civicrm_uninstall does not have a return type, expecting void
  2280. function api4_civicrm_uninstall() {
  2281.  
  2282.  
  2283. INFO: MissingReturnType - api/api4.php:165:10 - Method api4_civicrm_enable does not have a return type, expecting void
  2284. function api4_civicrm_enable() {
  2285.  
  2286.  
  2287. INFO: MissingReturnType - api/api4.php:174:10 - Method api4_civicrm_disable does not have a return type, expecting void
  2288. function api4_civicrm_disable() {
  2289.  
  2290.  
  2291. INFO: MissingReturnType - api/api4.php:183:10 - Method api4_civicrm_upgrade does not have a return type
  2292. function api4_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
  2293.  
  2294.  
  2295. ERROR: UndefinedClass - api/api4.php:183:36 - Class or interface CRM_Queue_Queue does not exist
  2296. function api4_civicrm_upgrade($op, CRM_Queue_Queue $queue = NULL) {
  2297.  
  2298.  
  2299. INFO: MissingReturnType - api/api4.php:195:10 - Method api4_civicrm_managed does not have a return type, expecting void
  2300. function api4_civicrm_managed(&$entities) {
  2301.  
  2302.  
  2303. INFO: MissingParamType - api/api4.php:195:32 - Parameter $entities has no provided type
  2304. function api4_civicrm_managed(&$entities) {
  2305.  
  2306.  
  2307. INFO: MissingReturnType - api/api4.php:209:10 - Method api4_civicrm_angularModules does not have a return type, expecting void
  2308. function api4_civicrm_angularModules(&$angularModules) {
  2309.  
  2310.  
  2311. INFO: MissingParamType - api/api4.php:209:39 - Parameter $angularModules has no provided type
  2312. function api4_civicrm_angularModules(&$angularModules) {
  2313.  
  2314.  
  2315. INFO: MissingReturnType - api/api4.php:218:10 - Method api4_civicrm_alterSettingsFolders does not have a return type, expecting void
  2316. function api4_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
  2317.  
  2318.  
  2319. INFO: MissingParamType - api/api4.php:218:45 - Parameter $metaDataFolders has no provided type
  2320. function api4_civicrm_alterSettingsFolders(&$metaDataFolders = NULL) {
  2321.  
  2322.  
  2323. ERROR: MissingDependency - api/tests/phpunit/Action/BaseCustomValueTest.php:8:44 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2324. abstract class BaseCustomValueTest extends UnitTestCase {
  2325.  
  2326.  
  2327. ERROR: MissingDependency - api/tests/phpunit/Action/BasicActionsTest.php:11:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2328. class BasicActionsTest extends UnitTestCase {
  2329.  
  2330.  
  2331. ERROR: MissingDependency - api/tests/phpunit/Action/BasicCustomFieldTest.php:12:36 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2332. class BasicCustomFieldTest extends BaseCustomValueTest {
  2333.  
  2334.  
  2335. ERROR: MissingDependency - api/tests/phpunit/Action/ChainTest.php:10:25 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2336. class ChainTest extends UnitTestCase {
  2337.  
  2338.  
  2339. ERROR: MissingDependency - api/tests/phpunit/Action/ComplexQueryTest.php:14:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2340. class ComplexQueryTest extends UnitTestCase {
  2341.  
  2342.  
  2343. ERROR: MissingDependency - api/tests/phpunit/Action/ContactApiKeyTest.php:10:33 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2344. class ContactApiKeyTest extends \Civi\Test\Api4\UnitTestCase {
  2345.  
  2346.  
  2347. ERROR: MissingDependency - api/tests/phpunit/Action/ContactChecksumTest.php:10:35 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2348. class ContactChecksumTest extends \Civi\Test\Api4\UnitTestCase {
  2349.  
  2350.  
  2351. ERROR: MissingDependency - api/tests/phpunit/Action/CreateCustomValueTest.php:13:37 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2352. class CreateCustomValueTest extends BaseCustomValueTest {
  2353.  
  2354.  
  2355. ERROR: MissingDependency - api/tests/phpunit/Action/CreateWithOptionGroupTest.php:12:41 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2356. class CreateWithOptionGroupTest extends BaseCustomValueTest {
  2357.  
  2358.  
  2359. ERROR: MissingDependency - api/tests/phpunit/Action/CurrentFilterTest.php:12:33 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2360. class CurrentFilterTest extends UnitTestCase {
  2361.  
  2362.  
  2363. ERROR: MissingDependency - api/tests/phpunit/Action/CustomValuePerformanceTest.php:13:42 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2364. class CustomValuePerformanceTest extends BaseCustomValueTest {
  2365.  
  2366.  
  2367. ERROR: MissingDependency - api/tests/phpunit/Action/CustomValueTest.php:13:31 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2368. class CustomValueTest extends BaseCustomValueTest {
  2369.  
  2370.  
  2371. ERROR: MissingDependency - api/tests/phpunit/Action/DateTest.php:12:24 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2372. class DateTest extends UnitTestCase {
  2373.  
  2374.  
  2375. ERROR: MissingDependency - api/tests/phpunit/Action/EvaluateConditionTest.php:11:37 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2376. class EvaluateConditionTest extends UnitTestCase {
  2377.  
  2378.  
  2379. ERROR: MissingDependency - api/tests/phpunit/Action/ExtendFromIndividualTest.php:12:40 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2380. class ExtendFromIndividualTest extends BaseCustomValueTest {
  2381.  
  2382.  
  2383. ERROR: MissingDependency - api/tests/phpunit/Action/FkJoinTest.php:12:26 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2384. class FkJoinTest extends UnitTestCase {
  2385.  
  2386.  
  2387. ERROR: MissingDependency - api/tests/phpunit/Action/GetExtraFieldsTest.php:11:34 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2388. class GetExtraFieldsTest extends UnitTestCase {
  2389.  
  2390.  
  2391. ERROR: MissingDependency - api/tests/phpunit/Action/GetFromArrayTest.php:11:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2392. class GetFromArrayTest extends UnitTestCase {
  2393.  
  2394.  
  2395. ERROR: MissingDependency - api/tests/phpunit/Action/IndexTest.php:10:25 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2396. class IndexTest extends UnitTestCase {
  2397.  
  2398.  
  2399. ERROR: MissingDependency - api/tests/phpunit/Action/NullValueTest.php:11:29 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2400. class NullValueTest extends UnitTestCase {
  2401.  
  2402.  
  2403. ERROR: MissingDependency - api/tests/phpunit/Action/ReplaceTest.php:16:27 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2404. class ReplaceTest extends UnitTestCase {
  2405.  
  2406.  
  2407. ERROR: MissingDependency - api/tests/phpunit/Action/UpdateContactTest.php:13:33 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2408. class UpdateContactTest extends UnitTestCase {
  2409.  
  2410.  
  2411. ERROR: MissingDependency - api/tests/phpunit/Action/UpdateCustomValueTest.php:13:37 - Civi\Test\Api4\Action\BaseCustomValueTest depends on class or interface phpunit_framework_testcase that does not exist
  2412. class UpdateCustomValueTest extends BaseCustomValueTest {
  2413.  
  2414.  
  2415. ERROR: MissingDependency - api/tests/phpunit/Entity/ConformanceTest.php:14:31 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2416. class ConformanceTest extends UnitTestCase {
  2417.  
  2418.  
  2419. ERROR: MissingDependency - api/tests/phpunit/Entity/ContactJoinTest.php:12:31 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2420. class ContactJoinTest extends UnitTestCase {
  2421.  
  2422.  
  2423. ERROR: MissingDependency - api/tests/phpunit/Entity/EntityTest.php:11:26 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2424. class EntityTest extends UnitTestCase {
  2425.  
  2426.  
  2427. ERROR: MissingDependency - api/tests/phpunit/Entity/ParticipantTest.php:11:31 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2428. class ParticipantTest extends UnitTestCase {
  2429.  
  2430.  
  2431. ERROR: MissingDependency - api/tests/phpunit/Entity/SettingTest.php:11:27 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2432. class SettingTest extends UnitTestCase {
  2433.  
  2434.  
  2435. INFO: MissingReturnType - api/tests/phpunit/Mock/Api4/MockArrayEntity.php:15:26 - Method Civi\Api4\MockArrayEntity::getFields does not have a return type, expecting Civi\Api4\Generic\BasicGetFieldsAction
  2436.   public static function getFields() {
  2437.  
  2438.  
  2439. INFO: MissingClosureParamType - api/tests/phpunit/Mock/Api4/MockBasicEntity.php:79:102 - Parameter $item has no provided type
  2440.     return new Generic\BasicBatchAction('MockBasicEntity', __FUNCTION__, ['id', 'number'], function ($item) {
  2441.  
  2442.  
  2443. INFO: MissingPropertyType - api/tests/phpunit/Mock/MockEntityDataStorage.php:10:18 - Property Civi\Test\Api4\Mock\MockEntityDataStorage::$data does not have a declared type - consider array
  2444.   private static $data = [];
  2445.  
  2446.  
  2447. INFO: MissingPropertyType - api/tests/phpunit/Mock/MockEntityDataStorage.php:12:18 - Property Civi\Test\Api4\Mock\MockEntityDataStorage::$nextId does not have a declared type - consider int
  2448.   private static $nextId = 1;
  2449.  
  2450.  
  2451. INFO: MissingReturnType - api/tests/phpunit/Mock/MockEntityDataStorage.php:14:26 - Method Civi\Test\Api4\Mock\MockEntityDataStorage::get does not have a return type
  2452.   public static function get() {
  2453.  
  2454.  
  2455. INFO: MissingReturnType - api/tests/phpunit/Mock/MockEntityDataStorage.php:18:26 - Method Civi\Test\Api4\Mock\MockEntityDataStorage::write does not have a return type
  2456.   public static function write($record) {
  2457.  
  2458.  
  2459. INFO: MissingParamType - api/tests/phpunit/Mock/MockEntityDataStorage.php:18:32 - Parameter $record has no provided type
  2460.   public static function write($record) {
  2461.  
  2462.  
  2463. INFO: MissingReturnType - api/tests/phpunit/Mock/MockEntityDataStorage.php:26:26 - Method Civi\Test\Api4\Mock\MockEntityDataStorage::delete does not have a return type
  2464.   public static function delete($record) {
  2465.  
  2466.  
  2467. INFO: MissingParamType - api/tests/phpunit/Mock/MockEntityDataStorage.php:26:33 - Parameter $record has no provided type
  2468.   public static function delete($record) {
  2469.  
  2470.  
  2471. ERROR: MissingDependency - api/tests/phpunit/Query/Api4SelectQueryComplexJoinTest.php:11:46 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2472. class Api4SelectQueryComplexJoinTest extends UnitTestCase {
  2473.  
  2474.  
  2475. ERROR: MissingDependency - api/tests/phpunit/Query/Api4SelectQueryTest.php:11:35 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2476. class Api4SelectQueryTest extends UnitTestCase {
  2477.  
  2478.  
  2479. ERROR: MissingDependency - api/tests/phpunit/Query/OneToOneJoinTest.php:15:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2480. class OneToOneJoinTest extends UnitTestCase {
  2481.  
  2482.  
  2483. ERROR: MissingDependency - api/tests/phpunit/Query/OptionValueJoinTest.php:11:35 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2484. class OptionValueJoinTest extends UnitTestCase {
  2485.  
  2486.  
  2487. ERROR: MissingDependency - api/tests/phpunit/Query/SelectQueryMultiJoinTest.php:14:40 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2488. class SelectQueryMultiJoinTest extends UnitTestCase {
  2489.  
  2490.  
  2491. ERROR: MissingDependency - api/tests/phpunit/Service/Schema/SchemaMapRealTableTest.php:10:38 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2492. class SchemaMapRealTableTest extends UnitTestCase {
  2493.  
  2494.  
  2495. ERROR: MissingDependency - api/tests/phpunit/Service/Schema/SchemaMapperTest.php:13:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2496. class SchemaMapperTest extends UnitTestCase {
  2497.  
  2498.  
  2499. INFO: MissingParamType - api/tests/phpunit/Service/TestCreationParameterProvider.php:28:31 - Parameter $entity has no provided type
  2500.   public function getRequired($entity) {
  2501.  
  2502.  
  2503. ERROR: UndefinedFunction - api/tests/phpunit/Service/TestCreationParameterProvider.php:101:19 - Function Civi\Test\Api4\Service\civicrm_api4 does not exist
  2504.     $entityList = civicrm_api4($fkEntity, 'get', $params);
  2505.  
  2506.  
  2507. INFO: MissingParamType - api/tests/phpunit/Service/TestCreationParameterProvider.php:115:35 - Parameter $dataType has no provided type
  2508.   private function getRandomValue($dataType) {
  2509.  
  2510.  
  2511. ERROR: InvalidReturnStatement - api/tests/phpunit/Service/TestCreationParameterProvider.php:118:16 - The type 'true' does not match the declared return type 'int|null|string' for Civi\Test\Api4\Service\TestCreationParameterProvider::getRandomValue
  2512.         return TRUE;
  2513.  
  2514.  
  2515. ERROR: UndefinedClass - api/tests/phpunit/Service/TestCreationParameterProvider.php:124:16 - Class or interface CRM_Utils_String does not exist
  2516.         return StringHelper::createRandom(10, implode('', range('a', 'z')));
  2517.  
  2518.  
  2519. ERROR: UndefinedClass - api/tests/phpunit/Service/TestCreationParameterProvider.php:127:16 - Class or interface CRM_Utils_String does not exist
  2520.         return StringHelper::createRandom(100, implode('', range('a', 'z')));
  2521.  
  2522.  
  2523. ERROR: MissingDependency - api/tests/phpunit/Spec/RequestSpecTest.php:12:31 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2524. class RequestSpecTest extends UnitTestCase {
  2525.  
  2526.  
  2527. ERROR: MissingDependency - api/tests/phpunit/Spec/SpecFormatterTest.php:14:33 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2528. class SpecFormatterTest extends UnitTestCase {
  2529.  
  2530.  
  2531. ERROR: MissingDependency - api/tests/phpunit/Spec/SpecGathererTest.php:19:32 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2532. class SpecGathererTest extends UnitTestCase {
  2533.  
  2534.  
  2535. ERROR: UndefinedClass - api/tests/phpunit/UnitTestCase.php:12:28 - Class or interface PHPUnit_Framework_TestCase does not exist
  2536. class UnitTestCase extends \PHPUnit_Framework_TestCase implements HeadlessInterface, TransactionalInterface {
  2537.  
  2538.  
  2539. ERROR: MissingDependency - api/tests/phpunit/Utils/ArrayInsertionServiceTest.php:11:41 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2540. class ArrayInsertionServiceTest extends UnitTestCase {
  2541.  
  2542.  
  2543. ERROR: MissingDependency - api/tests/phpunit/Utils/ReflectionUtilsTest.php:12:35 - Civi\Test\Api4\UnitTestCase depends on class or interface phpunit_framework_testcase that does not exist
  2544. class ReflectionUtilsTest extends UnitTestCase {
  2545.  
  2546.  
  2547. ERROR: InvalidScalarArgument - api/tests/phpunit/bootstrap.php:5:22 - Argument 2 of ini_set expects string, int(0) provided
  2548. ini_set('safe_mode', 0);
  2549.  
  2550.  
  2551. INFO: UnresolvableInclude - api/tests/phpunit/bootstrap.php:10:11 - Cannot resolve the given expression to a file path
  2552. $loader = require sprintf('%s/vendor/autoload.php', $matches[1]);
  2553.  
  2554.  
  2555. ERROR: InvalidScalarArgument - api/tests/phpunit/bootstrap.php:51:35 - Argument 2 of json_decode expects bool, int(1) provided
  2556.       return json_decode($result, 1);
  2557.  
  2558.  
  2559. ------------------------------
  2560. 295 errors found
  2561. ------------------------------
  2562. 296 other issues found.
  2563. You can hide them with --show-info=false
  2564. ------------------------------
  2565.  
  2566. Checks took 9.30 seconds and used 179.226MB of memory
  2567. Psalm was unable to infer types in the codebase
  2568. coolife@coolife:~/git-repos/gsoc$
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top