From d35e414f1e88eba8967fa501b74400494d3da67c Mon Sep 17 00:00:00 2001 From: coder-karen Date: Wed, 11 Oct 2023 14:21:48 +0000 Subject: [PATCH] Updated package versions for automattic/jetpackcrm Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6483829305 --- CHANGELOG.md | 73 +++------- ZeroBSCRM.php | 2 +- composer.json | 3 +- includes/ZeroBSCRM.Core.php | 2 +- includes/ZeroBSCRM.DAL3.Obj.Companies.php | 2 +- includes/ZeroBSCRM.DAL3.Obj.Invoices.php | 2 +- includes/ZeroBSCRM.DAL3.Obj.Transactions.php | 2 +- includes/ZeroBSCRM.GeneralFuncs.php | 2 +- .../ZeroBSCRM.MetaBoxes3.ExternalSources.php | 2 +- .../jetpack-constants/composer.json | 2 +- modules/automations/admin/admin-page-init.php | 8 +- .../automations/jpcrm-automations-init.php | 4 +- readme.txt | 32 +++-- src/automation/class-attribute-definition.php | 50 +++---- src/automation/class-automation-bootstrap.php | 28 ++-- src/automation/class-automation-engine.php | 52 +++---- src/automation/class-automation-exception.php | 24 ++-- src/automation/class-automation-logger.php | 26 ++-- src/automation/class-automation-workflow.php | 110 +++++++-------- src/automation/class-base-action.php | 4 +- src/automation/class-base-condition.php | 18 +-- src/automation/class-base-step.php | 54 ++++---- src/automation/class-base-trigger.php | 26 ++-- .../class-data-transformer-exception.php | 12 +- src/automation/class-data-type-exception.php | 12 +- src/automation/class-step-exception.php | 10 +- src/automation/class-workflow-exception.php | 20 +-- .../contacts/class-add-contact-log.php | 18 +-- .../contacts/class-add-remove-contact-tag.php | 18 +-- .../actions/contacts/class-delete-contact.php | 18 +-- .../actions/contacts/class-new-contact.php | 16 +-- .../contacts/class-update-contact-status.php | 18 +-- .../actions/contacts/class-update-contact.php | 16 +-- .../actions/email/class-base-send-email.php | 6 +- .../email/class-send-contact-email.php | 14 +- .../invoice/class-set-invoice-status.php | 18 +-- .../class-set-transaction-status.php | 16 +-- .../contacts/class-contact-field-changed.php | 18 +-- .../conditions/contacts/class-contact-tag.php | 16 +-- .../class-contact-transitional-status.php | 16 +-- .../invoices/class-invoice-field-contains.php | 16 +-- .../invoices/class-invoice-status-changed.php | 18 +-- .../quotes/class-quote-status-changed.php | 16 +-- .../conditions/tags/class-entity-tag.php | 20 +-- .../transactions/class-transaction-field.php | 16 +-- .../companies/class-company-created.php | 14 +- .../companies/class-company-deleted.php | 14 +- .../class-company-status-updated.php | 14 +- .../companies/class-company-updated.php | 14 +- .../contacts/class-contact-before-deleted.php | 16 +-- .../contacts/class-contact-created.php | 16 +-- .../contacts/class-contact-deleted.php | 16 +-- .../contacts/class-contact-email-updated.php | 16 +-- .../contacts/class-contact-status-updated.php | 16 +-- .../contacts/class-contact-updated.php | 16 +-- .../invoices/class-invoice-created.php | 14 +- .../invoices/class-invoice-deleted.php | 14 +- .../invoices/class-invoice-status-updated.php | 14 +- .../invoices/class-invoice-updated.php | 14 +- .../triggers/quotes/class-quote-accepted.php | 14 +- .../triggers/quotes/class-quote-created.php | 14 +- .../triggers/quotes/class-quote-deleted.php | 14 +- .../quotes/class-quote-status-updated.php | 14 +- .../triggers/quotes/class-quote-updated.php | 14 +- .../triggers/tasks/class-task-created.php | 14 +- .../triggers/tasks/class-task-deleted.php | 14 +- .../triggers/tasks/class-task-updated.php | 12 +- .../class-transaction-created.php | 12 +- .../class-transaction-updated.php | 12 +- .../wordpress/class-wp-user-created.php | 16 +-- .../class-data-transformer-base.php | 10 +- ...ss-data-transformer-entity-to-tag-list.php | 6 +- ...ss-data-transformer-invoice-to-contact.php | 4 +- .../data-types/class-company-data.php | 6 +- .../data-types/class-contact-data.php | 6 +- .../data-types/class-data-type-base.php | 16 +-- .../data-types/class-invoice-data.php | 6 +- .../data-types/class-quote-data.php | 6 +- src/automation/data-types/class-tag-data.php | 6 +- .../data-types/class-tag-list-data.php | 6 +- src/automation/data-types/class-task-data.php | 6 +- .../data-types/class-transaction-data.php | 6 +- .../data-types/class-wp-user-data.php | 6 +- .../data-types/interface-data-type.php | 8 +- .../data-types/interface-entity-data.php | 6 +- src/automation/interface-action.php | 4 +- src/automation/interface-condition.php | 4 +- src/automation/interface-step.php | 38 ++--- src/automation/interface-trigger.php | 22 +-- .../workflow/class-workflow-repository.php | 26 ++-- src/entities/class-company.php | 2 +- src/entities/class-contact.php | 2 +- src/entities/class-invoice.php | 2 +- src/entities/class-quote.php | 2 +- src/entities/class-transaction.php | 2 +- .../factories/class-company-factory.php | 12 +- .../factories/class-contact-factory.php | 12 +- .../factories/class-entity-factory.php | 26 ++-- .../factories/class-factory-exception.php | 8 +- .../factories/class-invoice-factory.php | 12 +- .../factories/class-quote-factory.php | 12 +- src/entities/factories/class-task-factory.php | 12 +- .../factories/class-transaction-factory.php | 12 +- src/event-manager/class-events-manager.php | 12 +- src/event-manager/interface-event.php | 2 +- .../managers/class-contact-event.php | 16 +-- .../managers/class-invoice-event.php | 10 +- .../managers/class-transaction-event.php | 12 +- ...s-rest-automation-workflows-controller.php | 32 ++--- .../v4/class-rest-base-controller.php | 4 +- vendor/autoload.php | 2 +- vendor/autoload_packages.php | 2 +- vendor/composer/autoload_real.php | 10 +- vendor/composer/autoload_static.php | 8 +- vendor/composer/installed.json | 131 ++++++++---------- vendor/composer/installed.php | 16 +-- .../class-autoloader-handler.php | 2 +- .../class-autoloader-locator.php | 2 +- .../jetpack-autoloader/class-autoloader.php | 2 +- vendor/jetpack-autoloader/class-container.php | 2 +- .../jetpack-autoloader/class-hook-manager.php | 2 +- .../class-latest-autoloader-guard.php | 2 +- .../class-manifest-reader.php | 2 +- .../class-path-processor.php | 2 +- .../class-php-autoloader.php | 2 +- .../class-plugin-locator.php | 2 +- .../class-plugins-handler.php | 2 +- .../class-shutdown-handler.php | 2 +- .../class-version-loader.php | 2 +- .../class-version-selector.php | 2 +- 130 files changed, 900 insertions(+), 933 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 78a18c8c..bc7a6443 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,65 +5,30 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [6.2.0-alpha] - unreleased - -This is an alpha version! The changes listed here are not final. - +## [6.2.0] - 2023-10-11 ### Added -- Add mock globals for testing -- Add Send_Email automation Action. -- Add the new Automation System -- Add the new JPCRM Event Manager to notify events via WP hooks -- Automation: Added a condition to detect changes in status from a specified initial value to a designated target one -- Automation: Added condition for contact status changed -- Automation: Added condition for invoice field contains -- Automation: Added condition for invoice status changed -- Automation: Added condition for quote status changed -- Automation: Added condition for transaction field changed and field contains -- Automation: Added conditions for contact tags -- Automation: Added contact triggers -- Automation: Added event trigger for updated -- Automation: Added event triggers for new and deleted -- Automation: Added invoice set status action -- Automation: Added quote triggers -- Automation: Added transaction set status action -- Automation: Added transaction triggers for new and updated -- Automations: Added a clientwpuser trigger, data type and tests. -- Automations: Added company triggers -- Automations: Adding factory classes for entities -- Automations: Adding Tag List data type and transformer plus Tag condition -- Automations: Adding the company entity class -- Automations: Adding the contact entity class -- Automations: Adding the invoice entity class -- Automations: Adding the quote entity class -- Automations: Adding the transaction entity class +- Tests: Add mock globals for testing. [#32755] +- Automations: Add new backend in preparation for future release. ### Changed -- Internal workflow schema update. Adding pointers to the steps inside of a workflow. -- Removed not necessary en. subdomain for gravatar urls -- Requires PHP 7.3 or higher -- Tasks: use consistent language in code +- Quotes: Allow admin users to accept quotes. [#32738] +- Tasks: Use consistent language in code. [#33221] +- Increase PHP required version to 7.3. [#33003] - Updated package dependencies. ### Fixed -- API: rewrite rules are now flushed after enabling module -- API: task reminder param is no longer ignored -- Automations: Fix an issue (only in development) with the automations workflow table creation -- Automations: Fixed a development issueaffecting workflow database creation. -- Better PHP 8.2 support -- CRM Forms: Removed reference to old branding -- CSV Importer: Fixed assignment to companies by name -- Custom Fields: Corrected bug that prevented new address custom fields from being shown -- Introduced a phpcs:ignore directive to unblock pull requests from being merged temporarily. -- Invoices: Handle status translations consistently -- Quotes: could be accepted by admin users. -- Segments: Fixed error 219 occurring when using date ranges -- Tags: better slug generation - Tags: added tag slug migration -- Tags: prevent duplicate slugs - Tags: more robust slug fallback support -- Tasks: Corrected placeholders for contacts and companies in the task reminder email -- Transactions: filters now work for custom statuses +- API: Rewrite rules are now flushed after enabling module. [#32901] +- API: Task reminder param is no longer ignored. [#33194] +- Better PHP 8.2 support. [#33421] +- CRM Forms: Removed reference to old branding. [#32903] +- CSV Importer: Fixed assignment to companies by name. [#33097] +- Custom Fields: Corrected bug that prevented new address custom fields from being shown. [#33056] +- Invoices: Handle status translations consistently. [#32909] +- Segments: Fixed error 219 occurring when using date ranges. [#32379] +- Tags: Better slug generation and added tag slug migration. [#33121] +- Tags: Prevent duplicate slugs, and adding more robust slug fallback support. [#33096] +- Tasks: Corrected placeholders for contacts and companies in the task reminder email. [#32375] +- Transactions: Filters now work for custom statuses. [#33476] ## [6.1.0] - 2023-07-24 ### Added @@ -264,7 +229,7 @@ This is an alpha version! The changes listed here are not final. - Improved: Added a migration to remove outdated AKA lines [5.5.4-a.1]: https://github.com/Automattic/jetpack-crm/compare/v5.5.3...v5.5.4-a.1 -[6.2.0-alpha]: https://github.com/Automattic/jetpack-crm/compare/6.1.0...6.2.0-alpha +[6.2.0]: https://github.com/Automattic/jetpack-crm/compare/6.1.0...6.2.0 [6.1.0]: https://github.com/Automattic/jetpack-crm/compare/6.0.0...6.1.0 [6.0.0]: https://github.com/Automattic/jetpack-crm/compare/5.8.0...6.0.0 [5.8.0]: https://github.com/Automattic/jetpack-crm/compare/5.7.0...5.8.0 diff --git a/ZeroBSCRM.php b/ZeroBSCRM.php index 31dcdb9f..829cbaa5 100644 --- a/ZeroBSCRM.php +++ b/ZeroBSCRM.php @@ -3,7 +3,7 @@ * Plugin Name: Jetpack CRM * Plugin URI: https://jetpackcrm.com * Description: Jetpack CRM is the simplest CRM for WordPress. Self host your own Customer Relationship Manager using WP. - * Version: 6.2.0-alpha + * Version: 6.2.0 * Author: Automattic - Jetpack CRM team * Author URI: https://jetpackcrm.com * Text Domain: zero-bs-crm diff --git a/composer.json b/composer.json index a84f62d3..be99e445 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,7 @@ ] }, "config": { - "autoloader-suffix": "06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha", + "autoloader-suffix": "06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0", "allow-plugins": { "automattic/jetpack-autoloader": true, "automattic/jetpack-composer-plugin": true, @@ -56,6 +56,7 @@ "automattic/woocommerce": "^3.0", "dompdf/dompdf": "2.0.3" }, + "repositories": [], "autoload": { "classmap": [ "src/" diff --git a/includes/ZeroBSCRM.Core.php b/includes/ZeroBSCRM.Core.php index 566d8126..de36c220 100644 --- a/includes/ZeroBSCRM.Core.php +++ b/includes/ZeroBSCRM.Core.php @@ -24,7 +24,7 @@ final class ZeroBSCRM { * * @var string */ - public $version = '6.1.0'; + public $version = '6.2.0'; /** * WordPress version tested with. diff --git a/includes/ZeroBSCRM.DAL3.Obj.Companies.php b/includes/ZeroBSCRM.DAL3.Obj.Companies.php index 5e70fb30..cd7b56de 100644 --- a/includes/ZeroBSCRM.DAL3.Obj.Companies.php +++ b/includes/ZeroBSCRM.DAL3.Obj.Companies.php @@ -342,7 +342,7 @@ public function getFullCount(){ * * @throws Exception Catches and handles exceptions, logging SQL errors. * - * @since 6.2.0-alpha + * @since 6.2.0 */ public function get_company_id_by_name( $name ) { global $ZBSCRM_t; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase diff --git a/includes/ZeroBSCRM.DAL3.Obj.Invoices.php b/includes/ZeroBSCRM.DAL3.Obj.Invoices.php index a9f92374..a81fd6f8 100644 --- a/includes/ZeroBSCRM.DAL3.Obj.Invoices.php +++ b/includes/ZeroBSCRM.DAL3.Obj.Invoices.php @@ -164,7 +164,7 @@ class zbsDAL_invoices extends zbsDAL_ObjectLayer { /** * Events_Manager instance. Manages CRM events. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var Events_Manager */ diff --git a/includes/ZeroBSCRM.DAL3.Obj.Transactions.php b/includes/ZeroBSCRM.DAL3.Obj.Transactions.php index fd516871..b3ba978f 100644 --- a/includes/ZeroBSCRM.DAL3.Obj.Transactions.php +++ b/includes/ZeroBSCRM.DAL3.Obj.Transactions.php @@ -232,7 +232,7 @@ class zbsDAL_transactions extends zbsDAL_ObjectLayer { /** * Events_Manager instance. Manages CRM events. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var Events_Manager */ diff --git a/includes/ZeroBSCRM.GeneralFuncs.php b/includes/ZeroBSCRM.GeneralFuncs.php index 9ac42c74..9d470ba0 100644 --- a/includes/ZeroBSCRM.GeneralFuncs.php +++ b/includes/ZeroBSCRM.GeneralFuncs.php @@ -1747,7 +1747,7 @@ function jpcrm_get_mimetype( $file_path ) { /** * Retrieve an array of quote statuses with their corresponding labels. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array Associative array of quote statuses with labels. */ diff --git a/includes/ZeroBSCRM.MetaBoxes3.ExternalSources.php b/includes/ZeroBSCRM.MetaBoxes3.ExternalSources.php index a928299d..fb593d75 100644 --- a/includes/ZeroBSCRM.MetaBoxes3.ExternalSources.php +++ b/includes/ZeroBSCRM.MetaBoxes3.ExternalSources.php @@ -27,7 +27,7 @@ class zeroBS__Metabox_ExtSource extends zeroBS__Metabox { /** * The object type ID using this metabox. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ private $objTypeID; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.PropertyNotSnakeCase diff --git a/jetpack_vendor/automattic/jetpack-constants/composer.json b/jetpack_vendor/automattic/jetpack-constants/composer.json index d8da2716..1205619b 100644 --- a/jetpack_vendor/automattic/jetpack-constants/composer.json +++ b/jetpack_vendor/automattic/jetpack-constants/composer.json @@ -7,7 +7,7 @@ "require-dev": { "brain/monkey": "2.6.1", "yoast/phpunit-polyfills": "1.1.0", - "automattic/jetpack-changelogger": "^3.3.11" + "automattic/jetpack-changelogger": "^3.3.8" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." diff --git a/modules/automations/admin/admin-page-init.php b/modules/automations/admin/admin-page-init.php index b853650b..03845784 100644 --- a/modules/automations/admin/admin-page-init.php +++ b/modules/automations/admin/admin-page-init.php @@ -15,7 +15,7 @@ /** * The main initializing function. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -26,7 +26,7 @@ function initialize_admin_page() { /** * Actions to run on admin init * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -37,7 +37,7 @@ function admin_init() { /** * Enqueues the React app bundle. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -59,7 +59,7 @@ function enqueue_admin_scripts() { /** * Initial state to be served with the React app. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ diff --git a/modules/automations/jpcrm-automations-init.php b/modules/automations/jpcrm-automations-init.php index 8754333e..62bcba5c 100644 --- a/modules/automations/jpcrm-automations-init.php +++ b/modules/automations/jpcrm-automations-init.php @@ -39,7 +39,7 @@ function disable_ui_if_feature_flag_is_disabled( $load_ui ) { // phpcs:ignore Va * * This is a core module that will always be loaded, so we do not allow it to be enabled/deactivated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -58,7 +58,7 @@ function load_module() { /** * Defines constants * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/readme.txt b/readme.txt index a35ee4ac..e9288076 100644 --- a/readme.txt +++ b/readme.txt @@ -2,7 +2,7 @@ Contributors: automattic, kallehauge, cleacos, diegogarciarodrigues, bradshawtm, wpkaren, robertf4, woodyhayday, mikemayhem3030 Tags: CRM, Invoice, Woocommerce CRM, Clients, Lead Generation, contacts, customers, billing, email marketing, Marketing Automation, contact form, automations Tested up to: 6.3 -Stable tag: 6.0.0 +Stable tag: 6.1.0 Requires at least: 5.0 Requires PHP: 7.3 License: GPLv2 @@ -389,18 +389,28 @@ We offer a full, no-hassle refund within 14 days. You can read more about that, == Changelog == -### 6.1.0 - 2023-07-24 +### 6.2.0 - 2023-10-11 #### Added -- Listing pages: Add a new setting that allows listing pages to utilize the full width of the screen +- Tests: Add mock globals for testing. +- Automations: Add new backend in preparation for future release. #### Changed -- General: indicate full compatibility with the latest version of WordPress, 6.3 +- Quotes: Allow admin users to accept quotes. +- Tasks: Use consistent language in code. +- Increase PHP required version to 7.3. +- Updated package dependencies. #### Fixed -- API: Fixed error 200 while saving new api connections -- Contacts: Fix bug that prevented the creation of contacts WP user for the Client Portal -- Contacts: Fix Filter options not available on the main contacts listing -- File Uploads: Fix bug that prevented file uploads from working in environments where the PHP finfo_open function was not available -- Menu: Improved alignment for items in the menu -- OAuth/Gmail: Fix to enable sending links and images in the email content, supporting text/plain -- Segments: Fix bug that prevented dates to be saved in some environments +- API: Rewrite rules are now flushed after enabling module. +- API: Task reminder param is no longer ignored. +- Better PHP 8.2 support. +- CRM Forms: Removed reference to old branding. +- CSV Importer: Fixed assignment to companies by name. +- Custom Fields: Corrected bug that prevented new address custom fields from being shown. +- Invoices: Handle status translations consistently. +- Segments: Fixed error 219 occurring when using date ranges. +- Tags: Better slug generation and added tag slug migration. +- Tags: Prevent duplicate slugs, and adding more robust slug fallback support. +- Tasks: Corrected placeholders for contacts and companies in the task reminder email. +- Transactions: Filters now work for custom statuses. + diff --git a/src/automation/class-attribute-definition.php b/src/automation/class-attribute-definition.php index edba2cf8..3f6d6856 100644 --- a/src/automation/class-attribute-definition.php +++ b/src/automation/class-attribute-definition.php @@ -3,7 +3,7 @@ * Attribute Definition * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -15,14 +15,14 @@ * sends an email to a contact may have an attribute that represents the email * subject, another attribute that represents the email body, and so on. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Attribute_Definition { /** * Represents a dropdown selection input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const SELECT = 'select'; @@ -30,7 +30,7 @@ class Attribute_Definition { /** * Represents a checkbox input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const CHECKBOX = 'checkbox'; @@ -38,7 +38,7 @@ class Attribute_Definition { /** * Represents a textarea input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const TEXTAREA = 'textarea'; @@ -46,7 +46,7 @@ class Attribute_Definition { /** * Represents a text input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const TEXT = 'text'; @@ -54,7 +54,7 @@ class Attribute_Definition { /** * Represents a date input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const DATE = 'date'; @@ -62,7 +62,7 @@ class Attribute_Definition { /** * Represents a numerical input. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ const NUMBER = 'number'; @@ -70,7 +70,7 @@ class Attribute_Definition { /** * The slug (key) that identifies this attribute. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ protected $slug; @@ -78,7 +78,7 @@ class Attribute_Definition { /** * The title (label) for this attribute. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ protected $title; @@ -86,7 +86,7 @@ class Attribute_Definition { /** * The description for this attribute. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ protected $description; @@ -97,7 +97,7 @@ class Attribute_Definition { * This is a string that represents the type of the attribute. * E.g.: 'text', 'number', 'select', etc. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ protected $type; @@ -105,7 +105,7 @@ class Attribute_Definition { /** * Data needed by this attribute (e.g. a map of "key -> description" in the case of a select). * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array|null */ protected $data; @@ -113,7 +113,7 @@ class Attribute_Definition { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $slug The slug (key) that identifies this attribute. * @param string $title The title (label) for this attribute. @@ -132,7 +132,7 @@ public function __construct( string $slug, string $title, string $description, s /** * Get the slug. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -143,7 +143,7 @@ public function get_slug(): string { /** * Set the slug. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $slug The slug (key) that identifies this attribute. */ @@ -154,7 +154,7 @@ public function set_slug( string $slug ): void { /** * Get the title. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -165,7 +165,7 @@ public function get_title(): string { /** * Set the title. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $title The title (label) for this attribute. */ @@ -176,7 +176,7 @@ public function set_title( string $title ): void { /** * Get the description. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -187,7 +187,7 @@ public function get_description(): string { /** * Set the description. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $description The description for this attribute. */ @@ -198,7 +198,7 @@ public function set_description( string $description ): void { /** * Get the type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -209,7 +209,7 @@ public function get_type(): string { /** * Set the type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $type The attribute type. */ @@ -220,7 +220,7 @@ public function set_type( string $type ): void { /** * Get the data. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array|null */ @@ -231,7 +231,7 @@ public function get_data(): ?array { /** * Set the data. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array|null $data The data needed by this attribute. */ @@ -245,7 +245,7 @@ public function set_data( ?array $data ): void { * The main use-case to get the attribute as an array is, * so we can easily share it via API. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array */ diff --git a/src/automation/class-automation-bootstrap.php b/src/automation/class-automation-bootstrap.php index e486778f..6f7eff8d 100644 --- a/src/automation/class-automation-bootstrap.php +++ b/src/automation/class-automation-bootstrap.php @@ -3,7 +3,7 @@ * Bootstrap the Jetpack CRM Automation engine. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Bootstrap the Jetpack CRM Automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 */ final class Automation_Bootstrap { /** * The automation engine we want to bootstrap. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var Automation_Engine */ @@ -27,7 +27,7 @@ final class Automation_Bootstrap { /** * Initialise the automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -44,7 +44,7 @@ public function init(): void { /** * Register data transformers. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -59,7 +59,7 @@ protected function register_data_transformers(): void { * * This can be used to add and/or remove data transformers allowed in automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string[] $var A list of data transformer classes. */ @@ -77,7 +77,7 @@ protected function register_data_transformers(): void { /** * Register triggers. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -115,7 +115,7 @@ protected function register_triggers(): void { * * This can be used to add and/or remove triggers allowed in automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string[] $triggers A list of triggers classes. */ @@ -133,7 +133,7 @@ protected function register_triggers(): void { /** * Register conditions. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -150,7 +150,7 @@ protected function register_conditions(): void { * * This can be used to add and/or remove condition allowed in automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string[] $conditions A list of condition classes. */ @@ -168,7 +168,7 @@ protected function register_conditions(): void { /** * Register actions. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -188,7 +188,7 @@ protected function register_actions(): void { * * This can be used to add and/or remove actions allowed in automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string[] $actions A list of actions class names. */ @@ -206,7 +206,7 @@ protected function register_actions(): void { /** * Register workflows. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -223,7 +223,7 @@ protected function register_workflows(): void { * * This can be used to add and/or remove actions allowed in automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow[] $workflows A collection of registered workflows. */ diff --git a/src/automation/class-automation-engine.php b/src/automation/class-automation-engine.php index 313e4842..e70d0b88 100644 --- a/src/automation/class-automation-engine.php +++ b/src/automation/class-automation-engine.php @@ -3,7 +3,7 @@ * Defines Jetpack CRM Automation engine. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -15,14 +15,14 @@ /** * Automation Engine. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Automation_Engine { /** * Instance singleton. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Engine */ private static $instance = null; @@ -30,7 +30,7 @@ class Automation_Engine { /** * The triggers map name => classname. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ private $triggers_map = array(); @@ -38,7 +38,7 @@ class Automation_Engine { /** * The steps map name => classname. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ private $steps_map = array(); @@ -46,7 +46,7 @@ class Automation_Engine { /** * The Automation logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var ?Automation_Logger */ private $automation_logger = null; @@ -54,7 +54,7 @@ class Automation_Engine { /** * The list of registered workflows. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow[] */ private $workflows = array(); @@ -62,7 +62,7 @@ class Automation_Engine { /** * An array of supported data types. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var Data_Type_Base[] */ @@ -71,7 +71,7 @@ class Automation_Engine { /** * An array of supported data transformers. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var Data_Transformer_Base[] */ @@ -80,7 +80,7 @@ class Automation_Engine { /** * An array of data type that represents support between types. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var string[] */ @@ -89,7 +89,7 @@ class Automation_Engine { /** * Instance singleton object. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param bool $force Whether to force a new Automation_Engine instance. * @return Automation_Engine The Automation_Engine instance. @@ -105,7 +105,7 @@ public static function instance( bool $force = false ): Automation_Engine { /** * Set the automation logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Logger $logger The automation logger. */ @@ -116,7 +116,7 @@ public function set_automation_logger( Automation_Logger $logger ) { /** * Register data transformer. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $class_name The fully qualified class name for the data transformer. * @return void @@ -159,7 +159,7 @@ public function register_data_transformer( string $class_name ): void { /** * Register a trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $trigger_classname Trigger classname to add to the mapping. * @@ -208,7 +208,7 @@ public function register_trigger( string $trigger_classname ) { /** * Register a step in the automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $class_name The name of the class in which the step should belong. * @@ -237,7 +237,7 @@ public function register_step( string $class_name ) { /** * Get a step class by name. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $step_name The name of the step whose class we will be retrieving. * @return string The name of the step class. @@ -258,7 +258,7 @@ public function get_step_class( string $step_name ): string { /** * Add a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow class instance to be added. * @param bool $init_workflow Whether or not to initialize the workflow. @@ -278,7 +278,7 @@ public function add_workflow( Automation_Workflow $workflow, bool $init_workflow /** * Build and add a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $workflow_data The workflow data to be added. * @param bool $init_workflow Whether or not to initialize the workflow. @@ -296,7 +296,7 @@ public function build_add_workflow( array $workflow_data, bool $init_workflow = /** * Init automation workflows. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @throws Workflow_Exception Throws an exception if the workflow is not valid. */ @@ -311,7 +311,7 @@ public function init_workflows() { /** * Execute workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to be executed. * @param Trigger $trigger The trigger that started the execution process. @@ -378,7 +378,7 @@ public function execute_workflow( Automation_Workflow $workflow, Trigger $trigge /** * Maybe transform data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data_type The current data type. * @param string $new_data_type_class The new data type to transform the data to. @@ -410,7 +410,7 @@ protected function maybe_transform_data_type( Data_Type $data_type, string $new_ /** * Get a step instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data hydrate the step with. * @return Step A step class instance. @@ -435,7 +435,7 @@ public function get_registered_step( array $step_data ): Step { /** * Get registered steps. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string[] The registered steps. */ @@ -446,7 +446,7 @@ public function get_registered_steps(): array { /** * Get trigger instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $trigger_slug The name of the trigger slug with which to retrieve the trigger class. * @return string The name of the trigger class. @@ -469,7 +469,7 @@ public function get_trigger_class( string $trigger_slug ): string { /** * Get Automation logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Automation_Logger Return an instance of the Automation_Logger class. */ @@ -480,7 +480,7 @@ public function get_logger(): Automation_Logger { /** * Get the registered triggers. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string[] The registered triggers. */ diff --git a/src/automation/class-automation-exception.php b/src/automation/class-automation-exception.php index 5a4dfa49..ab3468e3 100644 --- a/src/automation/class-automation-exception.php +++ b/src/automation/class-automation-exception.php @@ -3,7 +3,7 @@ * Defines Jetpack CRM Automation exceptions. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Adds the Automation_Exception class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Automation_Exception extends \Exception { /** * Step class not found code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const STEP_CLASS_NOT_FOUND = 10; @@ -26,7 +26,7 @@ class Automation_Exception extends \Exception { /** * Step slug exists code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const STEP_SLUG_EXISTS = 11; @@ -34,7 +34,7 @@ class Automation_Exception extends \Exception { /** * Step slug empty code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const STEP_SLUG_EMPTY = 12; @@ -42,7 +42,7 @@ class Automation_Exception extends \Exception { /** * Trigger class not found code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const TRIGGER_CLASS_NOT_FOUND = 20; @@ -50,7 +50,7 @@ class Automation_Exception extends \Exception { /** * Trigger slug exists code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const TRIGGER_SLUG_EXISTS = 21; @@ -58,7 +58,7 @@ class Automation_Exception extends \Exception { /** * Trigger slug empty code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const TRIGGER_SLUG_EMPTY = 22; @@ -66,7 +66,7 @@ class Automation_Exception extends \Exception { /** * Condition invalid operator code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const CONDITION_INVALID_OPERATOR = 30; @@ -74,7 +74,7 @@ class Automation_Exception extends \Exception { /** * Condition operator not implemented code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const CONDITION_OPERATOR_NOT_IMPLEMENTED = 31; @@ -82,7 +82,7 @@ class Automation_Exception extends \Exception { /** * General error code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const GENERAL_ERROR = 999; @@ -90,7 +90,7 @@ class Automation_Exception extends \Exception { /** * Automation_Exception constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $message Allows an exception message to be passed. * @param int $code The error code to be included in the exception output. diff --git a/src/automation/class-automation-logger.php b/src/automation/class-automation-logger.php index 61265192..6771d75f 100644 --- a/src/automation/class-automation-logger.php +++ b/src/automation/class-automation-logger.php @@ -3,7 +3,7 @@ * Defines the Jetpack CRM Automation logger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Adds the Automation_Logger class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Automation_Logger { /** * Instance singleton. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Logger */ private static $instance = null; @@ -33,7 +33,7 @@ class Automation_Logger { /** * Whether or not the log is set to output. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var bool */ private $output = false; @@ -41,7 +41,7 @@ class Automation_Logger { /** * Whether or not the logger is set to be active. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var bool */ private $is_active = true; @@ -49,7 +49,7 @@ class Automation_Logger { /** * Initialize the logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param bool $force Force a new instance. * @return Automation_Logger An instance of the Automation_Logger class. @@ -65,7 +65,7 @@ public static function instance( bool $force = false ): Automation_Logger { /** * Set is_active to true to indicate the logger is active. * - * @since 6.2.0-alpha + * @since 6.2.0 */ public function turn_on() { $this->is_active = true; @@ -74,7 +74,7 @@ public function turn_on() { /** * Set is_active to false to indicate the logger is not active. * - * @since 6.2.0-alpha + * @since 6.2.0 */ public function turn_off() { $this->is_active = false; @@ -83,7 +83,7 @@ public function turn_off() { /** * Set if output the log or not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param bool $output Whether or not the log is set to output. */ @@ -94,7 +94,7 @@ public function with_output( bool $output ) { /** * Get log list. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string[] The log list. */ @@ -105,7 +105,7 @@ public function get_log(): array { /** * Get formatted log. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param bool $output Whether or not the log is set to output. * @return string[]|null The formatted log as array. @@ -130,7 +130,7 @@ public function formatted_log( $output = false ): ?array { /** * Add a log entry. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $message The message to be output in the log. */ @@ -147,7 +147,7 @@ public function log( string $message ) { /** * Reset the log. * - * @since 6.2.0-alpha + * @since 6.2.0 */ public function reset_log() { $this->log = array(); diff --git a/src/automation/class-automation-workflow.php b/src/automation/class-automation-workflow.php index c285e20d..131cc3bf 100644 --- a/src/automation/class-automation-workflow.php +++ b/src/automation/class-automation-workflow.php @@ -3,7 +3,7 @@ * Defines the Jetpack CRM Automation workflow base. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -13,14 +13,14 @@ /** * Adds the Automation_Workflow class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Automation_Workflow { /** * The workflow id. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int|string */ protected $id; @@ -28,7 +28,7 @@ class Automation_Workflow { /** * The CRM site ID the workflow belongs to. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ protected $zbs_site; @@ -36,7 +36,7 @@ class Automation_Workflow { /** * The WP User who created the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ protected $zbs_owner; @@ -44,7 +44,7 @@ class Automation_Workflow { /** * The workflow name. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ public $name; @@ -52,7 +52,7 @@ class Automation_Workflow { /** * The workflow description. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ public $description; @@ -60,7 +60,7 @@ class Automation_Workflow { /** * The workflow category. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string */ public $category; @@ -68,7 +68,7 @@ class Automation_Workflow { /** * The workflow triggers. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ public $triggers; @@ -76,7 +76,7 @@ class Automation_Workflow { /** * The workflow initial step id. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int|string|null */ public $initial_step; @@ -84,7 +84,7 @@ class Automation_Workflow { /** * The workflow steps list * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ public $steps; @@ -92,7 +92,7 @@ class Automation_Workflow { /** * The workflow active status. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var bool */ public $active; @@ -100,7 +100,7 @@ class Automation_Workflow { /** * The version of the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ protected $version; @@ -108,7 +108,7 @@ class Automation_Workflow { /** * A timestamp that reflects when the workflow was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ protected $created_at; @@ -116,7 +116,7 @@ class Automation_Workflow { /** * A timestamp that reflects when the workflow was last updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ protected $updated_at; @@ -124,7 +124,7 @@ class Automation_Workflow { /** * The automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Engine */ protected $automation_engine; @@ -132,7 +132,7 @@ class Automation_Workflow { /** * The automation logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Logger */ protected $logger; @@ -140,7 +140,7 @@ class Automation_Workflow { /** * Automation_Workflow constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $workflow_data The workflow data to be constructed. */ @@ -166,7 +166,7 @@ public function __construct( array $workflow_data ) { * This will either be a string if the workflow is registered in the codebase, * or an integer if it is a custom workflow stored in the database. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string The workflow id. */ @@ -177,7 +177,7 @@ public function get_id() { /** * Get the CRM site the workflow should run on. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int */ @@ -188,7 +188,7 @@ public function get_zbs_site(): int { /** * Set the CRM site teh workflow should run on. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $site The CRM site the workflow should run on. * @return void @@ -200,7 +200,7 @@ public function set_zbs_site( int $site ): void { /** * Get the CRM owner/creator of the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int */ @@ -211,7 +211,7 @@ public function get_zbs_owner(): int { /** * Set the CRM owner/creator of the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $owner The CRM owner/creator of the workflow. * @return void @@ -223,7 +223,7 @@ public function set_zbs_owner( int $owner ): void { /** * Get name. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -234,7 +234,7 @@ public function get_name(): string { /** * Set name. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $name The workflow name. * @return void @@ -246,7 +246,7 @@ public function set_name( string $name ): void { /** * Get description. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -257,7 +257,7 @@ public function get_description(): string { /** * Set description. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $description The workflow description. * @return void @@ -269,7 +269,7 @@ public function set_description( string $description ): void { /** * Get category. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -280,7 +280,7 @@ public function get_category(): string { /** * Set category. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $category The workflow category. * @return void @@ -292,7 +292,7 @@ public function set_category( string $category ): void { /** * Get the database schema version. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int */ @@ -303,7 +303,7 @@ public function get_version(): int { /** * Get the timestamp for when the workflow was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|null */ @@ -314,7 +314,7 @@ public function get_created_at(): ?int { /** * Get the timestamp for when the workflow was last updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|null */ @@ -325,7 +325,7 @@ public function get_updated_at(): ?int { /** * Set the triggers within the workflow given an array of triggers. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string[] $triggers An array of triggers to be set. * @return void @@ -337,7 +337,7 @@ public function set_triggers( array $triggers ): void { /** * Get the trigger names of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string[] The workflow trigger names. */ @@ -348,7 +348,7 @@ public function get_triggers(): array { /** * Instance the triggers of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @throws Workflow_Exception Throws an exception if there is an issue initializing the trigger. * @return void @@ -385,7 +385,7 @@ public function init_triggers(): void { /** * Set initial step of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int|string|null $step_id The initial step id. * @return void @@ -397,7 +397,7 @@ public function set_initial_step( $step_id ): void { /** * Set the step list of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $steps The steps of the workflow. */ @@ -411,7 +411,7 @@ public function set_steps( array $steps ) { * The main use-case to get the workflow as an array is to be stored * in the database or if it is being shared via API. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The workflow as an array. */ @@ -436,7 +436,7 @@ public function to_array(): array { /** * Get the initial step data of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array|null The initial step data of the workflow. */ @@ -447,7 +447,7 @@ public function get_initial_step(): ?array { /** * Get the initial step index of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The index key for the next step of the workflow. */ @@ -458,7 +458,7 @@ public function get_initial_step_index() { /** * Get the steps of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The steps of the workflow. */ @@ -469,7 +469,7 @@ public function get_steps(): array { /** * Get the initial step of this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int|string $id The step id. * @return array|null The step data instance. @@ -485,7 +485,7 @@ public function get_step( $id ): ?array { /** * Start the workflow execution once a trigger is activated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Trigger $trigger An instance of the Trigger class. * @param Data_Type|null $data All relevant object data to be passed through the workflow. @@ -501,7 +501,7 @@ public function execute( Trigger $trigger, Data_Type $data = null ): bool { /** * Turn on the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -512,7 +512,7 @@ public function turn_on(): void { /** * Turn off the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -523,7 +523,7 @@ public function turn_off(): void { /** * Check if the workflow is active. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return bool Whether the workflow is active. */ @@ -534,7 +534,7 @@ public function is_active(): bool { /** * Add a trigger to this workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $string The name of the trigger to add. * @return void @@ -546,7 +546,7 @@ public function add_trigger( string $string ): void { /** * Set the automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Engine $engine An instance of the Automation_Engine class. * @return void @@ -562,7 +562,7 @@ public function set_engine( Automation_Engine $engine ): void { /** * Get the automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Automation_Engine Return an instance of the Automation_Engine class. * @@ -583,7 +583,7 @@ protected function get_engine(): Automation_Engine { /** * Set Logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Logger $logger An instance of the Automation_Logger class. * @return void @@ -595,7 +595,7 @@ public function set_logger( Automation_Logger $logger ) { /** * Get Logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Automation_Logger Return an instance of the Automation_Logger class. */ @@ -607,7 +607,7 @@ public function get_logger(): Automation_Logger { * Process the steps of the workflow. * * @throws Workflow_Exception|Automation_Exception Exception if there is an issue processing the steps. - * @since 6.2.0-alpha + * @since 6.2.0 */ private function process_steps() { foreach ( $this->steps as $step_data ) { @@ -620,7 +620,7 @@ private function process_steps() { /** * Set the timestamp for when the workflow was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $time The timestamp for when the workflow was created. * @return void @@ -632,7 +632,7 @@ public function set_created_at( int $time ): void { /** * Set the timestamp for when the workflow was last updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $time The timestamp for when the workflow was last updated. * @return void @@ -644,7 +644,7 @@ public function set_updated_at( int $time ): void { /** * Set the id of the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int|string $id The workflow id. * @return void diff --git a/src/automation/class-base-action.php b/src/automation/class-base-action.php index bc9903d0..f60d36e8 100644 --- a/src/automation/class-base-action.php +++ b/src/automation/class-base-action.php @@ -3,7 +3,7 @@ * Base Action implementation * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,7 +11,7 @@ /** * Base Action Step. * - * @since 6.2.0-alpha + * @since 6.2.0 * {@inheritDoc} */ abstract class Base_Action extends Base_Step implements Action { diff --git a/src/automation/class-base-condition.php b/src/automation/class-base-condition.php index fcf3e976..abf4c257 100644 --- a/src/automation/class-base-condition.php +++ b/src/automation/class-base-condition.php @@ -3,7 +3,7 @@ * Base Condition implementation * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,7 +11,7 @@ /** * Base Condition Step. * - * @since 6.2.0-alpha + * @since 6.2.0 * {@inheritDoc} */ abstract class Base_Condition extends Base_Step implements Condition { @@ -19,7 +19,7 @@ abstract class Base_Condition extends Base_Step implements Condition { /** * The Automation logger. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Logger $logger The Automation logger. */ protected $logger; @@ -27,7 +27,7 @@ abstract class Base_Condition extends Base_Step implements Condition { /** * If the condition is met or not. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var bool If the condition is met or not. */ protected $condition_met = false; @@ -35,7 +35,7 @@ abstract class Base_Condition extends Base_Step implements Condition { /** * All valid operators for this condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] $valid_operators Valid operators. */ protected $valid_operators = array(); @@ -43,7 +43,7 @@ abstract class Base_Condition extends Base_Step implements Condition { /** * Base_Condition constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -56,7 +56,7 @@ public function __construct( array $step_data ) { /** * Get the next step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|int|null The next step data. */ @@ -67,7 +67,7 @@ public function get_next_step_id() { /** * Met the condition? * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return bool If the condition is met or not. */ @@ -79,7 +79,7 @@ public function condition_met(): bool { * Checks if this is a valid operator for this condition and throws an * exception if the operator is invalid. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $operator The operator. * @return void diff --git a/src/automation/class-base-step.php b/src/automation/class-base-step.php index 2e99edf6..0db01968 100644 --- a/src/automation/class-base-step.php +++ b/src/automation/class-base-step.php @@ -3,7 +3,7 @@ * Base Step * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -13,7 +13,7 @@ /** * Base Step. * - * @since 6.2.0-alpha + * @since 6.2.0 * {@inheritDoc} */ abstract class Base_Step implements Step { @@ -21,7 +21,7 @@ abstract class Base_Step implements Step { /** * Step attributes. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected $attributes; @@ -29,7 +29,7 @@ abstract class Base_Step implements Step { /** * Attributes definitions. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected $attribute_definitions = array(); @@ -37,7 +37,7 @@ abstract class Base_Step implements Step { /** * The next step if the current one is successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int|string|null */ protected $next_step_true = null; @@ -45,7 +45,7 @@ abstract class Base_Step implements Step { /** * The next step if not successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int|string|null */ protected $next_step_false = null; @@ -53,7 +53,7 @@ abstract class Base_Step implements Step { /** * Base_Step constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data An array of data for the current step. */ @@ -66,7 +66,7 @@ public function __construct( array $step_data ) { /** * Get the data of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The step data. */ @@ -77,7 +77,7 @@ public function get_attributes(): array { /** * Set attributes of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $attributes The attributes to set. */ @@ -88,7 +88,7 @@ public function set_attributes( array $attributes ) { /** * Get attribute value. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $attribute The attribute to get. * @param mixed $default The default value to return if the attribute is not set. @@ -101,7 +101,7 @@ public function get_attribute( string $attribute, $default = null ) { /** * Set attribute value. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $attribute The attribute key. * @param mixed $value The default value. @@ -114,7 +114,7 @@ public function set_attribute( string $attribute, $value ): void { /** * Get the step attribute definitions. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Attribute_Definition[] The attribute definitions of the step. */ @@ -125,7 +125,7 @@ public function get_attribute_definitions(): array { /** * Set the step attributes. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Attribute_Definition[] $attribute_definitions Set the step attributes. */ @@ -140,7 +140,7 @@ public function set_attribute_definitions( array $attribute_definitions ) { * next step if the current one is successful. * One example of this will be conditions where a certain criteria has not been met. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step id. */ @@ -151,7 +151,7 @@ public function get_next_step_id() { /** * Get the next step if the current one is successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step id. */ @@ -162,7 +162,7 @@ public function get_next_step_true() { /** * Set the next step if the current one is successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string|int|null $step_id The next linked step id. * @return void @@ -174,7 +174,7 @@ public function set_next_step_true( $step_id ): void { /** * Get the next step if the current one is falsy. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step id. */ @@ -185,7 +185,7 @@ public function get_next_step_false() { /** * Set the next step if the current one is falsy. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string|int|null $step_id The next linked step id. * @return void @@ -197,7 +197,7 @@ public function set_next_step_false( $step_id ): void { /** * Validate data passed to the step * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data type passed. * @return void @@ -217,7 +217,7 @@ public function validate( Data_Type $data ): void { /** * Validate and execute the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data type passed. * @return void @@ -232,7 +232,7 @@ public function validate_and_execute( Data_Type $data ): void { /** * Execute the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data type passed from the trigger. */ @@ -241,7 +241,7 @@ abstract protected function execute( Data_Type $data ); /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -250,7 +250,7 @@ abstract public static function get_slug(): string; /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -259,7 +259,7 @@ abstract public static function get_title(): ?string; /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -268,7 +268,7 @@ abstract public static function get_description(): ?string; /** * Get the data type exepected by the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The data type expected by the step. */ @@ -277,7 +277,7 @@ abstract public static function get_data_type(): string; /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -289,7 +289,7 @@ abstract public static function get_category(): ?string; * The main use-case to get the step as an array is to prepare * the items for an API response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The step as an array. */ diff --git a/src/automation/class-base-trigger.php b/src/automation/class-base-trigger.php index 9ad783c7..b4d04ed5 100644 --- a/src/automation/class-base-trigger.php +++ b/src/automation/class-base-trigger.php @@ -3,7 +3,7 @@ * Base Trigger implementation * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,7 +11,7 @@ /** * Base Trigger implementation. * - * @since 6.2.0-alpha + * @since 6.2.0 * {@inheritDoc} */ abstract class Base_Trigger implements Trigger { @@ -19,7 +19,7 @@ abstract class Base_Trigger implements Trigger { /** * The workflow to execute by this trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow = null; @@ -27,7 +27,7 @@ abstract class Base_Trigger implements Trigger { /** * Set the workflow to execute by this trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to execute by this trigger. */ @@ -38,7 +38,7 @@ public function set_workflow( Automation_Workflow $workflow ) { /** * Execute the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed|null $data The data to pass to the workflow. * @param mixed|null $previous_data The previous data to pass to the workflow. @@ -59,7 +59,7 @@ public function execute_workflow( $data = null, $previous_data = null ) { /** * Initialize the trigger to listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to execute by this trigger. */ @@ -74,7 +74,7 @@ public function init( Automation_Workflow $workflow ) { * @param string $hook_name The hook name to listen to. * @param int $priority The priority of the action. * @param int $accepted_args The number of arguments the action accepts. - * @since 6.2.0-alpha + * @since 6.2.0 * */ protected function listen_to_wp_action( string $hook_name, int $priority = 10, int $accepted_args = 1 ): void { @@ -84,7 +84,7 @@ protected function listen_to_wp_action( string $hook_name, int $priority = 10, i /** * Get the trigger slug. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The trigger slug. */ @@ -93,7 +93,7 @@ abstract public static function get_slug(): string; /** * Get the trigger title. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The trigger title. */ @@ -102,7 +102,7 @@ abstract public static function get_title(): ?string; /** * Get the trigger description. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The trigger description. */ @@ -111,7 +111,7 @@ abstract public static function get_description(): ?string; /** * Get the trigger category. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The trigger category. */ @@ -121,7 +121,7 @@ abstract public static function get_category(): ?string; * Listen to the desired event. It will be called by init(), it should * call the execute_workflow method when the event happens. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ @@ -133,7 +133,7 @@ abstract protected function listen_to_event(): void; * The main use-case to get the trigger as an array is to prepare * the items for an API response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The trigger as an array. */ diff --git a/src/automation/class-data-transformer-exception.php b/src/automation/class-data-transformer-exception.php index d21013fd..d093c605 100644 --- a/src/automation/class-data-transformer-exception.php +++ b/src/automation/class-data-transformer-exception.php @@ -10,14 +10,14 @@ /** * Adds a Data_Transformer specific exception. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Data_Transformer_Exception extends \Exception { /** * Error code for when the class doesn't exist. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -26,7 +26,7 @@ class Data_Transformer_Exception extends \Exception { /** * Error code for when a transformer is passed, but doesn't extend the base class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -35,7 +35,7 @@ class Data_Transformer_Exception extends \Exception { /** * Error code for when a slug is already being used. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -44,7 +44,7 @@ class Data_Transformer_Exception extends \Exception { /** * Error code for when an object doesn't have a related ID to map to. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -53,7 +53,7 @@ class Data_Transformer_Exception extends \Exception { /** * Error code for when two objects cannot be mixed by the system (yet). * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ diff --git a/src/automation/class-data-type-exception.php b/src/automation/class-data-type-exception.php index 719bddfd..ed9b4b39 100644 --- a/src/automation/class-data-type-exception.php +++ b/src/automation/class-data-type-exception.php @@ -10,14 +10,14 @@ /** * Adds a Data_Type specific exception. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Data_Type_Exception extends \Exception { /** * Error code for when the class doesn't exist. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -26,7 +26,7 @@ class Data_Type_Exception extends \Exception { /** * Error code for when a transformer is passed, but doesn't extend the base class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -35,7 +35,7 @@ class Data_Type_Exception extends \Exception { /** * Error code for when a slug is already being used. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -44,7 +44,7 @@ class Data_Type_Exception extends \Exception { /** * Error code for when a workflow tries to call a data type that doesn't exist. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ @@ -53,7 +53,7 @@ class Data_Type_Exception extends \Exception { /** * Error code for when the passed data do not match expected format/type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @var int */ diff --git a/src/automation/class-step-exception.php b/src/automation/class-step-exception.php index d60bafe9..023b6f0a 100644 --- a/src/automation/class-step-exception.php +++ b/src/automation/class-step-exception.php @@ -3,7 +3,7 @@ * Defines the Jetpack CRM Automation step exception. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Adds the Step_Exception class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Step_Exception extends Automation_Exception { /** * Step type not allowed code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const STEP_TYPE_NOT_ALLOWED = 10; @@ -26,7 +26,7 @@ class Step_Exception extends Automation_Exception { /** * Step class does not exist code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const DO_NOT_EXIST = 11; @@ -34,7 +34,7 @@ class Step_Exception extends Automation_Exception { /** * Step class do not extend base class or interface. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const DO_NOT_EXTEND_BASE = 12; diff --git a/src/automation/class-workflow-exception.php b/src/automation/class-workflow-exception.php index 58b57558..1b6a83b6 100644 --- a/src/automation/class-workflow-exception.php +++ b/src/automation/class-workflow-exception.php @@ -3,7 +3,7 @@ * Defines the Jetpack CRM Automation workflow exception. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Adds the Workflow_Exception class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Workflow_Exception extends \Exception { /** * Invalid Workflow error code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const INVALID_WORKFLOW = 10; @@ -26,7 +26,7 @@ class Workflow_Exception extends \Exception { /** * Workflow require a trigger error code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const WORKFLOW_REQUIRE_A_TRIGGER = 11; @@ -34,7 +34,7 @@ class Workflow_Exception extends \Exception { /** * Workflow require an initial step error code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const WORKFLOW_REQUIRE_A_INITIAL_STEP = 12; @@ -42,7 +42,7 @@ class Workflow_Exception extends \Exception { /** * Error initializing trigger error code. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const ERROR_INITIALIZING_TRIGGER = 13; @@ -52,7 +52,7 @@ class Workflow_Exception extends \Exception { * * This exception should be thrown if a workflow is attempted to be executed without an engine instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const MISSING_ENGINE_INSTANCE = 14; @@ -62,7 +62,7 @@ class Workflow_Exception extends \Exception { * * This exception should be thrown in the context of CRUD action(s). * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const FAILED_TO_INSERT = 50; @@ -72,7 +72,7 @@ class Workflow_Exception extends \Exception { * * This exception should be thrown in the context of CRUD action(s). * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const FAILED_TO_UPDATE = 51; @@ -82,7 +82,7 @@ class Workflow_Exception extends \Exception { * * This exception should be thrown in the context of CRUD action(s). * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const FAILED_TO_DELETE = 52; diff --git a/src/automation/commons/actions/contacts/class-add-contact-log.php b/src/automation/commons/actions/contacts/class-add-contact-log.php index ce2607c9..db0d3ac7 100644 --- a/src/automation/commons/actions/contacts/class-add-contact-log.php +++ b/src/automation/commons/actions/contacts/class-add-contact-log.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Add_Contact_Log action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -17,14 +17,14 @@ /** * Adds the Add_Contact_Log class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Add_Contact_Log extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -35,7 +35,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title of the step. */ @@ -46,7 +46,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description of the step. */ @@ -57,7 +57,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -68,7 +68,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category of the step. */ @@ -79,7 +79,7 @@ public static function get_category(): ?string { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -123,7 +123,7 @@ public function __construct( array $step_data ) { /** * Add the log to the contact via the DAL. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/contacts/class-add-remove-contact-tag.php b/src/automation/commons/actions/contacts/class-add-remove-contact-tag.php index 5b917e3a..e2d9c4bb 100644 --- a/src/automation/commons/actions/contacts/class-add-remove-contact-tag.php +++ b/src/automation/commons/actions/contacts/class-add-remove-contact-tag.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Add_Remove_Contact_Tag action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -17,14 +17,14 @@ /** * Adds the Add_Remove_Contact_Tag class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Add_Remove_Contact_Tag extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -35,7 +35,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title of the step. */ @@ -46,7 +46,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -57,7 +57,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -68,7 +68,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -79,7 +79,7 @@ public static function get_category(): ?string { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -112,7 +112,7 @@ public function __construct( array $step_data ) { /** * Add / remove the tag to / from the contact via the DAL. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/contacts/class-delete-contact.php b/src/automation/commons/actions/contacts/class-delete-contact.php index 4ba97077..927deb94 100644 --- a/src/automation/commons/actions/contacts/class-delete-contact.php +++ b/src/automation/commons/actions/contacts/class-delete-contact.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Delete_Contact action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -17,14 +17,14 @@ /** * Adds the Delete_Contact class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Delete_Contact extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -35,7 +35,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -46,7 +46,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -57,7 +57,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -68,7 +68,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category of the step. */ @@ -79,7 +79,7 @@ public static function get_category(): ?string { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -105,7 +105,7 @@ public function __construct( array $step_data ) { /** * Update the DAL - deleting the given contact. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/contacts/class-new-contact.php b/src/automation/commons/actions/contacts/class-new-contact.php index a0d5ddc4..f54a2dd4 100644 --- a/src/automation/commons/actions/contacts/class-new-contact.php +++ b/src/automation/commons/actions/contacts/class-new-contact.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation New_Contact action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -15,14 +15,14 @@ /** * Adds the New_Contact class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class New_Contact extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -33,7 +33,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -44,7 +44,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -55,7 +55,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -66,7 +66,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -77,7 +77,7 @@ public static function get_category(): ?string { /** * Add the new contact to the DAL. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/contacts/class-update-contact-status.php b/src/automation/commons/actions/contacts/class-update-contact-status.php index 5da1a354..d8913b77 100644 --- a/src/automation/commons/actions/contacts/class-update-contact-status.php +++ b/src/automation/commons/actions/contacts/class-update-contact-status.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Update_Contact_Status action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -18,14 +18,14 @@ /** * Adds the Update_Contact_Status class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Update_Contact_Status extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -36,7 +36,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -47,7 +47,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -58,7 +58,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -69,7 +69,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -80,7 +80,7 @@ public static function get_category(): ?string { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -112,7 +112,7 @@ public function __construct( array $step_data ) { /** * Update the DAL with the new contact status. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/contacts/class-update-contact.php b/src/automation/commons/actions/contacts/class-update-contact.php index cad1fa15..127f196f 100644 --- a/src/automation/commons/actions/contacts/class-update-contact.php +++ b/src/automation/commons/actions/contacts/class-update-contact.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Update_Contact action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -17,14 +17,14 @@ /** * Adds the Update_Contact class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Update_Contact extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -35,7 +35,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -46,7 +46,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -57,7 +57,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -68,7 +68,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -79,7 +79,7 @@ public static function get_category(): ?string { /** * Update the DAL with the new contact data. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/email/class-base-send-email.php b/src/automation/commons/actions/email/class-base-send-email.php index 57638fdb..9075750e 100644 --- a/src/automation/commons/actions/email/class-base-send-email.php +++ b/src/automation/commons/actions/email/class-base-send-email.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Send_Email_To_Contact action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -13,7 +13,7 @@ /** * Adds the Add_Contact_Log class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ abstract class Base_Send_Email extends Base_Action { @@ -21,7 +21,7 @@ abstract class Base_Send_Email extends Base_Action { * Sends email. * Note that this is essentially an abstraction layer on top of legacy code. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $email_data Array with email data. */ diff --git a/src/automation/commons/actions/email/class-send-contact-email.php b/src/automation/commons/actions/email/class-send-contact-email.php index 23edb334..0a4da0d5 100644 --- a/src/automation/commons/actions/email/class-send-contact-email.php +++ b/src/automation/commons/actions/email/class-send-contact-email.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Send_Contact_Email action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -15,14 +15,14 @@ /** * Adds the Send_Contact_Email class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Send_Contact_Email extends Base_Send_Email { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -33,7 +33,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title of the step. */ @@ -44,7 +44,7 @@ public static function get_title(): string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description of the step. */ @@ -55,7 +55,7 @@ public static function get_description(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category of the step. */ @@ -66,7 +66,7 @@ public static function get_category(): string { /** * Send an email to a contact. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data Data passed from the trigger. * @param ?mixed $previous_data (Optional) The data before being changed. diff --git a/src/automation/commons/actions/invoice/class-set-invoice-status.php b/src/automation/commons/actions/invoice/class-set-invoice-status.php index 8c2ae612..b07ee3e4 100644 --- a/src/automation/commons/actions/invoice/class-set-invoice-status.php +++ b/src/automation/commons/actions/invoice/class-set-invoice-status.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Set_Invoice_Status action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -17,14 +17,14 @@ /** * Adds the Set_Invoice_Status class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Set_Invoice_Status extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -35,7 +35,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -46,7 +46,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -57,7 +57,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -68,7 +68,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -79,7 +79,7 @@ public static function get_category(): ?string { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -103,7 +103,7 @@ public function __construct( array $step_data ) { /** * Update the DAL with the invoice status. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/actions/transactions/class-set-transaction-status.php b/src/automation/commons/actions/transactions/class-set-transaction-status.php index 3e3444cb..481c2908 100644 --- a/src/automation/commons/actions/transactions/class-set-transaction-status.php +++ b/src/automation/commons/actions/transactions/class-set-transaction-status.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Set_Transaction_Status action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Actions; @@ -16,14 +16,14 @@ /** * Adds the Set_Transaction_Status class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Set_Transaction_Status extends Base_Action { /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -34,7 +34,7 @@ public static function get_slug(): string { /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -45,7 +45,7 @@ public static function get_title(): ?string { /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -56,7 +56,7 @@ public static function get_description(): ?string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -67,7 +67,7 @@ public static function get_data_type(): string { /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -78,7 +78,7 @@ public static function get_category(): ?string { /** * Update the DAL with the transaction status. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. */ diff --git a/src/automation/commons/conditions/contacts/class-contact-field-changed.php b/src/automation/commons/conditions/contacts/class-contact-field-changed.php index 1b7eb146..f3c517bf 100644 --- a/src/automation/commons/conditions/contacts/class-contact-field-changed.php +++ b/src/automation/commons/conditions/contacts/class-contact-field-changed.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Field_Changed condition. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Conditions; @@ -18,14 +18,14 @@ /** * Contact_Field_Changed condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Field_Changed extends Base_Condition { /** * Contact_Field_Changed constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -73,7 +73,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -116,7 +116,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the contact field changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Contact Field Changed'. */ @@ -127,7 +127,7 @@ public static function get_title(): ?string { /** * Get the slug for the contact field changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'contact_field_changed'. */ @@ -138,7 +138,7 @@ public static function get_slug(): string { /** * Get the description for the contact field changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -149,7 +149,7 @@ public static function get_description(): string { /** * Get the category of the contact field changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'jpcrm/contact_condition'. */ @@ -160,7 +160,7 @@ public static function get_category(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ diff --git a/src/automation/commons/conditions/contacts/class-contact-tag.php b/src/automation/commons/conditions/contacts/class-contact-tag.php index 1b9e3ba8..3224c721 100644 --- a/src/automation/commons/conditions/contacts/class-contact-tag.php +++ b/src/automation/commons/conditions/contacts/class-contact-tag.php @@ -17,14 +17,14 @@ /** * Contact_Tag condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Tag extends Base_Condition { /** * Contact_Tag constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -68,7 +68,7 @@ private function has_tag_by_name( Contact $contact, string $tag_name ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -132,7 +132,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the contact tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title. */ @@ -143,7 +143,7 @@ public static function get_title(): string { /** * Get the slug for the contact tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'jpcrm/condition/contact_tag'. */ @@ -154,7 +154,7 @@ public static function get_slug(): string { /** * Get the description for the contact tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -165,7 +165,7 @@ public static function get_description(): string { /** * Get the category of the contact tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The translated string for 'Contact'. */ @@ -176,7 +176,7 @@ public static function get_category(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ diff --git a/src/automation/commons/conditions/contacts/class-contact-transitional-status.php b/src/automation/commons/conditions/contacts/class-contact-transitional-status.php index 0c92fa53..4b39526f 100644 --- a/src/automation/commons/conditions/contacts/class-contact-transitional-status.php +++ b/src/automation/commons/conditions/contacts/class-contact-transitional-status.php @@ -17,14 +17,14 @@ /** * Contact_Transitional_Status condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Transitional_Status extends Base_Condition { /** * Contact_Transitional_Status constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -47,7 +47,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -85,7 +85,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the contact transitional status condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Contact Transitional Status'. */ @@ -96,7 +96,7 @@ public static function get_title(): string { /** * Get the slug for the contact transitional status condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'contact_status_transitional'. */ @@ -107,7 +107,7 @@ public static function get_slug(): string { /** * Get the description for the contact transitional status condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -118,7 +118,7 @@ public static function get_description(): string { /** * Get the category of the contact transitional status condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'contact'. */ @@ -129,7 +129,7 @@ public static function get_category(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ diff --git a/src/automation/commons/conditions/invoices/class-invoice-field-contains.php b/src/automation/commons/conditions/invoices/class-invoice-field-contains.php index 952a4a91..16a01dd7 100644 --- a/src/automation/commons/conditions/invoices/class-invoice-field-contains.php +++ b/src/automation/commons/conditions/invoices/class-invoice-field-contains.php @@ -17,14 +17,14 @@ /** * Invoice_Field_Contains condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Field_Contains extends Base_Condition { /** * Invoice_Field_Contains constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -56,7 +56,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -98,7 +98,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the invoice field contains condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Invoice Field Contains'. */ @@ -109,7 +109,7 @@ public static function get_title(): string { /** * Get the slug for the invoice field contains condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'invoice_field_contains'. */ @@ -120,7 +120,7 @@ public static function get_slug(): string { /** * Get the description for the invoice field contains condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -131,7 +131,7 @@ public static function get_description(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -142,7 +142,7 @@ public static function get_data_type(): string { /** * Get the category of the invoice field contains condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'invoice'. */ diff --git a/src/automation/commons/conditions/invoices/class-invoice-status-changed.php b/src/automation/commons/conditions/invoices/class-invoice-status-changed.php index 8e54465a..61681546 100644 --- a/src/automation/commons/conditions/invoices/class-invoice-status-changed.php +++ b/src/automation/commons/conditions/invoices/class-invoice-status-changed.php @@ -16,14 +16,14 @@ /** * Invoice_Status_Changed condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Status_Changed extends Base_Condition { /** * Invoice_Status_Changed constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -47,7 +47,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -90,7 +90,7 @@ protected function execute( Data_Type $data ) { * Checks if the invoice has at least the necessary keys to detect a status * change. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The invoice data. * @return bool True if the data is valid to detect a status change, false otherwise @@ -102,7 +102,7 @@ private function is_valid_invoice_status_changed_data( array $data ): bool { /** * Get the title for the invoice status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Invoice Status Changed'. */ @@ -113,7 +113,7 @@ public static function get_title(): string { /** * Get the slug for the invoice status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'invoice_status_changed'. */ @@ -124,7 +124,7 @@ public static function get_slug(): string { /** * Get the description for the invoice status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -135,7 +135,7 @@ public static function get_description(): string { /** * Get the category of the invoice status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'jpcrm/invoice_condition'. */ @@ -146,7 +146,7 @@ public static function get_category(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ diff --git a/src/automation/commons/conditions/quotes/class-quote-status-changed.php b/src/automation/commons/conditions/quotes/class-quote-status-changed.php index 82916b38..d8025cce 100644 --- a/src/automation/commons/conditions/quotes/class-quote-status-changed.php +++ b/src/automation/commons/conditions/quotes/class-quote-status-changed.php @@ -17,14 +17,14 @@ /** * Quote_Status_Changed condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Status_Changed extends Base_Condition { /** * Quote_Status_Changed constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -48,7 +48,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data The data this condition has to evaluate. * @return void @@ -90,7 +90,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the quote status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Quote Status Changed'. */ @@ -101,7 +101,7 @@ public static function get_title(): string { /** * Get the slug for the quote status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'quote_status_changed'. */ @@ -112,7 +112,7 @@ public static function get_slug(): string { /** * Get the description for the quote status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -123,7 +123,7 @@ public static function get_description(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -134,7 +134,7 @@ public static function get_data_type(): string { /** * Get the category of the quote status changed condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'jpcrm/quote_condition'. */ diff --git a/src/automation/commons/conditions/tags/class-entity-tag.php b/src/automation/commons/conditions/tags/class-entity-tag.php index 36030bd3..d8b751cc 100644 --- a/src/automation/commons/conditions/tags/class-entity-tag.php +++ b/src/automation/commons/conditions/tags/class-entity-tag.php @@ -16,14 +16,14 @@ /** * Entity Tag condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Entity_Tag extends Base_Condition { /** * Entity Tag constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -48,7 +48,7 @@ public function __construct( array $step_data ) { /** * Check for valid parameters. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $operator The operator. * @param mixed $data The data to validate. @@ -109,7 +109,7 @@ private function has_tag_by_name( $data, string $tag_name ) { * Executes and valid conditions. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -167,7 +167,7 @@ public function execute( Data_Type $data ) { /** * Checks if the tag list has at least the required keys. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tag_list The tag list to validate. * @return bool True if the data is valid to evaluate an entity tag condition, false otherwise. @@ -186,7 +186,7 @@ private function is_valid_tag_data( array $tag_list ): bool { /** * Get the title for the entity tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title. */ @@ -197,7 +197,7 @@ public static function get_title(): string { /** * Get the slug for the entity tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'jpcrm/condition/entity_tag'. */ @@ -208,7 +208,7 @@ public static function get_slug(): string { /** * Get the description for the entity tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -219,7 +219,7 @@ public static function get_description(): string { /** * Get the category of the entity tag condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The translated string for the entity. */ @@ -230,7 +230,7 @@ public static function get_category(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ diff --git a/src/automation/commons/conditions/transactions/class-transaction-field.php b/src/automation/commons/conditions/transactions/class-transaction-field.php index 0849f545..3d0d4d3a 100644 --- a/src/automation/commons/conditions/transactions/class-transaction-field.php +++ b/src/automation/commons/conditions/transactions/class-transaction-field.php @@ -17,14 +17,14 @@ /** * Transaction_Field condition class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Field extends Base_Condition { /** * Transaction_Field constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $step_data The step data. */ @@ -60,7 +60,7 @@ public function __construct( array $step_data ) { * Executes the condition. If the condition is met, the value stored in the * attribute $condition_met is set to true; otherwise, it is set to false. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data Data passed from the trigger. * @return void @@ -113,7 +113,7 @@ protected function execute( Data_Type $data ) { /** * Get the title for the transaction field condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title 'Transaction Field Changed'. */ @@ -124,7 +124,7 @@ public static function get_title(): string { /** * Get the slug for the transaction field condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug 'transaction_field'. */ @@ -135,7 +135,7 @@ public static function get_slug(): string { /** * Get the description for the transaction field condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description for the condition. */ @@ -146,7 +146,7 @@ public static function get_description(): string { /** * Get the data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The type of the step. */ @@ -157,7 +157,7 @@ public static function get_data_type(): string { /** * Get the category of the transaction field condition. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category 'transaction'. */ diff --git a/src/automation/commons/triggers/companies/class-company-created.php b/src/automation/commons/triggers/companies/class-company-created.php index 6255e943..49b53cd7 100644 --- a/src/automation/commons/triggers/companies/class-company-created.php +++ b/src/automation/commons/triggers/companies/class-company-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Company_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Company_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/companies/class-company-deleted.php b/src/automation/commons/triggers/companies/class-company-deleted.php index 3e1b9add..67c7667c 100644 --- a/src/automation/commons/triggers/companies/class-company-deleted.php +++ b/src/automation/commons/triggers/companies/class-company-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Company_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Company_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/companies/class-company-status-updated.php b/src/automation/commons/triggers/companies/class-company-status-updated.php index 47c08c49..6e595111 100644 --- a/src/automation/commons/triggers/companies/class-company-status-updated.php +++ b/src/automation/commons/triggers/companies/class-company-status-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Company_Status_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Company_Status_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Status_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/companies/class-company-updated.php b/src/automation/commons/triggers/companies/class-company-updated.php index 62929afc..7087dcd3 100644 --- a/src/automation/commons/triggers/companies/class-company-updated.php +++ b/src/automation/commons/triggers/companies/class-company-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Company_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Company_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|nul The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-before-deleted.php b/src/automation/commons/triggers/contacts/class-contact-before-deleted.php index 53f01d28..8cd19800 100644 --- a/src/automation/commons/triggers/contacts/class-contact-before-deleted.php +++ b/src/automation/commons/triggers/contacts/class-contact-before-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Before_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Before_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Before_Deleted extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Before_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-created.php b/src/automation/commons/triggers/contacts/class-contact-created.php index 4f7e0754..18c2efb1 100644 --- a/src/automation/commons/triggers/contacts/class-contact-created.php +++ b/src/automation/commons/triggers/contacts/class-contact-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Created extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-deleted.php b/src/automation/commons/triggers/contacts/class-contact-deleted.php index 2c729068..3550274a 100644 --- a/src/automation/commons/triggers/contacts/class-contact-deleted.php +++ b/src/automation/commons/triggers/contacts/class-contact-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Deleted extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-email-updated.php b/src/automation/commons/triggers/contacts/class-contact-email-updated.php index b6279195..478f67c8 100644 --- a/src/automation/commons/triggers/contacts/class-contact-email-updated.php +++ b/src/automation/commons/triggers/contacts/class-contact-email-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Email_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Email_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Email_Updated extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Email_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-status-updated.php b/src/automation/commons/triggers/contacts/class-contact-status-updated.php index c3aa3a74..c7a017a5 100644 --- a/src/automation/commons/triggers/contacts/class-contact-status-updated.php +++ b/src/automation/commons/triggers/contacts/class-contact-status-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Status_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Status_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Status_Updated extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Status_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/contacts/class-contact-updated.php b/src/automation/commons/triggers/contacts/class-contact-updated.php index a2ec9888..ef198d7d 100644 --- a/src/automation/commons/triggers/contacts/class-contact-updated.php +++ b/src/automation/commons/triggers/contacts/class-contact-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Contact_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the Contact_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Updated extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class Contact_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/invoices/class-invoice-created.php b/src/automation/commons/triggers/invoices/class-invoice-created.php index b9e7144f..3a85bb19 100644 --- a/src/automation/commons/triggers/invoices/class-invoice-created.php +++ b/src/automation/commons/triggers/invoices/class-invoice-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Invoice_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Invoice_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/invoices/class-invoice-deleted.php b/src/automation/commons/triggers/invoices/class-invoice-deleted.php index 220c0b26..b6a5facc 100644 --- a/src/automation/commons/triggers/invoices/class-invoice-deleted.php +++ b/src/automation/commons/triggers/invoices/class-invoice-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Invoice_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Invoice_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/invoices/class-invoice-status-updated.php b/src/automation/commons/triggers/invoices/class-invoice-status-updated.php index fff15b88..582bd2ba 100644 --- a/src/automation/commons/triggers/invoices/class-invoice-status-updated.php +++ b/src/automation/commons/triggers/invoices/class-invoice-status-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Invoice_Status_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Invoice_Status_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Status_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/invoices/class-invoice-updated.php b/src/automation/commons/triggers/invoices/class-invoice-updated.php index b81eee10..d60d9b23 100644 --- a/src/automation/commons/triggers/invoices/class-invoice-updated.php +++ b/src/automation/commons/triggers/invoices/class-invoice-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Invoice_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Invoice_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/quotes/class-quote-accepted.php b/src/automation/commons/triggers/quotes/class-quote-accepted.php index 57e28ead..238c56c8 100644 --- a/src/automation/commons/triggers/quotes/class-quote-accepted.php +++ b/src/automation/commons/triggers/quotes/class-quote-accepted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Quote_Accepted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Quote_Accepted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Accepted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/quotes/class-quote-created.php b/src/automation/commons/triggers/quotes/class-quote-created.php index 8f99e32a..100402bb 100644 --- a/src/automation/commons/triggers/quotes/class-quote-created.php +++ b/src/automation/commons/triggers/quotes/class-quote-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Quote_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Quote_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/quotes/class-quote-deleted.php b/src/automation/commons/triggers/quotes/class-quote-deleted.php index 6e053396..c4e693df 100644 --- a/src/automation/commons/triggers/quotes/class-quote-deleted.php +++ b/src/automation/commons/triggers/quotes/class-quote-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Quote_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Quote_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/quotes/class-quote-status-updated.php b/src/automation/commons/triggers/quotes/class-quote-status-updated.php index 8e66d4bb..818f77d8 100644 --- a/src/automation/commons/triggers/quotes/class-quote-status-updated.php +++ b/src/automation/commons/triggers/quotes/class-quote-status-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Quote_Status_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Quote_Status_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Status_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/quotes/class-quote-updated.php b/src/automation/commons/triggers/quotes/class-quote-updated.php index 78a3edcc..91044077 100644 --- a/src/automation/commons/triggers/quotes/class-quote-updated.php +++ b/src/automation/commons/triggers/quotes/class-quote-updated.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Quote_Updated trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Quote_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Updated extends Base_Trigger { /** * Get the slug name of the trigger * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): ?string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): ?string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/tasks/class-task-created.php b/src/automation/commons/triggers/tasks/class-task-created.php index c520c35f..ddae851b 100644 --- a/src/automation/commons/triggers/tasks/class-task-created.php +++ b/src/automation/commons/triggers/tasks/class-task-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Task_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Task_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Task_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * @return void */ protected function listen_to_event(): void { diff --git a/src/automation/commons/triggers/tasks/class-task-deleted.php b/src/automation/commons/triggers/tasks/class-task-deleted.php index 860577ed..3b45a12c 100644 --- a/src/automation/commons/triggers/tasks/class-task-deleted.php +++ b/src/automation/commons/triggers/tasks/class-task-deleted.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation Task_Deleted trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -14,14 +14,14 @@ /** * Adds the Task_Deleted class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Task_Deleted extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -32,7 +32,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title of the trigger. */ @@ -43,7 +43,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description of the trigger. */ @@ -54,7 +54,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category of the trigger. */ @@ -74,7 +74,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/tasks/class-task-updated.php b/src/automation/commons/triggers/tasks/class-task-updated.php index 3aab6646..c71ddeba 100644 --- a/src/automation/commons/triggers/tasks/class-task-updated.php +++ b/src/automation/commons/triggers/tasks/class-task-updated.php @@ -13,14 +13,14 @@ /** * Adds the Task_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Task_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The trigger slug. */ @@ -31,7 +31,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title. */ @@ -42,7 +42,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description. */ @@ -53,7 +53,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category. */ @@ -73,7 +73,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/transactions/class-transaction-created.php b/src/automation/commons/triggers/transactions/class-transaction-created.php index f2bb4497..4ae15c85 100644 --- a/src/automation/commons/triggers/transactions/class-transaction-created.php +++ b/src/automation/commons/triggers/transactions/class-transaction-created.php @@ -13,14 +13,14 @@ /** * Adds the Transaction_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug. */ @@ -31,7 +31,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title. */ @@ -42,7 +42,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description. */ @@ -53,7 +53,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category. */ @@ -73,7 +73,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/transactions/class-transaction-updated.php b/src/automation/commons/triggers/transactions/class-transaction-updated.php index a658f6e6..4a3bf4cf 100644 --- a/src/automation/commons/triggers/transactions/class-transaction-updated.php +++ b/src/automation/commons/triggers/transactions/class-transaction-updated.php @@ -13,14 +13,14 @@ /** * Adds the Transaction_Updated class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Updated extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug. */ @@ -31,7 +31,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The title. */ @@ -42,7 +42,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The description. */ @@ -53,7 +53,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The category. */ @@ -73,7 +73,7 @@ public static function get_data_type(): string { /** * Listen to this trigger's target event. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return void */ diff --git a/src/automation/commons/triggers/wordpress/class-wp-user-created.php b/src/automation/commons/triggers/wordpress/class-wp-user-created.php index c865a815..eb2fc1fd 100644 --- a/src/automation/commons/triggers/wordpress/class-wp-user-created.php +++ b/src/automation/commons/triggers/wordpress/class-wp-user-created.php @@ -3,7 +3,7 @@ * Jetpack CRM Automation WP_User_Created trigger. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Triggers; @@ -15,14 +15,14 @@ /** * Adds the WP_User_Created class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class WP_User_Created extends Base_Trigger { /** * The Automation workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Workflow */ protected $workflow; @@ -30,7 +30,7 @@ class WP_User_Created extends Base_Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -41,7 +41,7 @@ public static function get_slug(): string { /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -52,7 +52,7 @@ public static function get_title(): string { /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -63,7 +63,7 @@ public static function get_description(): string { /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -83,7 +83,7 @@ public static function get_data_type(): string { /** * Listen to the desired event. * - * @since 6.2.0-alpha + * @since 6.2.0 */ protected function listen_to_event(): void { add_action( diff --git a/src/automation/data-transformers/class-data-transformer-base.php b/src/automation/data-transformers/class-data-transformer-base.php index 39af0125..66ca7c1b 100644 --- a/src/automation/data-transformers/class-data-transformer-base.php +++ b/src/automation/data-transformers/class-data-transformer-base.php @@ -14,7 +14,7 @@ /** * Base Data Transformer class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ abstract class Data_Transformer_Base { @@ -48,7 +48,7 @@ protected function validate_from_type( Data_Type $data ): bool { * * Example: 'invoice_to_contact', 'contact_to_woo_customer', etc. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug of the data transformer. */ @@ -57,7 +57,7 @@ abstract public static function get_slug(): string; /** * Get the data type class we transform from. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The data type class we transform from. */ @@ -66,7 +66,7 @@ abstract public static function get_from(): string; /** * Get the data type class we transform to. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The data type class we transform to. */ @@ -77,7 +77,7 @@ abstract public static function get_to(): string; * * This method should transform the data to the "to" data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data The data type we want to transform. * @return Data_Type Return a transformed data type. diff --git a/src/automation/data-transformers/class-data-transformer-entity-to-tag-list.php b/src/automation/data-transformers/class-data-transformer-entity-to-tag-list.php index 16c1768b..8432da47 100644 --- a/src/automation/data-transformers/class-data-transformer-entity-to-tag-list.php +++ b/src/automation/data-transformers/class-data-transformer-entity-to-tag-list.php @@ -15,7 +15,7 @@ /** * CRM Entity to CRM Tag List Transformer class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Data_Transformer_Entity_To_Tag_List extends Data_Transformer_Base { @@ -43,7 +43,7 @@ public static function get_to(): string { /** * Get the tags from an CRM entity. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data The CRM entity data type we want to get the tags from. * @return array The CRM entity tags as an array. @@ -55,7 +55,7 @@ public static function get_tags( Data_Type $data ): array { /** * Transform CRM entity entity to a list of tags. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data The CRM entity data type we want to transform. * @return Data_Type Return the Tag_Data of the CRM entity. diff --git a/src/automation/data-transformers/class-data-transformer-invoice-to-contact.php b/src/automation/data-transformers/class-data-transformer-invoice-to-contact.php index d7088241..45538c65 100644 --- a/src/automation/data-transformers/class-data-transformer-invoice-to-contact.php +++ b/src/automation/data-transformers/class-data-transformer-invoice-to-contact.php @@ -16,7 +16,7 @@ /** * CRM Invoice to CRM Contact Transformer class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Data_Transformer_Invoice_To_Contact extends Data_Transformer_Base { @@ -44,7 +44,7 @@ public static function get_to(): string { /** * Transform invoice entity to a contact. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Data_Type $data The invoice data type we want to transform. * @return Data_Type Return the Data_Type_Contact of the invoice owner. diff --git a/src/automation/data-types/class-company-data.php b/src/automation/data-types/class-company-data.php index bfef3469..e6300271 100644 --- a/src/automation/data-types/class-company-data.php +++ b/src/automation/data-types/class-company-data.php @@ -3,7 +3,7 @@ * Company Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Company Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Company_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-contact-data.php b/src/automation/data-types/class-contact-data.php index 44975f11..1f645de1 100644 --- a/src/automation/data-types/class-contact-data.php +++ b/src/automation/data-types/class-contact-data.php @@ -3,7 +3,7 @@ * Contact Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Contact Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Contact_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-data-type-base.php b/src/automation/data-types/class-data-type-base.php index b1925524..ec083e85 100644 --- a/src/automation/data-types/class-data-type-base.php +++ b/src/automation/data-types/class-data-type-base.php @@ -3,7 +3,7 @@ * Base Data Type class. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Abstract Data Type base class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ abstract class Data_Type_Base implements Data_Type { @@ -22,7 +22,7 @@ abstract class Data_Type_Base implements Data_Type { * * This could be of any shape: a class, object, array, or a simple value. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var mixed */ protected $data = null; @@ -31,7 +31,7 @@ abstract class Data_Type_Base implements Data_Type { * The previous data that represents an instance of the data type. * This could be of any shape: a class, object, array, or a simple value. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var mixed */ protected $previous_data = null; @@ -39,7 +39,7 @@ abstract class Data_Type_Base implements Data_Type { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data A data that represents the data type. * @param mixed $previous_data A data that represents the previous data. @@ -63,7 +63,7 @@ public function __construct( $data, $previous_data = null ) { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. @@ -76,7 +76,7 @@ abstract public function validate_data( $data ): bool; * We do not know what shape this takes. It could be a class, object, * or array. We leave it up to the data type to decide. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return mixed */ @@ -90,7 +90,7 @@ public function get_data() { * We do not know what shape this takes. It could be a class, object, * or array. We leave it up to the data type to decide. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return mixed */ diff --git a/src/automation/data-types/class-invoice-data.php b/src/automation/data-types/class-invoice-data.php index 7083f48b..918e6950 100644 --- a/src/automation/data-types/class-invoice-data.php +++ b/src/automation/data-types/class-invoice-data.php @@ -3,7 +3,7 @@ * Invoice Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Invoice Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Invoice_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-quote-data.php b/src/automation/data-types/class-quote-data.php index c6160d2b..c2c41193 100644 --- a/src/automation/data-types/class-quote-data.php +++ b/src/automation/data-types/class-quote-data.php @@ -3,7 +3,7 @@ * Quote Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Quote Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Quote_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-tag-data.php b/src/automation/data-types/class-tag-data.php index 7e5f739d..0949c5df 100644 --- a/src/automation/data-types/class-tag-data.php +++ b/src/automation/data-types/class-tag-data.php @@ -3,7 +3,7 @@ * Tag Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Tag Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Tag_Data extends Data_Type_Base { @@ -23,7 +23,7 @@ class Tag_Data extends Data_Type_Base { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-tag-list-data.php b/src/automation/data-types/class-tag-list-data.php index 27ca903a..88954b3c 100644 --- a/src/automation/data-types/class-tag-list-data.php +++ b/src/automation/data-types/class-tag-list-data.php @@ -3,7 +3,7 @@ * Tag_List Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Tag_List Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Tag_List_Data extends Data_Type_Base { @@ -23,7 +23,7 @@ class Tag_List_Data extends Data_Type_Base { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-task-data.php b/src/automation/data-types/class-task-data.php index d54fa6dd..c8a2f47d 100644 --- a/src/automation/data-types/class-task-data.php +++ b/src/automation/data-types/class-task-data.php @@ -3,7 +3,7 @@ * Event Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Event Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Task_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Task_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-transaction-data.php b/src/automation/data-types/class-transaction-data.php index 807ee47f..2dc8c552 100644 --- a/src/automation/data-types/class-transaction-data.php +++ b/src/automation/data-types/class-transaction-data.php @@ -3,7 +3,7 @@ * Transaction Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,7 +13,7 @@ /** * Transaction Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Data extends Data_Type_Base implements Entity_Data { @@ -23,7 +23,7 @@ class Transaction_Data extends Data_Type_Base implements Entity_Data { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/class-wp-user-data.php b/src/automation/data-types/class-wp-user-data.php index 192e0661..4c409c2e 100644 --- a/src/automation/data-types/class-wp-user-data.php +++ b/src/automation/data-types/class-wp-user-data.php @@ -3,7 +3,7 @@ * WP_User Data Type. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -11,7 +11,7 @@ /** * WP_User Data Type. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class WP_User_Data extends Data_Type_Base { @@ -21,7 +21,7 @@ class WP_User_Data extends Data_Type_Base { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. diff --git a/src/automation/data-types/interface-data-type.php b/src/automation/data-types/interface-data-type.php index 1ab7697f..f55f5f8f 100644 --- a/src/automation/data-types/interface-data-type.php +++ b/src/automation/data-types/interface-data-type.php @@ -10,7 +10,7 @@ /** * Data Type Interface. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Data_Type { @@ -20,7 +20,7 @@ interface Data_Type { * This method is meant to validate if the data has the expected inheritance * or structure and will be used to throw a fatal error if not. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $data The data to validate. * @return bool Whether the data is valid. @@ -33,7 +33,7 @@ public function validate_data( $data ): bool; * We do not know what shape this takes. It could be a class, object, * or array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return mixed */ @@ -45,7 +45,7 @@ public function get_data(); * We do not know what shape this takes. It could be a class, object, * or array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return mixed */ diff --git a/src/automation/data-types/interface-entity-data.php b/src/automation/data-types/interface-entity-data.php index fa5b6777..eb943e67 100644 --- a/src/automation/data-types/interface-entity-data.php +++ b/src/automation/data-types/interface-entity-data.php @@ -3,7 +3,7 @@ * Entity Data Interface. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Data_Types; @@ -13,13 +13,13 @@ * * This interface is to be able to identify the JPCRM entities Data_Type classes. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Entity_Data { /** * Get the tags from the entity instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The tags from the entity instance as an array. */ diff --git a/src/automation/interface-action.php b/src/automation/interface-action.php index 0655067d..dfc5980c 100644 --- a/src/automation/interface-action.php +++ b/src/automation/interface-action.php @@ -3,7 +3,7 @@ * Interface Action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,7 +11,7 @@ /** * Interface Action. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Action extends Step { diff --git a/src/automation/interface-condition.php b/src/automation/interface-condition.php index b0c526d6..8325a159 100644 --- a/src/automation/interface-condition.php +++ b/src/automation/interface-condition.php @@ -3,7 +3,7 @@ * Interface Action. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,7 +11,7 @@ /** * Interface Condition. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Condition extends Step { diff --git a/src/automation/interface-step.php b/src/automation/interface-step.php index c865b468..92ef39d9 100644 --- a/src/automation/interface-step.php +++ b/src/automation/interface-step.php @@ -3,7 +3,7 @@ * Interface to define Step in an automation workflow. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Interface Step. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Step { /** * Get the next step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step. */ @@ -27,7 +27,7 @@ public function get_next_step_id(); /** * Get the next step if the current one is successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step id. */ @@ -36,7 +36,7 @@ public function get_next_step_true(); /** * Set the next step if the current one is successful. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string|int|null $step_id The next linked step id. * @return void @@ -46,7 +46,7 @@ public function set_next_step_true( $step_id ): void; /** * Get the next step if the current one is falsy. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return int|string|null The next linked step id. */ @@ -55,7 +55,7 @@ public function get_next_step_false(); /** * Set the next step if the current one is falsy. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string|int|null $step_id The next linked step id. * @return void @@ -65,7 +65,7 @@ public function set_next_step_false( $step_id ): void; /** * Get the step attribute definitions. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Attribute_Definition[] The attribute definitions of the step. */ @@ -74,7 +74,7 @@ public function get_attribute_definitions(): ?array; /** * Get attribute value. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $attribute The attribute to get. * @param mixed $default The default value to return if the attribute is not set. @@ -85,7 +85,7 @@ public function get_attribute( string $attribute, $default = null ); /** * Set attribute value. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param string $attribute The attribute key. * @param mixed $value The default value. @@ -96,7 +96,7 @@ public function set_attribute( string $attribute, $value ); /** * Set the step attribute definitions. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Attribute_Definition[] $attribute_definitions Set the attribute definitions. */ @@ -105,7 +105,7 @@ public function set_attribute_definitions( array $attribute_definitions ); /** * Get the attributes of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The attributes of the step. */ @@ -114,7 +114,7 @@ public function get_attributes(): ?array; /** * Get the attributes of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $attributes Set attributes to this step. */ @@ -123,7 +123,7 @@ public function set_attributes( array $attributes ); /** * Get the slug name of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the step. */ @@ -132,7 +132,7 @@ public static function get_slug(): string; /** * Get the title of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the step. */ @@ -141,7 +141,7 @@ public static function get_title(): ?string; /** * Get the description of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the step. */ @@ -150,7 +150,7 @@ public static function get_description(): ?string; /** * Get the data type expected by the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The data type expected by the step. */ @@ -159,7 +159,7 @@ public static function get_data_type(): string; /** * Get the category of the step. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the step. */ @@ -171,7 +171,7 @@ public static function get_category(): ?string; * The main use-case to get the step as an array is to prepare * the items for an API response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The step as an array. */ diff --git a/src/automation/interface-trigger.php b/src/automation/interface-trigger.php index 48dfd30c..a9c5b2e4 100644 --- a/src/automation/interface-trigger.php +++ b/src/automation/interface-trigger.php @@ -3,7 +3,7 @@ * Interface Trigger * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation; @@ -11,14 +11,14 @@ /** * Interface Trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Trigger { /** * Get the slug name of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string The slug name of the trigger. */ @@ -27,7 +27,7 @@ public static function get_slug(): string; /** * Get the title of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The title of the trigger. */ @@ -36,7 +36,7 @@ public static function get_title(): ?string; /** * Get the description of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The description of the trigger. */ @@ -45,7 +45,7 @@ public static function get_description(): ?string; /** * Get the category of the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The category of the trigger. */ @@ -54,7 +54,7 @@ public static function get_category(): ?string; /** * Get the trigger's data type. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string the trigger's data type. */ @@ -63,7 +63,7 @@ public static function get_data_type(): string; /** * Execute the workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed|null $data The data to pass to the workflow. * @param mixed|null $previous_data The previous data to pass to the workflow. @@ -73,7 +73,7 @@ public function execute_workflow( $data = null, $previous_data = null ); /** * Set the workflow to execute by this trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to execute by this trigger. */ @@ -82,7 +82,7 @@ public function set_workflow( Automation_Workflow $workflow ); /** * Init the trigger. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to which the trigger belongs. */ @@ -94,7 +94,7 @@ public function init( Automation_Workflow $workflow ); * The main use-case to get the trigger as an array is to prepare * the items for an API response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The trigger as an array. */ diff --git a/src/automation/workflow/class-workflow-repository.php b/src/automation/workflow/class-workflow-repository.php index 7e32fb81..d1dde68f 100644 --- a/src/automation/workflow/class-workflow-repository.php +++ b/src/automation/workflow/class-workflow-repository.php @@ -3,7 +3,7 @@ * The workflow repository responsible for communicating with the database. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Automation\Workflow; @@ -15,14 +15,14 @@ /** * Class Workflow_Repository. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Workflow_Repository { /** * The WordPress database access layer. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var wpdb */ protected $wpdb; @@ -39,7 +39,7 @@ class Workflow_Repository { * * @global wpdb $wpdb WordPress database abstraction object. * @global string[] $ZBSCRM_t An array of Jetpack CRM table names. - * @since 6.2.0-alpha + * @since 6.2.0 */ public function __construct() { global $wpdb, $ZBSCRM_t; // phpcs:ignore WordPress.NamingConventions.ValidVariableName.VariableNotSnakeCase @@ -51,7 +51,7 @@ public function __construct() { /** * Find Workflow by ID. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $id The workflow ID. * @return Automation_Workflow|false The workflow object or false if not found. @@ -72,7 +72,7 @@ public function find( int $id ) { /** * Get all workflows. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Automation_Workflow[] */ @@ -85,7 +85,7 @@ public function find_all(): array { * * @todo Implement "order by" logic. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $criteria Workflow arguments to filter the workflows result. * @param string $order_by The column to order by. @@ -154,7 +154,7 @@ public function find_by( array $criteria, string $order_by = 'id', int $limit = * * This is used to both update and create a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to persist. * @return void @@ -172,7 +172,7 @@ public function persist( Automation_Workflow $workflow ): void { /** * Prepare the data to persist. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to persist. * @return array The workflow raw data. @@ -189,7 +189,7 @@ protected function prepare_data_to_persist( Automation_Workflow $workflow ): arr /** * Insert a workflow into the database. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to persist. * @@ -226,7 +226,7 @@ protected function insert( Automation_Workflow $workflow ) { /** * Update a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to persist. * @return void @@ -255,7 +255,7 @@ protected function update( Automation_Workflow $workflow ): void { /** * Delete a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow The workflow to delete. * @return bool @@ -286,7 +286,7 @@ public function delete( Automation_Workflow $workflow ): bool { /** * Map a database row to a workflow object. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $row The database row. * @return Automation_Workflow diff --git a/src/entities/class-company.php b/src/entities/class-company.php index ca3b93a9..a771f261 100644 --- a/src/entities/class-company.php +++ b/src/entities/class-company.php @@ -10,7 +10,7 @@ /** * Company class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company { diff --git a/src/entities/class-contact.php b/src/entities/class-contact.php index e4fffe7e..ce689c0d 100644 --- a/src/entities/class-contact.php +++ b/src/entities/class-contact.php @@ -10,7 +10,7 @@ /** * Contact class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact { diff --git a/src/entities/class-invoice.php b/src/entities/class-invoice.php index 120d51f5..190f0ad7 100644 --- a/src/entities/class-invoice.php +++ b/src/entities/class-invoice.php @@ -10,7 +10,7 @@ /** * Invoice class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice { diff --git a/src/entities/class-quote.php b/src/entities/class-quote.php index 95ef00cf..b1013098 100644 --- a/src/entities/class-quote.php +++ b/src/entities/class-quote.php @@ -10,7 +10,7 @@ /** * Quote class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote { diff --git a/src/entities/class-transaction.php b/src/entities/class-transaction.php index 1aef728d..59a8b8a3 100644 --- a/src/entities/class-transaction.php +++ b/src/entities/class-transaction.php @@ -10,7 +10,7 @@ /** * Transaction class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction { diff --git a/src/entities/factories/class-company-factory.php b/src/entities/factories/class-company-factory.php index 41bef02a..90b0130b 100644 --- a/src/entities/factories/class-company-factory.php +++ b/src/entities/factories/class-company-factory.php @@ -3,7 +3,7 @@ * Company Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Company Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Company_Factory extends Entity_Factory { /** * Company DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -58,7 +58,7 @@ class Company_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -68,7 +68,7 @@ class Company_Factory extends Entity_Factory { /** * Get the company instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The company data from the DAL. * @return mixed The company instance. @@ -89,7 +89,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_company The tidy data array. * @return bool If it's valid or not. diff --git a/src/entities/factories/class-contact-factory.php b/src/entities/factories/class-contact-factory.php index 9399d38e..0541d4a1 100644 --- a/src/entities/factories/class-contact-factory.php +++ b/src/entities/factories/class-contact-factory.php @@ -3,7 +3,7 @@ * Contact Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Contact Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Factory extends Entity_Factory { /** * Contact DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -61,7 +61,7 @@ class Contact_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -71,7 +71,7 @@ class Contact_Factory extends Entity_Factory { /** * Get the contact instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The contact data from the DAL. * @return mixed The contact instance. @@ -92,7 +92,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_contact The tidy data array. * @return bool If it's valid or not. diff --git a/src/entities/factories/class-entity-factory.php b/src/entities/factories/class-entity-factory.php index 965844f2..2bd13955 100644 --- a/src/entities/factories/class-entity-factory.php +++ b/src/entities/factories/class-entity-factory.php @@ -3,7 +3,7 @@ * Base Entity Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -11,7 +11,7 @@ /** * Base Entity Factory. * - * @since 6.2.0-alpha + * @since 6.2.0 */ abstract class Entity_Factory { @@ -22,7 +22,7 @@ abstract class Entity_Factory { * * Example: array( 'db_column' => 'entity_property' ). * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ protected static $field_map = array(); @@ -32,7 +32,7 @@ abstract class Entity_Factory { * * For tags, invoices, transactions, quotes, tasks, etc. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ protected static $associative_field_map = array(); @@ -40,7 +40,7 @@ abstract class Entity_Factory { /** * Create the instance of the class based on the data from DAL. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The data to create the instance with. * @return mixed The entity instance. @@ -50,7 +50,7 @@ abstract public static function create( array $data ); /** * Create the entity instance from a generic/tidy data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_data An array with the tidy data from DAL. * @return mixed The entity instance. @@ -85,7 +85,7 @@ protected static function create_from_tidy_data( array $tidy_data ) { /** * Create the entity instance from the database data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $db_data The data array from the database. * @return mixed The entity instance. @@ -109,7 +109,7 @@ protected static function create_from_db( array $db_data ) { /** * Get the data (tidy) as an array from the entity instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $entity The entity instance. * @return array The tidy data array. @@ -137,7 +137,7 @@ public static function tidy_data( $entity ): array { /** * Get the data from the entity instance as an array ready for the DAL. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param mixed $entity The entity instance. * @return array The data array for the DAL. @@ -165,7 +165,7 @@ public static function data_for_dal( $entity ): array { /** * Create an empty entity instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return mixed The entity instance. * @throws Factory_Exception If the entity class is invalid. @@ -185,7 +185,7 @@ protected static function entity_new_instance() { * * 'db_column' => 'entity_property' * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The fields map. */ @@ -198,7 +198,7 @@ public static function get_fields_map(): array { * * tags, files, etc. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return array The associative fields map. */ @@ -209,7 +209,7 @@ public static function get_associative_field_map(): array { /** * Return the entity class handle by the Factory. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return string|null The entity class. */ diff --git a/src/entities/factories/class-factory-exception.php b/src/entities/factories/class-factory-exception.php index 79670ada..76107b2c 100644 --- a/src/entities/factories/class-factory-exception.php +++ b/src/entities/factories/class-factory-exception.php @@ -3,7 +3,7 @@ * Factory Exception. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -11,14 +11,14 @@ /** * Factory Exception. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Factory_Exception extends \Exception { /** * The error code for invalid data. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const INVALID_DATA = 1; @@ -26,7 +26,7 @@ class Factory_Exception extends \Exception { /** * The error code for invalid entity class. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var int */ const INVALID_ENTITY_CLASS = 2; diff --git a/src/entities/factories/class-invoice-factory.php b/src/entities/factories/class-invoice-factory.php index 6f146aba..a54c707d 100644 --- a/src/entities/factories/class-invoice-factory.php +++ b/src/entities/factories/class-invoice-factory.php @@ -3,7 +3,7 @@ * Invoice Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Invoice Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Factory extends Entity_Factory { /** * Invoice DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -69,7 +69,7 @@ class Invoice_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -79,7 +79,7 @@ class Invoice_Factory extends Entity_Factory { /** * Get the invoice instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The invoice data from the DAL. * @return mixed The invoice instance. @@ -100,7 +100,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_invoice The tidy data array. * @return bool If it's valid or not. diff --git a/src/entities/factories/class-quote-factory.php b/src/entities/factories/class-quote-factory.php index 4603a3c1..03119e05 100644 --- a/src/entities/factories/class-quote-factory.php +++ b/src/entities/factories/class-quote-factory.php @@ -3,7 +3,7 @@ * Quote Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Quote Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Quote_Factory extends Entity_Factory { /** * Quote DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -50,7 +50,7 @@ class Quote_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -60,7 +60,7 @@ class Quote_Factory extends Entity_Factory { /** * Get the quote instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The quote data from the DAL. * @return mixed The quote instance. @@ -81,7 +81,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_quote The tidy data array. * @return bool If it's valid or not. diff --git a/src/entities/factories/class-task-factory.php b/src/entities/factories/class-task-factory.php index 4231e75d..b08fa964 100644 --- a/src/entities/factories/class-task-factory.php +++ b/src/entities/factories/class-task-factory.php @@ -3,7 +3,7 @@ * Task Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Task Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Task_Factory extends Entity_Factory { /** * Task DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -42,7 +42,7 @@ class Task_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -52,7 +52,7 @@ class Task_Factory extends Entity_Factory { /** * Get the task instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The task data from the DAL. * @return mixed The task instance. @@ -73,7 +73,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_task The tidy data array. * @return bool If it's valid or not. diff --git a/src/entities/factories/class-transaction-factory.php b/src/entities/factories/class-transaction-factory.php index 870ba0b8..77c05cdf 100644 --- a/src/entities/factories/class-transaction-factory.php +++ b/src/entities/factories/class-transaction-factory.php @@ -3,7 +3,7 @@ * Transaction Factory. * * @package automattic/jetpack-crm - * @since 6.2.0-alpha + * @since 6.2.0 */ namespace Automattic\Jetpack\CRM\Entities\Factories; @@ -13,14 +13,14 @@ /** * Transaction Factory class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Factory extends Entity_Factory { /** * Transaction DB field name mapping. db_field => model_field. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $field_map = array( @@ -57,7 +57,7 @@ class Transaction_Factory extends Entity_Factory { * * For tags, invoices, transactions, quotes, tasks... * - * @since 6.2.0-alpha + * @since 6.2.0 * @var array */ protected static $associative_field_map = array( @@ -67,7 +67,7 @@ class Transaction_Factory extends Entity_Factory { /** * Get the transaction instance based on the $data array. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $data The transaction data from the DAL. * @return mixed The transaction instance. @@ -88,7 +88,7 @@ public static function create( array $data ) { /** * Validate the data array (Tidy from DAL) * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $tidy_transaction The tidy data array. * @return bool If it's valid or not. diff --git a/src/event-manager/class-events-manager.php b/src/event-manager/class-events-manager.php index dd195783..359146f3 100644 --- a/src/event-manager/class-events-manager.php +++ b/src/event-manager/class-events-manager.php @@ -10,14 +10,14 @@ /** * Events_Manager class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Events_Manager { /** * The Events_Manager instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Events_Manager */ private static $instance = null; @@ -25,7 +25,7 @@ class Events_Manager { /** * Get the singleton instance of this class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Events_Manager The Events_Manager instance. */ @@ -40,7 +40,7 @@ public static function get_instance(): Events_Manager { /** * Return the Contact_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Contact_Event A Contact_Event instance. */ @@ -51,7 +51,7 @@ public function contact(): Contact_Event { /** * Return the Invoice_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Invoice_Event A Invoice_Event instance. */ @@ -62,7 +62,7 @@ public function invoice(): Invoice_Event { /** * Return the Transaction_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Transaction_Event A Transaction_Event instance. */ diff --git a/src/event-manager/interface-event.php b/src/event-manager/interface-event.php index 843764f6..28ed7757 100644 --- a/src/event-manager/interface-event.php +++ b/src/event-manager/interface-event.php @@ -10,7 +10,7 @@ /** * Interface for events. * - * @since 6.2.0-alpha + * @since 6.2.0 */ interface Event { } diff --git a/src/event-manager/managers/class-contact-event.php b/src/event-manager/managers/class-contact-event.php index 4c1a33c7..d99e209b 100644 --- a/src/event-manager/managers/class-contact-event.php +++ b/src/event-manager/managers/class-contact-event.php @@ -12,14 +12,14 @@ /** * Contact Event class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Contact_Event implements Event { /** * The Contact_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Contact_Event */ private static $instance = null; @@ -27,7 +27,7 @@ class Contact_Event implements Event { /** * Properties that should not be notified. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var string[] */ private $not_notifiable_props = array( @@ -39,7 +39,7 @@ class Contact_Event implements Event { /** * Get the singleton instance of this class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Contact_Event The Contact_Event instance. */ @@ -54,7 +54,7 @@ public static function get_instance(): Contact_Event { /** * A new contact was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $contact_data The created contact data. * @return void @@ -68,7 +68,7 @@ public function created( array $contact_data ): void { /** * The contact was updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $contact_data The updated contact data. * @param array $old_contact_data The old contact data. @@ -125,7 +125,7 @@ public function updated( array $contact_data, array $old_contact_data ): void { /** * A contact was deleted. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $contact_id The contact ID. * @return void @@ -137,7 +137,7 @@ public function deleted( int $contact_id ): void { /** * A contact is about to be deleted. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $contact_id The contact ID. * @return void diff --git a/src/event-manager/managers/class-invoice-event.php b/src/event-manager/managers/class-invoice-event.php index 5538709b..493b5777 100644 --- a/src/event-manager/managers/class-invoice-event.php +++ b/src/event-manager/managers/class-invoice-event.php @@ -13,14 +13,14 @@ /** * Invoice Event class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Invoice_Event implements Event { /** * The Invoice_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Invoice_Event */ private static $instance = null; @@ -28,7 +28,7 @@ class Invoice_Event implements Event { /** * Get the singleton instance of this class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Invoice_Event The Invoice_Event instance. */ @@ -43,7 +43,7 @@ public static function get_instance(): Invoice_Event { /** * A new invoice was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $invoice_data The created invoice data. * @return void @@ -59,7 +59,7 @@ public function created( array $invoice_data ): void { /** * The invoice was updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $invoice_data The updated invoice data. * @param array $previous_invoice_data The previous invoice data. diff --git a/src/event-manager/managers/class-transaction-event.php b/src/event-manager/managers/class-transaction-event.php index 51ae0567..3682c35b 100644 --- a/src/event-manager/managers/class-transaction-event.php +++ b/src/event-manager/managers/class-transaction-event.php @@ -13,14 +13,14 @@ /** * Transaction Event class. * - * @since 6.2.0-alpha + * @since 6.2.0 */ class Transaction_Event implements Event { /** * The Transaction_Event instance. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Transaction_Event */ private static $instance = null; @@ -28,7 +28,7 @@ class Transaction_Event implements Event { /** * Get the singleton instance of this class. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @return Transaction_Event The Transaction_Event instance. */ @@ -43,7 +43,7 @@ public static function get_instance(): Transaction_Event { /** * A new transaction was created. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $transaction_data The created transaction data. * @return void @@ -58,7 +58,7 @@ public function created( array $transaction_data ): void { /** * The transaction was updated. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $transaction_data The updated transaction data. * @return void @@ -72,7 +72,7 @@ public function updated( array $transaction_data ): void { /** * The transaction was deleted. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param int $transaction_id The deleted transaction id. * @return void diff --git a/src/rest-api/v4/class-rest-automation-workflows-controller.php b/src/rest-api/v4/class-rest-automation-workflows-controller.php index a118d11d..70eccefd 100644 --- a/src/rest-api/v4/class-rest-automation-workflows-controller.php +++ b/src/rest-api/v4/class-rest-automation-workflows-controller.php @@ -24,14 +24,14 @@ * REST automation controller. * * @package Automattic\Jetpack\CRM - * @since 6.2.0-alpha + * @since 6.2.0 */ final class REST_Automation_Workflows_Controller extends REST_Base_Controller { /** * The automation engine. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Automation_Engine */ protected $automation_engine; @@ -39,7 +39,7 @@ final class REST_Automation_Workflows_Controller extends REST_Base_Controller { /** * The workflow repository. * - * @since 6.2.0-alpha + * @since 6.2.0 * @var Workflow_Repository */ protected $workflow_repository; @@ -47,7 +47,7 @@ final class REST_Automation_Workflows_Controller extends REST_Base_Controller { /** * Constructor. * - * @since 6.2.0-alpha + * @since 6.2.0 */ public function __construct() { parent::__construct(); @@ -60,7 +60,7 @@ public function __construct() { /** * Registers the routes for the objects of the controller. * - * @since 6.2.0-alpha + * @since 6.2.0 * @see register_rest_route() * * @return void @@ -146,7 +146,7 @@ public function register_routes() { /** * Get all workflows. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return WP_Error|WP_REST_Response @@ -173,7 +173,7 @@ public function get_items( $request ) { /** * Get a single workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return WP_Error|WP_REST_Response @@ -203,7 +203,7 @@ public function get_item( $request ) { /** * Update a workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return WP_Error|WP_REST_Response @@ -237,7 +237,7 @@ public function update_item( $request ) { /** * Delete workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return WP_Error|WP_REST_Response @@ -275,7 +275,7 @@ public function delete_item( $request ) { /** * Create workflow. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return WP_Error|WP_REST_Response @@ -309,7 +309,7 @@ public function create_item( $request ) { /** * Checks if a given request has admin access to automations. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request Full details about the request. * @return true|WP_Error True if the request has read access for the workflows, WP_Error object otherwise. @@ -335,7 +335,7 @@ public function get_item_permissions_check( $request ) { // phpcs:ignore Variabl /** * Prepares the workflow for the REST response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $workflows WordPress' representation of the item. * @param WP_REST_Request $request The request object. @@ -357,7 +357,7 @@ public function prepare_items_for_response( $workflows, $request ) { /** * Prepares the workflow for the REST response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param Automation_Workflow $workflow WordPress' representation of the item. * @param WP_REST_Request $request The request object. @@ -391,7 +391,7 @@ public function prepare_item_for_response( $workflow, $request ) { /** * Filter individual workflow before returning the REST API response. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param array $workflow The workflow entity formatted as an array. * @param WP_REST_Request $request The request object. @@ -402,7 +402,7 @@ public function prepare_item_for_response( $workflow, $request ) { /** * Get an array of supported arguments for POST/PUT endpoints. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param bool $create_workflow Whether we're creating a new workflow or not. * @return array The supported arguments. @@ -455,7 +455,7 @@ protected function create_update_args( bool $create_workflow = false ): array { /** * Prepares one item for create or update operation. * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return Automation_Workflow|WP_Error The workflow entity or a WP_Error if something went wrong. diff --git a/src/rest-api/v4/class-rest-base-controller.php b/src/rest-api/v4/class-rest-base-controller.php index b9af650c..bc58b1af 100644 --- a/src/rest-api/v4/class-rest-base-controller.php +++ b/src/rest-api/v4/class-rest-base-controller.php @@ -37,7 +37,7 @@ public function __construct() { * * @link https://developer.wordpress.org/rest-api/using-the-rest-api/pagination/#pagination-parameters * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return int Return the per page argument. @@ -62,7 +62,7 @@ protected function get_per_page_argument( WP_REST_Request $request ): ?int { * * @link https://developer.wordpress.org/rest-api/using-the-rest-api/pagination/#pagination-parameters * - * @since 6.2.0-alpha + * @since 6.2.0 * * @param WP_REST_Request $request The request object. * @return int Return the offset argument. diff --git a/vendor/autoload.php b/vendor/autoload.php index 33f2503f..81eec5c4 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -22,4 +22,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::getLoader(); +return ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::getLoader(); diff --git a/vendor/autoload_packages.php b/vendor/autoload_packages.php index aa79bb8f..ec946d80 100644 --- a/vendor/autoload_packages.php +++ b/vendor/autoload_packages.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index badaef7b..c8c7de13 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha +class ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0 { private static $loader; @@ -24,17 +24,17 @@ public static function getLoader() require __DIR__ . '/platform_check.php'; - spl_autoload_register(array('ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__)); - spl_autoload_unregister(array('ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0', 'loadClassLoader')); require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::getInitializer($loader)); $loader->setClassMapAuthoritative(true); $loader->register(true); - $filesToLoad = \Composer\Autoload\ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::$files; + $filesToLoad = \Composer\Autoload\ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::$files; $requireFile = \Closure::bind(static function ($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 8bad31ba..2e808bb9 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,7 +4,7 @@ namespace Composer\Autoload; -class ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha +class ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0 { public static $files = array ( '3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php', @@ -385,9 +385,9 @@ class ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index f7fe39f4..5f4e7df4 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -2,12 +2,18 @@ "packages": [ { "name": "automattic/jetpack-assets", - "version": "1.18.12", + "version": "v1.18.12", "version_normalized": "1.18.12.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-assets.git", + "reference": "e0aa010be3cee3285a70cda8e976b7fe74f21637" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "e3e2f33f5bb9c60733982040818d26626ac0ca93" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-assets/zipball/e0aa010be3cee3285a70cda8e976b7fe74f21637", + "reference": "e0aa010be3cee3285a70cda8e976b7fe74f21637", + "shasum": "" }, "require": { "automattic/jetpack-constants": "^1.6.23" @@ -21,6 +27,7 @@ "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." }, + "time": "2023-10-10T18:50:24+00:00", "type": "jetpack-library", "extra": { "autotagger": true, @@ -42,40 +49,30 @@ "src/" ] }, - "scripts": { - "build-development": [ - "pnpm run build" - ], - "build-production": [ - "pnpm run build-production" - ], - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-js": [ - "pnpm run test" - ], - "test-php": [ - "@composer phpunit" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], "description": "Asset management utilities for Jetpack ecosystem packages", - "transport-options": { - "relative": false + "support": { + "source": "https://github.com/Automattic/jetpack-assets/tree/v1.18.12" }, "install-path": "../../jetpack_vendor/automattic/jetpack-assets" }, { "name": "automattic/jetpack-autoloader", - "version": "2.12.0", + "version": "v2.12.0", "version_normalized": "2.12.0.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-autoloader.git", + "reference": "632b69cfc73ed5505f2b03165e7f68d414d0da12" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "5787792c257f147952f7303f5297d90e4706b30f" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-autoloader/zipball/632b69cfc73ed5505f2b03165e7f68d414d0da12", + "reference": "632b69cfc73ed5505f2b03165e7f68d414d0da12", + "shasum": "" }, "require": { "composer-plugin-api": "^1.1 || ^2.0" @@ -84,6 +81,7 @@ "automattic/jetpack-changelogger": "^3.3.11", "yoast/phpunit-polyfills": "1.1.0" }, + "time": "2023-09-28T18:33:34+00:00", "type": "composer-plugin", "extra": { "autotagger": true, @@ -101,21 +99,14 @@ }, "installation-source": "dist", "autoload": { - "classmap": [ - "src/AutoloadGenerator.php" - ], "psr-4": { "Automattic\\Jetpack\\Autoloader\\": "src" - } - }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" + }, + "classmap": [ + "src/AutoloadGenerator.php" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], @@ -128,28 +119,35 @@ "plugin", "wordpress" ], - "transport-options": { - "relative": false + "support": { + "source": "https://github.com/Automattic/jetpack-autoloader/tree/v2.12.0" }, "install-path": "../automattic/jetpack-autoloader" }, { "name": "automattic/jetpack-composer-plugin", - "version": "1.1.14", + "version": "v1.1.14", "version_normalized": "1.1.14.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-composer-plugin.git", + "reference": "4722a7fe4bd0080962308653a7f935a24acfc027" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "1823bc408e495ac1735ec66db04354b719d0ce3f" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-composer-plugin/zipball/4722a7fe4bd0080962308653a7f935a24acfc027", + "reference": "4722a7fe4bd0080962308653a7f935a24acfc027", + "shasum": "" }, "require": { "composer-plugin-api": "^2.1.0" }, "require-dev": { - "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-changelogger": "^3.3.9", "composer/composer": "^2.2 || ^2.4", "yoast/phpunit-polyfills": "1.1.0" }, + "time": "2023-09-19T18:18:32+00:00", "type": "composer-plugin", "extra": { "plugin-modifies-install-path": true, @@ -169,14 +167,7 @@ "src/" ] }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], @@ -187,28 +178,35 @@ "jetpack", "plugin" ], - "transport-options": { - "relative": false + "support": { + "source": "https://github.com/Automattic/jetpack-composer-plugin/tree/v1.1.14" }, "install-path": "../automattic/jetpack-composer-plugin" }, { "name": "automattic/jetpack-constants", - "version": "1.6.23", + "version": "v1.6.23", "version_normalized": "1.6.23.0", + "source": { + "type": "git", + "url": "https://github.com/Automattic/jetpack-constants.git", + "reference": "0825fb1fa94956f26adebc01be0d716a0fd3ade0" + }, "dist": { - "type": "path", - "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "0aea910cbb84d86a3c26379952b120ac7fd63132" + "type": "zip", + "url": "https://api.github.com/repos/Automattic/jetpack-constants/zipball/0825fb1fa94956f26adebc01be0d716a0fd3ade0", + "reference": "0825fb1fa94956f26adebc01be0d716a0fd3ade0", + "shasum": "" }, "require-dev": { - "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-changelogger": "^3.3.8", "brain/monkey": "2.6.1", "yoast/phpunit-polyfills": "1.1.0" }, "suggest": { "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." }, + "time": "2023-08-23T17:56:35+00:00", "type": "jetpack-library", "extra": { "autotagger": true, @@ -226,20 +224,13 @@ "src/" ] }, - "scripts": { - "phpunit": [ - "./vendor/phpunit/phpunit/phpunit --colors=always" - ], - "test-php": [ - "@composer phpunit" - ] - }, + "notification-url": "https://packagist.org/downloads/", "license": [ "GPL-2.0-or-later" ], "description": "A wrapper for defining constants in a more testable way.", - "transport-options": { - "relative": false + "support": { + "source": "https://github.com/Automattic/jetpack-constants/tree/v1.6.23" }, "install-path": "../../jetpack_vendor/automattic/jetpack-constants" }, diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 6ae9a0a2..2a77eff7 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -11,36 +11,36 @@ ), 'versions' => array( 'automattic/jetpack-assets' => array( - 'pretty_version' => '1.18.12', + 'pretty_version' => 'v1.18.12', 'version' => '1.18.12.0', - 'reference' => 'e3e2f33f5bb9c60733982040818d26626ac0ca93', + 'reference' => 'e0aa010be3cee3285a70cda8e976b7fe74f21637', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-autoloader' => array( - 'pretty_version' => '2.12.0', + 'pretty_version' => 'v2.12.0', 'version' => '2.12.0.0', - 'reference' => '5787792c257f147952f7303f5297d90e4706b30f', + 'reference' => '632b69cfc73ed5505f2b03165e7f68d414d0da12', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-composer-plugin' => array( - 'pretty_version' => '1.1.14', + 'pretty_version' => 'v1.1.14', 'version' => '1.1.14.0', - 'reference' => '1823bc408e495ac1735ec66db04354b719d0ce3f', + 'reference' => '4722a7fe4bd0080962308653a7f935a24acfc027', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-constants' => array( - 'pretty_version' => '1.6.23', + 'pretty_version' => 'v1.6.23', 'version' => '1.6.23.0', - 'reference' => '0aea910cbb84d86a3c26379952b120ac7fd63132', + 'reference' => '0825fb1fa94956f26adebc01be0d716a0fd3ade0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), diff --git a/vendor/jetpack-autoloader/class-autoloader-handler.php b/vendor/jetpack-autoloader/class-autoloader-handler.php index 0e8327b7..9f2a7a5b 100644 --- a/vendor/jetpack-autoloader/class-autoloader-handler.php +++ b/vendor/jetpack-autoloader/class-autoloader-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-autoloader-locator.php b/vendor/jetpack-autoloader/class-autoloader-locator.php index c6f94a36..13b591a1 100644 --- a/vendor/jetpack-autoloader/class-autoloader-locator.php +++ b/vendor/jetpack-autoloader/class-autoloader-locator.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-autoloader.php b/vendor/jetpack-autoloader/class-autoloader.php index 84a70543..34043edd 100644 --- a/vendor/jetpack-autoloader/class-autoloader.php +++ b/vendor/jetpack-autoloader/class-autoloader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-container.php b/vendor/jetpack-autoloader/class-container.php index e36d1914..5dea3ad6 100644 --- a/vendor/jetpack-autoloader/class-container.php +++ b/vendor/jetpack-autoloader/class-container.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-hook-manager.php b/vendor/jetpack-autoloader/class-hook-manager.php index ac45e4b3..16b63951 100644 --- a/vendor/jetpack-autoloader/class-hook-manager.php +++ b/vendor/jetpack-autoloader/class-hook-manager.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-latest-autoloader-guard.php b/vendor/jetpack-autoloader/class-latest-autoloader-guard.php index 1c3ed990..466874b1 100644 --- a/vendor/jetpack-autoloader/class-latest-autoloader-guard.php +++ b/vendor/jetpack-autoloader/class-latest-autoloader-guard.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-manifest-reader.php b/vendor/jetpack-autoloader/class-manifest-reader.php index f574ffea..c8c60296 100644 --- a/vendor/jetpack-autoloader/class-manifest-reader.php +++ b/vendor/jetpack-autoloader/class-manifest-reader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-path-processor.php b/vendor/jetpack-autoloader/class-path-processor.php index c4cd74b4..956169e0 100644 --- a/vendor/jetpack-autoloader/class-path-processor.php +++ b/vendor/jetpack-autoloader/class-path-processor.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-php-autoloader.php b/vendor/jetpack-autoloader/class-php-autoloader.php index dda3fb3f..90974123 100644 --- a/vendor/jetpack-autoloader/class-php-autoloader.php +++ b/vendor/jetpack-autoloader/class-php-autoloader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-plugin-locator.php b/vendor/jetpack-autoloader/class-plugin-locator.php index 052f95db..846d897e 100644 --- a/vendor/jetpack-autoloader/class-plugin-locator.php +++ b/vendor/jetpack-autoloader/class-plugin-locator.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-plugins-handler.php b/vendor/jetpack-autoloader/class-plugins-handler.php index 98656143..03a0ae14 100644 --- a/vendor/jetpack-autoloader/class-plugins-handler.php +++ b/vendor/jetpack-autoloader/class-plugins-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-shutdown-handler.php b/vendor/jetpack-autoloader/class-shutdown-handler.php index 1832d01a..d4536729 100644 --- a/vendor/jetpack-autoloader/class-shutdown-handler.php +++ b/vendor/jetpack-autoloader/class-shutdown-handler.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-version-loader.php b/vendor/jetpack-autoloader/class-version-loader.php index 4a56ad0b..0fc3aca0 100644 --- a/vendor/jetpack-autoloader/class-version-loader.php +++ b/vendor/jetpack-autoloader/class-version-loader.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore diff --git a/vendor/jetpack-autoloader/class-version-selector.php b/vendor/jetpack-autoloader/class-version-selector.php index bae3ebbd..26f3333d 100644 --- a/vendor/jetpack-autoloader/class-version-selector.php +++ b/vendor/jetpack-autoloader/class-version-selector.php @@ -5,7 +5,7 @@ * @package automattic/jetpack-autoloader */ -namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0_alpha\al2_12_0; +namespace Automattic\Jetpack\Autoloader\jp06c775433a83ed276f0a1d8ac25f93ba_crmⓥ6_2_0\al2_12_0; // phpcs:ignore