SHARE
TWEET

Untitled

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