diff --git a/composer.json b/composer.json index 76bd3cc..cc7b054 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ "doctrine/annotations": "^1.13", "liip/serializer": "2.0.*", "php-http/httplug": "^2.2", - "civicrm/composer-compile-plugin": "^0.15.0", + "civicrm/composer-compile-plugin": "^0.18.0", "symfony/console": "^4.0|^5.0|^6.0", "psr/event-dispatcher": "^1.0", "neur0toxine/psr.http-client-implementation.php-http-curl": "*", @@ -49,7 +49,7 @@ "nyholm/psr7": "^1.3", "league/event": "^3.0", "league/container": "^3.3", - "neur0toxine/pock": "^0.10" + "neur0toxine/pock": "^0.11" }, "suggest": { "ext-curl": "Most HTTP clients need ext-curl to work properly.", @@ -111,6 +111,10 @@ }, "config": { "bin-dir": "vendor/bin", - "process-timeout": 600 + "process-timeout": 600, + "allow-plugins": { + "civicrm/composer-compile-plugin": true, + "dealerdirect/phpcodesniffer-composer-installer": true + } } } diff --git a/src/Model/Entity/Customers/CustomerContragent.php b/src/Model/Entity/Customers/CustomerContragent.php index ce4a697..9bebded 100644 --- a/src/Model/Entity/Customers/CustomerContragent.php +++ b/src/Model/Entity/Customers/CustomerContragent.php @@ -17,6 +17,8 @@ use RetailCrm\Api\Component\Serializer\Annotation as JMS; * * @category CustomerContragent * @package RetailCrm\Api\Model\Entity\Customers + * + * @SuppressWarnings(PHPMD.CamelCasePropertyName) */ class CustomerContragent { diff --git a/src/Model/Entity/References/LegalEntity.php b/src/Model/Entity/References/LegalEntity.php index 949d704..14d7dbe 100644 --- a/src/Model/Entity/References/LegalEntity.php +++ b/src/Model/Entity/References/LegalEntity.php @@ -17,6 +17,8 @@ use RetailCrm\Api\Component\Serializer\Annotation as JMS; * * @category LegalEntity * @package RetailCrm\Api\Model\Entity\References + * + * @SuppressWarnings(PHPMD.CamelCasePropertyName) */ class LegalEntity { diff --git a/src/Model/Filter/CustomersCorporate/CustomerCorporateFilter.php b/src/Model/Filter/CustomersCorporate/CustomerCorporateFilter.php index 9e9d622..7dc78ec 100644 --- a/src/Model/Filter/CustomersCorporate/CustomerCorporateFilter.php +++ b/src/Model/Filter/CustomersCorporate/CustomerCorporateFilter.php @@ -342,14 +342,6 @@ class CustomerCorporateFilter */ public $lastOrderTo; - /** - * @var mixed[][] - * - * @Form\Type("array") - * @Form\SerializedName("CustomersCorporate") - */ - public $CustomersCorporate; - /** * @var int[] * diff --git a/src/ResourceGroup/Integration.php b/src/ResourceGroup/Integration.php index 4f46155..1c194be 100644 --- a/src/ResourceGroup/Integration.php +++ b/src/ResourceGroup/Integration.php @@ -21,6 +21,8 @@ use RetailCrm\Api\Model\Response\Integration\IntegrationModuleUpdateScopesRespon * * @category Integration * @package RetailCrm\Api\ResourceGroup + * + * @SuppressWarnings(PHPMD.CouplingBetweenObjects) */ class Integration extends AbstractApiResourceGroup {