From 30df92ab01f14fc9446b765e0e35d5b14a37b9fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Munsch?= Date: Thu, 10 Feb 2022 12:59:18 +0100 Subject: [PATCH] bump to crm Client v3 --- composer.json | 2 +- composer.lock | 336 ++----------------------------------------------- config/crm.php | 4 +- 3 files changed, 9 insertions(+), 333 deletions(-) diff --git a/composer.json b/composer.json index 62bdb9b..a7f61b4 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ "laravel/tinker": "^2.0", "laravel/ui": "^3.0", "laravelcollective/html": "6.*", - "ldc/ldccrmv2client": "2.1.8", + "ldc/ldccrmv2client": "^3.0", "picqer/php-barcode-generator": "^0.3.0", "szymach/c-pchart": "^3.0", "uxweb/sweet-alert": "^2.0" diff --git a/composer.lock b/composer.lock index e51f131..2fc49d4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7f4b3b71506036904f78c0cf218dd0f6", + "content-hash": "363c936cfd0600d398b8d96695423024", "packages": [ { "name": "barryvdh/laravel-dompdf", @@ -132,269 +132,6 @@ ], "time": "2021-08-15T20:50:18+00:00" }, - { - "name": "cache/adapter-common", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/php-cache/adapter-common.git", - "reference": "6b87c5cbdf03be42437b595dbe5de8e97cd1d497" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-cache/adapter-common/zipball/6b87c5cbdf03be42437b595dbe5de8e97cd1d497", - "reference": "6b87c5cbdf03be42437b595dbe5de8e97cd1d497", - "shasum": "" - }, - "require": { - "cache/tag-interop": "^1.0", - "php": "^5.6 || ^7.0 || ^8.0", - "psr/cache": "^1.0", - "psr/log": "^1.0", - "psr/simple-cache": "^1.0" - }, - "require-dev": { - "cache/integration-tests": "^0.16", - "phpunit/phpunit": "^5.7.21" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Cache\\Adapter\\Common\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Scherer", - "email": "aequasi@gmail.com", - "homepage": "https://github.com/aequasi" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/nyholm" - } - ], - "description": "Common classes for PSR-6 adapters", - "homepage": "http://www.php-cache.com/en/latest/", - "keywords": [ - "cache", - "psr-6", - "tag" - ], - "support": { - "source": "https://github.com/php-cache/adapter-common/tree/1.2.0" - }, - "time": "2020-12-14T12:17:39+00:00" - }, - { - "name": "cache/hierarchical-cache", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-cache/hierarchical-cache.git", - "reference": "ba3746c65461b17154fb855068403670fd7fa2d3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-cache/hierarchical-cache/zipball/ba3746c65461b17154fb855068403670fd7fa2d3", - "reference": "ba3746c65461b17154fb855068403670fd7fa2d3", - "shasum": "" - }, - "require": { - "cache/adapter-common": "^1.0", - "php": "^5.6 || ^7.0 || ^8.0", - "psr/cache": "^1.0" - }, - "require-dev": { - "phpunit/phpunit": "^5.7.21" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Cache\\Hierarchy\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Scherer", - "email": "aequasi@gmail.com", - "homepage": "https://github.com/aequasi" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/nyholm" - } - ], - "description": "A helper trait and interface to your PSR-6 cache to support hierarchical keys.", - "homepage": "http://www.php-cache.com/en/latest/", - "keywords": [ - "cache", - "hierarchical", - "hierarchy", - "psr-6" - ], - "support": { - "source": "https://github.com/php-cache/hierarchical-cache/tree/1.1.0" - }, - "time": "2020-12-14T12:17:39+00:00" - }, - { - "name": "cache/memcached-adapter", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-cache/memcached-adapter.git", - "reference": "3e2105684bc2813646c2f44ce9c403020ff2145f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-cache/memcached-adapter/zipball/3e2105684bc2813646c2f44ce9c403020ff2145f", - "reference": "3e2105684bc2813646c2f44ce9c403020ff2145f", - "shasum": "" - }, - "require": { - "cache/adapter-common": "^1.0", - "cache/hierarchical-cache": "^1.0", - "php": "^5.6 || ^7.0 || ^8.0", - "psr/cache": "^1.0", - "psr/simple-cache": "^1.0" - }, - "provide": { - "psr/cache-implementation": "^1.0", - "psr/simple-cache-implementation": "^1.0" - }, - "require-dev": { - "cache/integration-tests": "^0.16", - "phpunit/phpunit": "^5.7.21" - }, - "suggest": { - "ext-memcached": "The extension required to use this pool." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Cache\\Adapter\\Memcached\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Scherer", - "email": "aequasi@gmail.com", - "homepage": "https://github.com/aequasi" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/nyholm" - } - ], - "description": "A PSR-6 cache implementation using Memcached. This implementation supports tags", - "homepage": "http://www.php-cache.com/en/latest/", - "keywords": [ - "cache", - "memcached", - "psr-6", - "tag" - ], - "support": { - "source": "https://github.com/php-cache/memcached-adapter/tree/1.1.0" - }, - "time": "2020-12-14T12:17:39+00:00" - }, - { - "name": "cache/tag-interop", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/php-cache/tag-interop.git", - "reference": "b062b1d735357da50edf8387f7a8696f3027d328" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-cache/tag-interop/zipball/b062b1d735357da50edf8387f7a8696f3027d328", - "reference": "b062b1d735357da50edf8387f7a8696f3027d328", - "shasum": "" - }, - "require": { - "php": "^5.5 || ^7.0 || ^8.0", - "psr/cache": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1-dev" - } - }, - "autoload": { - "psr-4": { - "Cache\\TagInterop\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/nyholm" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com", - "homepage": "https://github.com/nicolas-grekas" - } - ], - "description": "Framework interoperable interfaces for tags", - "homepage": "https://www.php-cache.com/en/latest/", - "keywords": [ - "cache", - "psr", - "psr6", - "tag" - ], - "support": { - "issues": "https://github.com/php-cache/tag-interop/issues", - "source": "https://github.com/php-cache/tag-interop/tree/1.1.0" - }, - "time": "2021-12-31T10:03:23+00:00" - }, { "name": "doctrine/cache", "version": "2.1.1", @@ -2102,21 +1839,18 @@ }, { "name": "ldc/ldccrmv2client", - "version": "2.1.8", + "version": "3.0.1", "source": { "type": "git", "url": "https://voight001.lesidc.com/crm-client", - "reference": "b4982ab41b2d2df4bd0ec43b2e300c701aaa0184" + "reference": "03501c156e0c18a6d2eaac7b899e9b14f3f2bf79" }, "require": { - "cache/memcached-adapter": "^1.1", "ext-curl": "^7.3", - "ext-memcached": "^3.1", - "guzzlehttp/guzzle": "^7.3", - "kwaadpepper/enum": "^2.0", + "guzzlehttp/guzzle": "^7.4", + "kwaadpepper/enum": "^2.1", "php": "^7.3", - "respect/validation": "^2.2", - "vlucas/phpdotenv": "^5.3" + "respect/validation": "^2.2" }, "require-dev": { "orchestra/testbench": "^6.13", @@ -2125,13 +1859,6 @@ "squizlabs/php_codesniffer": "^3.5" }, "type": "library", - "extra": { - "laravel": { - "providers": [ - "LDC\\LDCCRM\\Providers\\CrmClientV2Provider" - ] - } - }, "autoload": { "psr-4": { "LDC\\LDCCRM\\": "src/" @@ -2160,7 +1887,7 @@ "LDC", "Laravel" ], - "time": "2021-09-21T10:05:56+00:00" + "time": "2022-02-10T08:39:51+00:00" }, { "name": "league/commonmark", @@ -2953,55 +2680,6 @@ }, "time": "2019-01-12T09:29:34+00:00" }, - { - "name": "psr/cache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/php-fig/cache.git", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", - "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interface for caching libraries", - "keywords": [ - "cache", - "psr", - "psr-6" - ], - "support": { - "source": "https://github.com/php-fig/cache/tree/master" - }, - "time": "2016-08-06T20:24:11+00:00" - }, { "name": "psr/container", "version": "1.1.1", diff --git a/config/crm.php b/config/crm.php index 58aaf9a..4cc5fa5 100644 --- a/config/crm.php +++ b/config/crm.php @@ -1,7 +1,5 @@ env('CRM_ENDPOINT'), - + 'endpoint' => env('CRM_ENDPOINT') ];