diff --git a/src/include/abstracts/class-wc-retailcrm-abstract-builder.php b/src/include/abstracts/class-wc-retailcrm-abstract-builder.php index e7e2165..648f920 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstract-builder.php +++ b/src/include/abstracts/class-wc-retailcrm-abstract-builder.php @@ -1,7 +1,14 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ abstract class WC_Retailcrm_Abstract_Builder implements WC_Retailcrm_Builder_Interface { diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-address.php b/src/include/abstracts/class-wc-retailcrm-abstracts-address.php index e9f3993..9f1c308 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-address.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-address.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - abstract class WC_Retailcrm_Abstracts_Address extends WC_Retailcrm_Abstracts_Data { /** @var array $data */ diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-data.php b/src/include/abstracts/class-wc-retailcrm-abstracts-data.php index 16698bc..5e70612 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-data.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-data.php @@ -1,6 +1,8 @@ @@ -8,10 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Abstracts_Data - */ abstract class WC_Retailcrm_Abstracts_Data { /** @var array */ diff --git a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php index a487577..84449e9 100644 --- a/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php +++ b/src/include/abstracts/class-wc-retailcrm-abstracts-settings.php @@ -1,15 +1,15 @@ * @license http://retailcrm.ru Proprietary * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - abstract class WC_Retailcrm_Abstracts_Settings extends WC_Integration { /** @var string */ diff --git a/src/include/api/class-wc-retailcrm-client-v4.php b/src/include/api/class-wc-retailcrm-client-v4.php index 8004102..1781e9a 100644 --- a/src/include/api/class-wc-retailcrm-client-v4.php +++ b/src/include/api/class-wc-retailcrm-client-v4.php @@ -1,9 +1,8 @@ * @license https://opensource.org/licenses/MIT MIT License - * @link http://retailcrm.ru/docs/Developers/ApiVersion4 + * @link http://retailcrm.ru/docs/Developers/ApiVersion5 */ class WC_Retailcrm_Exception_Curl extends \RuntimeException { + } + diff --git a/src/include/api/class-wc-retailcrm-exception-json.php b/src/include/api/class-wc-retailcrm-exception-json.php index 403adf2..e74ae43 100644 --- a/src/include/api/class-wc-retailcrm-exception-json.php +++ b/src/include/api/class-wc-retailcrm-exception-json.php @@ -1,16 +1,17 @@ * @license https://opensource.org/licenses/MIT MIT License + * @link http://retailcrm.ru/docs/Developers/ApiVersion5 */ - class WC_Retailcrm_Exception_Json extends \DomainException { + } + diff --git a/src/include/api/class-wc-retailcrm-proxy.php b/src/include/api/class-wc-retailcrm-proxy.php index 2db32e2..4ac6624 100644 --- a/src/include/api/class-wc-retailcrm-proxy.php +++ b/src/include/api/class-wc-retailcrm-proxy.php @@ -1,17 +1,17 @@ + * @license https://opensource.org/licenses/MIT MIT License + * @link http://retailcrm.ru/docs/Developers/ApiVersion5 */ -if ( ! class_exists( 'WC_Retailcrm_Proxy' ) ) : - - /** - * Class WC_Retailcrm_Proxy - */ +if (!class_exists('WC_Retailcrm_Proxy')) : class WC_Retailcrm_Proxy { protected $retailcrm; diff --git a/src/include/api/class-wc-retailcrm-request.php b/src/include/api/class-wc-retailcrm-request.php index 44290a9..9fdb45b 100644 --- a/src/include/api/class-wc-retailcrm-request.php +++ b/src/include/api/class-wc-retailcrm-request.php @@ -1,21 +1,21 @@ * @license https://opensource.org/licenses/MIT MIT License + * @link http://retailcrm.ru/docs/Developers/ApiVersion5 */ -if ( ! class_exists( 'WC_Retailcrm_Exception_Curl' ) ) { +if (!class_exists('WC_Retailcrm_Exception_Curl')) { include_once(WC_Integration_Retailcrm::checkCustomFile('include/api/class-wc-retailcrm-exception-curl.php')); } -if ( ! class_exists( 'WC_Retailcrm_Response' ) ) { +if (!class_exists('WC_Retailcrm_Response')) { include_once(WC_Integration_Retailcrm::checkCustomFile('include/api/class-wc-retailcrm-response.php')); } diff --git a/src/include/api/class-wc-retailcrm-response.php b/src/include/api/class-wc-retailcrm-response.php index 5073976..6b2576f 100644 --- a/src/include/api/class-wc-retailcrm-response.php +++ b/src/include/api/class-wc-retailcrm-response.php @@ -1,21 +1,20 @@ * @license https://opensource.org/licenses/MIT MIT License + * @link http://retailcrm.ru/docs/Developers/ApiVersion5 */ -if ( ! class_exists( 'WC_Retailcrm_Exception_Json' ) ) { +if (!class_exists('WC_Retailcrm_Exception_Json')) { include_once(WC_Integration_Retailcrm::checkCustomFile('include/api/class-wc-retailcrm-exception-json.php')); } - class WC_Retailcrm_Response implements \ArrayAccess { // HTTP response status code diff --git a/src/include/class-wc-retailcrm-base.php b/src/include/class-wc-retailcrm-base.php index 065299e..260b0e6 100644 --- a/src/include/class-wc-retailcrm-base.php +++ b/src/include/class-wc-retailcrm-base.php @@ -1,11 +1,14 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ if (!class_exists('WC_Retailcrm_Base')) { @@ -13,9 +16,6 @@ if (!class_exists('WC_Retailcrm_Base')) { include_once(WC_Integration_Retailcrm::checkCustomFile('include/abstracts/class-wc-retailcrm-abstracts-settings.php')); } - /** - * Class WC_Retailcrm_Base - */ class WC_Retailcrm_Base extends WC_Retailcrm_Abstracts_Settings { /** @var \WC_Retailcrm_Proxy|WC_Retailcrm_Client_V4|WC_Retailcrm_Client_V5|bool */ diff --git a/src/include/class-wc-retailcrm-customers.php b/src/include/class-wc-retailcrm-customers.php index b72f526..995191f 100644 --- a/src/include/class-wc-retailcrm-customers.php +++ b/src/include/class-wc-retailcrm-customers.php @@ -1,18 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ if (!class_exists('WC_Retailcrm_Customers')) : - - /** - * Class WC_Retailcrm_Customers - */ class WC_Retailcrm_Customers { /** @var bool | WC_Retailcrm_Proxy | \WC_Retailcrm_Client_V5 */ diff --git a/src/include/class-wc-retailcrm-daemon-collector.php b/src/include/class-wc-retailcrm-daemon-collector.php index f21db44..cca9b53 100644 --- a/src/include/class-wc-retailcrm-daemon-collector.php +++ b/src/include/class-wc-retailcrm-daemon-collector.php @@ -1,7 +1,18 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ if (!defined('ABSPATH')) { - exit; + exit; } class WC_Retailcrm_Daemon_Collector { diff --git a/src/include/class-wc-retailcrm-ga.php b/src/include/class-wc-retailcrm-ga.php index d364b65..edb0e47 100644 --- a/src/include/class-wc-retailcrm-ga.php +++ b/src/include/class-wc-retailcrm-ga.php @@ -1,7 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ if (!class_exists('WC_Retailcrm_Google_Analytics')) { - class WC_Retailcrm_Google_Analytics { private static $instance; private $options; diff --git a/src/include/class-wc-retailcrm-history.php b/src/include/class-wc-retailcrm-history.php index 8cf6b5d..1c2cc62 100644 --- a/src/include/class-wc-retailcrm-history.php +++ b/src/include/class-wc-retailcrm-history.php @@ -1,17 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ -if ( ! class_exists( 'WC_Retailcrm_History' ) ) : - - /** - * Class WC_Retailcrm_History - */ +if (!class_exists('WC_Retailcrm_History')) : class WC_Retailcrm_History { /** @var \DateTime */ diff --git a/src/include/class-wc-retailcrm-icml.php b/src/include/class-wc-retailcrm-icml.php index 18f9d6b..7a942a6 100644 --- a/src/include/class-wc-retailcrm-icml.php +++ b/src/include/class-wc-retailcrm-icml.php @@ -1,17 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ -if ( ! class_exists( 'WC_Retailcrm_Icml' ) ) : - - /** - * Class WC_Retailcrm_Icml - */ +if (!class_exists('WC_Retailcrm_Icml')) : class WC_Retailcrm_Icml { protected $shop; diff --git a/src/include/class-wc-retailcrm-inventories.php b/src/include/class-wc-retailcrm-inventories.php index 645e383..ccccc65 100644 --- a/src/include/class-wc-retailcrm-inventories.php +++ b/src/include/class-wc-retailcrm-inventories.php @@ -1,17 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ if (!class_exists('WC_Retailcrm_Inventories')) : - - /** - * Class WC_Retailcrm_Inventories - */ class WC_Retailcrm_Inventories { /** @var WC_Retailcrm_Client_V5 */ @@ -40,7 +40,7 @@ if (!class_exists('WC_Retailcrm_Inventories')) : } /** - * Load stock from retailCRM + * Load stock from RetailCRM * * @return mixed */ diff --git a/src/include/class-wc-retailcrm-orders.php b/src/include/class-wc-retailcrm-orders.php index 572750a..c8b34b3 100644 --- a/src/include/class-wc-retailcrm-orders.php +++ b/src/include/class-wc-retailcrm-orders.php @@ -1,17 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ -if ( ! class_exists( 'WC_Retailcrm_Orders' ) ) : - - /** - * Class WC_Retailcrm_Orders - */ +if (!class_exists('WC_Retailcrm_Orders')) : class WC_Retailcrm_Orders { /** @var bool|WC_Retailcrm_Proxy|\WC_Retailcrm_Client_V5|\WC_Retailcrm_Client_V4 */ diff --git a/src/include/class-wc-retailcrm-plugin.php b/src/include/class-wc-retailcrm-plugin.php index 6c6268b..9c0ae25 100644 --- a/src/include/class-wc-retailcrm-plugin.php +++ b/src/include/class-wc-retailcrm-plugin.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Plugin { diff --git a/src/include/class-wc-retailcrm-uploader.php b/src/include/class-wc-retailcrm-uploader.php index a8611f8..8e97d04 100644 --- a/src/include/class-wc-retailcrm-uploader.php +++ b/src/include/class-wc-retailcrm-uploader.php @@ -1,17 +1,17 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ if (class_exists('WC_Retailcrm_Uploader') === false) { - /** - * Class WC_Retailcrm_Uploader - */ class WC_Retailcrm_Uploader { const RETAILCRM_COUNT_OBJECT_UPLOAD = 50; diff --git a/src/include/components/class-wc-retailcrm-customer-switcher.php b/src/include/components/class-wc-retailcrm-customer-switcher.php index e1f39c5..3b4fe77 100644 --- a/src/include/components/class-wc-retailcrm-customer-switcher.php +++ b/src/include/components/class-wc-retailcrm-customer-switcher.php @@ -1,9 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_Customer_Switcher implements WC_Retailcrm_Builder_Interface { diff --git a/src/include/components/class-wc-retailcrm-history-assembler.php b/src/include/components/class-wc-retailcrm-history-assembler.php index 9628ca2..b4f336a 100644 --- a/src/include/components/class-wc-retailcrm-history-assembler.php +++ b/src/include/components/class-wc-retailcrm-history-assembler.php @@ -1,8 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_History_Assembler { diff --git a/src/include/components/class-wc-retailcrm-logger.php b/src/include/components/class-wc-retailcrm-logger.php index 4f20630..9ea0fe1 100644 --- a/src/include/components/class-wc-retailcrm-logger.php +++ b/src/include/components/class-wc-retailcrm-logger.php @@ -1,16 +1,18 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ -if (!class_exists('WC_Retailcrm_Logger') && class_exists('WC_Log_Levels')): +if (!class_exists('WC_Retailcrm_Logger') && class_exists('WC_Log_Levels')) : /** - * Class WC_Retailcrm_Logger - * * @codeCoverageIgnore */ class WC_Retailcrm_Logger diff --git a/src/include/components/class-wc-retailcrm-paginated-request.php b/src/include/components/class-wc-retailcrm-paginated-request.php index bbbfdb2..eb62ae3 100644 --- a/src/include/components/class-wc-retailcrm-paginated-request.php +++ b/src/include/components/class-wc-retailcrm-paginated-request.php @@ -1,9 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_Paginated_Request { diff --git a/src/include/customer/class-wc-retailcrm-customer-address.php b/src/include/customer/class-wc-retailcrm-customer-address.php index 1a90105..22ad63d 100644 --- a/src/include/customer/class-wc-retailcrm-customer-address.php +++ b/src/include/customer/class-wc-retailcrm-customer-address.php @@ -1,7 +1,8 @@ @@ -9,10 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Customer_Address - */ class WC_Retailcrm_Customer_Address extends WC_Retailcrm_Abstracts_Address { /** diff --git a/src/include/customer/class-wc-retailcrm-customer-corporate-address.php b/src/include/customer/class-wc-retailcrm-customer-corporate-address.php index 5482a82..8c4abfe 100644 --- a/src/include/customer/class-wc-retailcrm-customer-corporate-address.php +++ b/src/include/customer/class-wc-retailcrm-customer-corporate-address.php @@ -1,6 +1,8 @@ @@ -8,10 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Customer_Address - */ class WC_Retailcrm_Customer_Corporate_Address extends WC_Retailcrm_Abstracts_Address { /** @var bool $isMain */ diff --git a/src/include/customer/woocommerce/class-wc-retailcrm-wc-customer-builder.php b/src/include/customer/woocommerce/class-wc-retailcrm-wc-customer-builder.php index 6d21071..ffa45ec 100644 --- a/src/include/customer/woocommerce/class-wc-retailcrm-wc-customer-builder.php +++ b/src/include/customer/woocommerce/class-wc-retailcrm-wc-customer-builder.php @@ -1,8 +1,14 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_WC_Customer_Builder extends WC_Retailcrm_Abstract_Builder { diff --git a/src/include/interfaces/class-wc-retailcrm-builder-interface.php b/src/include/interfaces/class-wc-retailcrm-builder-interface.php index 034b681..d3abfb9 100644 --- a/src/include/interfaces/class-wc-retailcrm-builder-interface.php +++ b/src/include/interfaces/class-wc-retailcrm-builder-interface.php @@ -1,8 +1,14 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ interface WC_Retailcrm_Builder_Interface { /** diff --git a/src/include/models/class-wc-retailcrm-customer-switcher-result.php b/src/include/models/class-wc-retailcrm-customer-switcher-result.php index 301e43d..d6a7995 100644 --- a/src/include/models/class-wc-retailcrm-customer-switcher-result.php +++ b/src/include/models/class-wc-retailcrm-customer-switcher-result.php @@ -1,10 +1,16 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_Customer_Switcher_Result { diff --git a/src/include/models/class-wc-retailcrm-customer-switcher-state.php b/src/include/models/class-wc-retailcrm-customer-switcher-state.php index 2bb7abb..26a69ce 100644 --- a/src/include/models/class-wc-retailcrm-customer-switcher-state.php +++ b/src/include/models/class-wc-retailcrm-customer-switcher-state.php @@ -1,21 +1,28 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_Customer_Switcher_State { /** @var \WC_Order $wcOrder */ private $wcOrder; - /** @var array */ + /** @var array */ private $newCustomer; - /** @var array */ + /** @var array */ private $newContact; - /** @var string $newCompanyName */ + /** @var string $newCompanyName */ private $newCompanyName; /** @var array $companyAddress */ diff --git a/src/include/order/class-wc-retailcrm-order-address.php b/src/include/order/class-wc-retailcrm-order-address.php index 4b65ec8..65d94bc 100644 --- a/src/include/order/class-wc-retailcrm-order-address.php +++ b/src/include/order/class-wc-retailcrm-order-address.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Order_Address extends WC_Retailcrm_Abstracts_Address { /** diff --git a/src/include/order/class-wc-retailcrm-order-item.php b/src/include/order/class-wc-retailcrm-order-item.php index 2cbb170..35e0339 100644 --- a/src/include/order/class-wc-retailcrm-order-item.php +++ b/src/include/order/class-wc-retailcrm-order-item.php @@ -1,6 +1,8 @@ @@ -8,14 +10,8 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Order_Item - */ class WC_Retailcrm_Order_Item extends WC_Retailcrm_Abstracts_Data { - protected $filter_name = 'order_item'; - /** * @var array order item */ diff --git a/src/include/order/class-wc-retailcrm-order-payment.php b/src/include/order/class-wc-retailcrm-order-payment.php index 24657e3..3e621e0 100644 --- a/src/include/order/class-wc-retailcrm-order-payment.php +++ b/src/include/order/class-wc-retailcrm-order-payment.php @@ -1,6 +1,8 @@ @@ -8,10 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Order_Payment - */ class WC_Retailcrm_Order_Payment extends WC_Retailcrm_Abstracts_Data { /** @var string */ diff --git a/src/include/order/class-wc-retailcrm-order.php b/src/include/order/class-wc-retailcrm-order.php index 4773aaa..c601fdb 100644 --- a/src/include/order/class-wc-retailcrm-order.php +++ b/src/include/order/class-wc-retailcrm-order.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Order extends WC_Retailcrm_Abstracts_Data { /** @var bool */ diff --git a/tests/abstracts/test-wc-retailcrm-abstract-builder.php b/tests/abstracts/test-wc-retailcrm-abstract-builder.php index 1f31662..5d0a476 100644 --- a/tests/abstracts/test-wc-retailcrm-abstract-builder.php +++ b/tests/abstracts/test-wc-retailcrm-abstract-builder.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Abstracts_Settings_Test extends WC_Retailcrm_Test_Case_Helper { /** diff --git a/tests/customer/test-wc-retailcrm-customer-address.php b/tests/customer/test-wc-retailcrm-customer-address.php index cd8aa5a..2eed483 100644 --- a/tests/customer/test-wc-retailcrm-customer-address.php +++ b/tests/customer/test-wc-retailcrm-customer-address.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Customer_Address_Test extends WC_Retailcrm_Test_Case_Helper { protected $customer; diff --git a/tests/customer/test-wc-retailcrm-customer-corporate-address.php b/tests/customer/test-wc-retailcrm-customer-corporate-address.php index 6bd475a..b434213 100644 --- a/tests/customer/test-wc-retailcrm-customer-corporate-address.php +++ b/tests/customer/test-wc-retailcrm-customer-corporate-address.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Customer_Corporate_Address_Test extends WC_Retailcrm_Test_Case_Helper { protected $customer; diff --git a/tests/customer/woocommerce/test-wc-retailcrm-wc-customer-builder.php b/tests/customer/woocommerce/test-wc-retailcrm-wc-customer-builder.php index d27c7a6..7f2b58f 100644 --- a/tests/customer/woocommerce/test-wc-retailcrm-wc-customer-builder.php +++ b/tests/customer/woocommerce/test-wc-retailcrm-wc-customer-builder.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_WC_Customer_Builder_Test extends WC_Retailcrm_Test_Case_Helper { protected $customer; diff --git a/tests/datasets/data-base-retailcrm.php b/tests/datasets/data-base-retailcrm.php index 1f9149a..f790000 100644 --- a/tests/datasets/data-base-retailcrm.php +++ b/tests/datasets/data-base-retailcrm.php @@ -2,6 +2,17 @@ namespace datasets; +/** + * PHP version 5.6 + * + * Class DataBaseRetailCrm - Data set for WC_Retailcrm_Base. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class DataBaseRetailCrm { public static function getResponseStatuses() diff --git a/tests/datasets/data-customers-retailcrm.php b/tests/datasets/data-customers-retailcrm.php index 7b66170..f4945ca 100644 --- a/tests/datasets/data-customers-retailcrm.php +++ b/tests/datasets/data-customers-retailcrm.php @@ -2,6 +2,17 @@ namespace datasets; +/** + * PHP version 5.6 + * + * Class DataCustomersRetailCrm - Data set for WC_Retailcrm_Customers. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class DataCustomersRetailCrm { public static function getCustomerAddress() diff --git a/tests/datasets/data-history-retailcrm.php b/tests/datasets/data-history-retailcrm.php index f55644e..6b7c1fd 100644 --- a/tests/datasets/data-history-retailcrm.php +++ b/tests/datasets/data-history-retailcrm.php @@ -2,6 +2,17 @@ namespace datasets; +/** + * PHP version 5.6 + * + * Class DataHistoryRetailCrm - Data set for WC_Retailcrm_History. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class DataHistoryRetailCrm { public static function empty_history() diff --git a/tests/datasets/data-inventories-retailcrm.php b/tests/datasets/data-inventories-retailcrm.php index 2345ec8..ef18936 100644 --- a/tests/datasets/data-inventories-retailcrm.php +++ b/tests/datasets/data-inventories-retailcrm.php @@ -2,6 +2,17 @@ namespace datasets; +/** + * PHP version 5.6 + * + * Class DataInventoriesRetailCrm - Data set for WC_Retailcrm_Inventories. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class DataInventoriesRetailCrm { public static function getResponseData() { diff --git a/tests/helpers/class-wc-retailcrm-log-handler-stdout.php b/tests/helpers/class-wc-retailcrm-log-handler-stdout.php index 213d463..44c8528 100644 --- a/tests/helpers/class-wc-retailcrm-log-handler-stdout.php +++ b/tests/helpers/class-wc-retailcrm-log-handler-stdout.php @@ -1,14 +1,20 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ -if (!defined( 'ABSPATH' ) ) { +if (!defined( 'ABSPATH')) { exit; } -/** - * Handles log entries by writing to a stdout - * - * @class WC_Retailcrm_Log_Handler_Stdout - */ class WC_Retailcrm_Log_Handler_Stdout extends WC_Log_Handler { /** diff --git a/tests/helpers/class-wc-retailcrm-response-helper.php b/tests/helpers/class-wc-retailcrm-response-helper.php index 32bbc7d..1356fd9 100644 --- a/tests/helpers/class-wc-retailcrm-response-helper.php +++ b/tests/helpers/class-wc-retailcrm-response-helper.php @@ -1,4 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ if (!class_exists('WC_Retailcrm_Response')) { require_once dirname(__FILE__) . '/../../src/include/api/class-wc-retailcrm-response.php'; diff --git a/tests/helpers/class-wc-retailcrm-test-case-helper.php b/tests/helpers/class-wc-retailcrm-test-case-helper.php index 0520e11..e8a75c2 100644 --- a/tests/helpers/class-wc-retailcrm-test-case-helper.php +++ b/tests/helpers/class-wc-retailcrm-test-case-helper.php @@ -1,7 +1,14 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru */ class WC_Retailcrm_Test_Case_Helper extends WC_Unit_Test_Case { diff --git a/tests/models/test-wc-retailcrm-customer-switcher-result.php b/tests/models/test-wc-retailcrm-customer-switcher-result.php index 252fdd8..43f1237 100644 --- a/tests/models/test-wc-retailcrm-customer-switcher-result.php +++ b/tests/models/test-wc-retailcrm-customer-switcher-result.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Customer_Switcher_Result_Test extends WC_Retailcrm_Test_Case_Helper { protected $customer; diff --git a/tests/models/test-wc-retailcrm-customer-switcher-state.php b/tests/models/test-wc-retailcrm-customer-switcher-state.php index b1808c3..8cff38c 100644 --- a/tests/models/test-wc-retailcrm-customer-switcher-state.php +++ b/tests/models/test-wc-retailcrm-customer-switcher-state.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Customer_Switcher_State_Test extends WC_Retailcrm_Test_Case_Helper { public function test_feasible() diff --git a/tests/order/test-wc-retailcrm-order-address.php b/tests/order/test-wc-retailcrm-order-address.php index 64c1017..33dbf6c 100644 --- a/tests/order/test-wc-retailcrm-order-address.php +++ b/tests/order/test-wc-retailcrm-order-address.php @@ -1,6 +1,8 @@ @@ -8,10 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - -/** - * Class WC_Retailcrm_Order_Address_Test - */ class WC_Retailcrm_Order_Address_Test extends WC_Retailcrm_Test_Case_Helper { /** @var WC_Order */ diff --git a/tests/order/test-wc-retailcrm-order-item.php b/tests/order/test-wc-retailcrm-order-item.php index b9406bb..b02a991 100644 --- a/tests/order/test-wc-retailcrm-order-item.php +++ b/tests/order/test-wc-retailcrm-order-item.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Order_Item_Test extends WC_Retailcrm_Test_Case_Helper { /** @var WC_Order */ diff --git a/tests/order/test-wc-retailcrm-order-payment.php b/tests/order/test-wc-retailcrm-order-payment.php index a0b0a74..5184f5f 100644 --- a/tests/order/test-wc-retailcrm-order-payment.php +++ b/tests/order/test-wc-retailcrm-order-payment.php @@ -1,6 +1,8 @@ @@ -8,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Order_Payment_Test extends WC_Retailcrm_Test_Case_Helper { /** @var WC_Order */ diff --git a/tests/order/test-wc-retailcrm-order.php b/tests/order/test-wc-retailcrm-order.php index a38ca72..f268e08 100644 --- a/tests/order/test-wc-retailcrm-order.php +++ b/tests/order/test-wc-retailcrm-order.php @@ -1,7 +1,8 @@ @@ -9,7 +10,6 @@ * @link http://retailcrm.ru * @see http://help.retailcrm.ru */ - class WC_Retailcrm_Order_Test extends WC_Retailcrm_Test_Case_Helper { /** @var WC_Order */ protected $order; diff --git a/tests/test-wc-retailcrm-base.php b/tests/test-wc-retailcrm-base.php index e23dcad..c514192 100644 --- a/tests/test-wc-retailcrm-base.php +++ b/tests/test-wc-retailcrm-base.php @@ -2,6 +2,17 @@ use datasets\DataBaseRetailCrm; +/** + * PHP version 5.6 + * + * Class WC_Retailcrm_Base_Test - Testing WC_Retailcrm_Base. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Base_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock; diff --git a/tests/test-wc-retailcrm-customers.php b/tests/test-wc-retailcrm-customers.php index 2b3d7b9..4f71b07 100644 --- a/tests/test-wc-retailcrm-customers.php +++ b/tests/test-wc-retailcrm-customers.php @@ -2,6 +2,17 @@ use datasets\DataCustomersRetailCrm; +/** + * PHP version 5.6 + * + * Class WC_Retailcrm_Customers_Test - Testing WC_Retailcrm_Customers. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Customers_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock; diff --git a/tests/test-wc-retailcrm-daemon-collector.php b/tests/test-wc-retailcrm-daemon-collector.php index ce33567..9e93791 100644 --- a/tests/test-wc-retailcrm-daemon-collector.php +++ b/tests/test-wc-retailcrm-daemon-collector.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Daemon_Collector_Test extends WC_Retailcrm_Test_Case_Helper { private $daemonCollector; diff --git a/tests/test-wc-retailcrm-ga.php b/tests/test-wc-retailcrm-ga.php index c37a8f7..bd4264f 100644 --- a/tests/test-wc-retailcrm-ga.php +++ b/tests/test-wc-retailcrm-ga.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Google_Analytics_Test extends WC_Retailcrm_Test_Case_Helper { private $ga; diff --git a/tests/test-wc-retailcrm-history.php b/tests/test-wc-retailcrm-history.php index 68d4847..83dbf73 100644 --- a/tests/test-wc-retailcrm-history.php +++ b/tests/test-wc-retailcrm-history.php @@ -2,6 +2,17 @@ use datasets\DataHistoryRetailCrm; +/** + * PHP version 5.6 + * + * Class WC_Retailcrm_History_Test - Testing WC_Retailcrm_History. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_History_Test extends WC_Retailcrm_Test_Case_Helper { /** @var WC_Retailcrm_Proxy */ diff --git a/tests/test-wc-retailcrm-icml.php b/tests/test-wc-retailcrm-icml.php index 976f06e..a33d1d4 100644 --- a/tests/test-wc-retailcrm-icml.php +++ b/tests/test-wc-retailcrm-icml.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Icml_Test extends WC_Retailcrm_Test_Case_Helper { public function setUp() diff --git a/tests/test-wc-retailcrm-inventories.php b/tests/test-wc-retailcrm-inventories.php index 9f491e3..00fefcc 100644 --- a/tests/test-wc-retailcrm-inventories.php +++ b/tests/test-wc-retailcrm-inventories.php @@ -2,6 +2,17 @@ use datasets\DataInventoriesRetailCrm; +/** + * PHP version 5.6 + * + * Class WC_Retailcrm_Inventories_Test - Testing WC_Retailcrm_Inventories. + * + * @category Integration + * @author RetailCRM + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Inventories_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock; diff --git a/tests/test-wc-retailcrm-orders.php b/tests/test-wc-retailcrm-orders.php index e6fc37c..a30bd1c 100644 --- a/tests/test-wc-retailcrm-orders.php +++ b/tests/test-wc-retailcrm-orders.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Orders_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock; diff --git a/tests/test-wc-retailcrm-plugin.php b/tests/test-wc-retailcrm-plugin.php index 8bced9e..977fb1e 100644 --- a/tests/test-wc-retailcrm-plugin.php +++ b/tests/test-wc-retailcrm-plugin.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Plugin_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock; diff --git a/tests/test-wc-retailcrm-uploader.php b/tests/test-wc-retailcrm-uploader.php index 0b14a44..ce88770 100644 --- a/tests/test-wc-retailcrm-uploader.php +++ b/tests/test-wc-retailcrm-uploader.php @@ -1,5 +1,15 @@ + * @license http://retailcrm.ru Proprietary + * @link http://retailcrm.ru + * @see http://help.retailcrm.ru + */ class WC_Retailcrm_Uploader_Test extends WC_Retailcrm_Test_Case_Helper { protected $apiMock;