Guest User

Untitled

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