[REF][PHP8.2] Fix Deprecated Dynamic class properties in Legacy custom searches extension
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 20 Jan 2023 00:39:00 +0000 (00:39 +0000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 20 Jan 2023 00:39:00 +0000 (00:39 +0000)
ext/legacycustomsearches/CRM/Contact/Form/Search/Custom/Group.php
ext/legacycustomsearches/tests/phpunit/Civi/Searches/FullTextTest.php

index 7eabd91dadcd8757d7e2aaa5e2870ff1fd8f0987..f63bdb2f5a4302f2bdcaa1ebf47af65cc54d3f2b 100644 (file)
@@ -67,6 +67,60 @@ class CRM_Contact_Form_Search_Custom_Group extends CRM_Contact_Form_Search_Custo
   protected $_aclFrom = NULL;
   protected $_aclWhere = NULL;
 
+  /**
+   * Include Groups
+   * @var array
+   */
+  protected $_includeGroups;
+
+  /**
+   * Exclude Groups
+   * @var array
+   */
+  protected $_excludeGroups;
+
+  /**
+   * Include Tags
+   * @var array
+   */
+  protected $_includeTags;
+
+  /**
+   * Exclude Tags
+   * @var array
+   */
+  protected $_excludeTags;
+
+  /**
+   * All Search
+   * @var bool
+   */
+  protected $_allSearch;
+
+  /**
+   * Does this search use groups
+   * @var bool
+   */
+  protected $_groups;
+
+  /**
+   * Does this search use tags
+   * @var bool
+   */
+  protected $_tags;
+
+  /**
+   * Is this search And or OR search
+   * @var string
+   */
+  protected $_andOr;
+
+  /**
+   * Search Columns
+   * @var array
+   */
+  protected $_columns;
+
   /**
    * Class constructor.
    *
index bf2e9cd789686bea16139607d0e059af2944d2da..47dce216fec23a49d0db0aa3f20d70e6de4220dc 100644 (file)
@@ -29,6 +29,12 @@ use PHPUnit\Framework\TestCase;
  */
 class FullTextTest extends TestCase implements HeadlessInterface, HookInterface, TransactionalInterface {
 
+  /**
+   * Entity ids created as part of test
+   * @var array
+   */
+  protected $ids;
+
   use Test\ContactTestTrait;
   use Test\Api3TestTrait;