From f89adfba48779670e330e1480341191f19acfe67 Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Mon, 4 Oct 2021 21:00:28 +0300 Subject: [PATCH 01/12] #13 Updated base class. --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index b01574a5..80d0b988 100644 --- a/composer.json +++ b/composer.json @@ -32,11 +32,11 @@ "php": "^7.3 || ~8.0.0", "laminas-api-tools/api-tools": "^1.3", "laminas-api-tools/api-tools-rest": "^1.3.2", - "laminas/laminas-hydrator": "^2.4.2 || ^3.0", + "laminas/laminas-hydrator": "^2.4.2 || ^3.0 || ^4.0", "laminas/laminas-stdlib": "^3.3", "laminas/laminas-view": "^2.11.3", "laminas/laminas-zendframework-bridge": "^1.0", - "phpro/zf-doctrine-hydration-module": "^2.0.1 || ^3.0 || ^4.1" + "api-skeletons/doctrine-orm-hydration-module": "^2.0.1 || ^3.0 || ^4.1" }, "require-dev": { "doctrine/doctrine-module": "^1.2.0 || ^2.1.7", From fd08a75ecd1123590255490205619cf366183e2b Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Mon, 4 Oct 2021 21:07:33 +0300 Subject: [PATCH 02/12] Improvements to work with API-Skeletons/doctrine-orm-hydration-module. --- src/Admin/Model/DoctrineAutodiscoveryModel.php | 6 +++--- src/Admin/Model/DoctrineMetadataServiceResource.php | 2 +- src/Admin/Model/DoctrineRestServiceEntity.php | 2 +- src/Admin/Model/NewDoctrineServiceEntity.php | 2 +- src/Server/Event/DoctrineResourceEvent.php | 2 +- src/Server/Event/Listener/CollectionListener.php | 6 +++--- src/Server/Module.php | 2 +- src/Server/Query/CreateFilter/AbstractCreateFilter.php | 2 +- src/Server/Query/Provider/AbstractQueryProvider.php | 2 +- src/Server/Resource/DoctrineResource.php | 2 +- src/Server/Resource/DoctrineResourceFactory.php | 2 +- 11 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/Admin/Model/DoctrineAutodiscoveryModel.php b/src/Admin/Model/DoctrineAutodiscoveryModel.php index c243acd7..5ab53ab1 100644 --- a/src/Admin/Model/DoctrineAutodiscoveryModel.php +++ b/src/Admin/Model/DoctrineAutodiscoveryModel.php @@ -4,9 +4,9 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory; -use Doctrine\Common\Persistence\Mapping\ClassMetadata; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\Mapping\AbstractClassMetadataFactory; +use Doctrine\Persistence\Mapping\ClassMetadata; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Admin\Model\AbstractAutodiscoveryModel; use function strrpos; diff --git a/src/Admin/Model/DoctrineMetadataServiceResource.php b/src/Admin/Model/DoctrineMetadataServiceResource.php index c2c9b69d..16893a63 100644 --- a/src/Admin/Model/DoctrineMetadataServiceResource.php +++ b/src/Admin/Model/DoctrineMetadataServiceResource.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory; +use Doctrine\Persistence\Mapping\AbstractClassMetadataFactory; use Exception; use Laminas\ApiTools\Admin\Model\RestServiceEntity; use Laminas\ApiTools\ApiProblem\ApiProblem; diff --git a/src/Admin/Model/DoctrineRestServiceEntity.php b/src/Admin/Model/DoctrineRestServiceEntity.php index a62d32a4..a472dd18 100644 --- a/src/Admin/Model/DoctrineRestServiceEntity.php +++ b/src/Admin/Model/DoctrineRestServiceEntity.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Admin\Model\RestServiceEntity; use Laminas\Stdlib\ArraySerializableInterface; diff --git a/src/Admin/Model/NewDoctrineServiceEntity.php b/src/Admin/Model/NewDoctrineServiceEntity.php index 0f844a94..5d264358 100644 --- a/src/Admin/Model/NewDoctrineServiceEntity.php +++ b/src/Admin/Model/NewDoctrineServiceEntity.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Admin\Model\NewRestServiceEntity as LaminasNewRestServiceEntity; use Laminas\Stdlib\ArraySerializableInterface; diff --git a/src/Server/Event/DoctrineResourceEvent.php b/src/Server/Event/DoctrineResourceEvent.php index 75a1e1f2..b0ab0441 100644 --- a/src/Server/Event/DoctrineResourceEvent.php +++ b/src/Server/Event/DoctrineResourceEvent.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Event; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Rest\ResourceEvent; use Laminas\EventManager\Event; diff --git a/src/Server/Event/Listener/CollectionListener.php b/src/Server/Event/Listener/CollectionListener.php index ed4ea487..dc5a3562 100644 --- a/src/Server/Event/Listener/CollectionListener.php +++ b/src/Server/Event/Listener/CollectionListener.php @@ -4,8 +4,8 @@ namespace Laminas\ApiTools\Doctrine\Server\Event\Listener; -use Doctrine\Common\Persistence\Mapping\ClassMetadata; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\Mapping\ClassMetadata; +use Doctrine\Persistence\ObjectManager; use Doctrine\Instantiator\InstantiatorInterface; use Doctrine\ORM\Internal\Hydration\AbstractHydrator; use DoctrineModule\Stdlib\Hydrator\DoctrineObject; @@ -19,7 +19,7 @@ use Laminas\InputFilter\InputInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayObject; -use Phpro\DoctrineHydrationModule\Service\DoctrineHydratorFactory; +use ApiSkeletons\DoctrineORMHydrationModule\Service\DoctrineHydratorFactory; use Traversable; use function array_key_exists; diff --git a/src/Server/Module.php b/src/Server/Module.php index 5f7511d4..2766d7c2 100644 --- a/src/Server/Module.php +++ b/src/Server/Module.php @@ -52,6 +52,6 @@ public function init(ModuleManager $moduleManager) */ public function getModuleDependencies() { - return ['Phpro\DoctrineHydrationModule']; + return ['ApiSkeletons\DoctrineORMHydrationModule']; } } diff --git a/src/Server/Query/CreateFilter/AbstractCreateFilter.php b/src/Server/Query/CreateFilter/AbstractCreateFilter.php index 9b563d62..cf9ecc3f 100644 --- a/src/Server/Query/CreateFilter/AbstractCreateFilter.php +++ b/src/Server/Query/CreateFilter/AbstractCreateFilter.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Query\CreateFilter; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use DoctrineModule\Persistence\ObjectManagerAwareInterface; use Laminas\ApiTools\Rest\ResourceEvent; diff --git a/src/Server/Query/Provider/AbstractQueryProvider.php b/src/Server/Query/Provider/AbstractQueryProvider.php index 2a95a79b..e40c88fd 100644 --- a/src/Server/Query/Provider/AbstractQueryProvider.php +++ b/src/Server/Query/Provider/AbstractQueryProvider.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Query\Provider; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Doctrine\ODM\MongoDB\Query\Builder; use Doctrine\ORM\QueryBuilder; use DoctrineModule\Persistence\ObjectManagerAwareInterface; diff --git a/src/Server/Resource/DoctrineResource.php b/src/Server/Resource/DoctrineResource.php index 8a5ca8b5..8ead8b63 100644 --- a/src/Server/Resource/DoctrineResource.php +++ b/src/Server/Resource/DoctrineResource.php @@ -5,7 +5,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Resource; use Doctrine\Common\Collections\ArrayCollection; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Doctrine\Instantiator\InstantiatorInterface; use Doctrine\ODM\MongoDB\Query\Builder as MongoDBQueryBuilder; use Doctrine\ORM\EntityManagerInterface; diff --git a/src/Server/Resource/DoctrineResourceFactory.php b/src/Server/Resource/DoctrineResourceFactory.php index 92d1b92b..cbd7de39 100644 --- a/src/Server/Resource/DoctrineResourceFactory.php +++ b/src/Server/Resource/DoctrineResourceFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Resource; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Doctrine\ODM\MongoDB\DocumentManager; use Doctrine\ORM\EntityManager; use Interop\Container\ContainerInterface; From 0e5bd1c7b1bded638fe8b47c6efc4e68f2f080a9 Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Mon, 4 Oct 2021 21:11:26 +0300 Subject: [PATCH 03/12] Fixed component version. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 80d0b988..86c34314 100644 --- a/composer.json +++ b/composer.json @@ -36,7 +36,7 @@ "laminas/laminas-stdlib": "^3.3", "laminas/laminas-view": "^2.11.3", "laminas/laminas-zendframework-bridge": "^1.0", - "api-skeletons/doctrine-orm-hydration-module": "^2.0.1 || ^3.0 || ^4.1" + "api-skeletons/doctrine-orm-hydration-module": "^1.0" }, "require-dev": { "doctrine/doctrine-module": "^1.2.0 || ^2.1.7", From 514f1217c53e09c1f9190e8deed2aa7643e43f10 Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Thu, 10 Mar 2022 00:22:56 +0200 Subject: [PATCH 04/12] Updated a version of the doctrine module. --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 86c34314..174b1ee5 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,7 @@ "api-skeletons/doctrine-orm-hydration-module": "^1.0" }, "require-dev": { - "doctrine/doctrine-module": "^1.2.0 || ^2.1.7", + "doctrine/doctrine-module": "^1.2.0 || ^2.1.7 || ^4.0 || ^5.1", "doctrine/doctrine-mongo-odm-module": "^0.11.0 || ^1.0.0 || ^2.0.0", "doctrine/doctrine-orm-module": "^1.1.8 || ^2.1.3", "doctrine/mongodb-odm": "^1.1.0", From 30452bb0ee75385449bbdcffee3a798b80904068 Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Thu, 10 Mar 2022 01:23:02 +0200 Subject: [PATCH 05/12] #28 Updated a version of the doctrine module. --- composer.json | 9 +- composer.lock | 4057 ++++++++++++++++++++++++++++++++----------------- 2 files changed, 2643 insertions(+), 1423 deletions(-) diff --git a/composer.json b/composer.json index 174b1ee5..c247f80f 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,10 @@ "forum": "https://discourse.laminas.dev" }, "config": { - "sort-packages": true + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } }, "extra": { "laminas": { @@ -39,9 +42,9 @@ "api-skeletons/doctrine-orm-hydration-module": "^1.0" }, "require-dev": { - "doctrine/doctrine-module": "^1.2.0 || ^2.1.7 || ^4.0 || ^5.1", + "doctrine/doctrine-module": "^4.0 || ^5.1", "doctrine/doctrine-mongo-odm-module": "^0.11.0 || ^1.0.0 || ^2.0.0", - "doctrine/doctrine-orm-module": "^1.1.8 || ^2.1.3", + "doctrine/doctrine-orm-module": "^4.0 || ^5.1", "doctrine/mongodb-odm": "^1.1.0", "laminas-api-tools/api-tools-admin": "^1.5.7", "laminas-api-tools/api-tools-hal": "^1.6.1", diff --git a/composer.lock b/composer.lock index c160ffae..5c62ecc4 100644 --- a/composer.lock +++ b/composer.lock @@ -4,8 +4,70 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "c73745931925217c5ec6217e8aa8ccfa", + "content-hash": "891f6e6377ca38050688c2242ae5f618", "packages": [ + { + "name": "api-skeletons/doctrine-orm-hydration-module", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/API-Skeletons/doctrine-orm-hydration-module.git", + "reference": "6495bf6d5b4718fadb74f85bdd0af386e8761700" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/API-Skeletons/doctrine-orm-hydration-module/zipball/6495bf6d5b4718fadb74f85bdd0af386e8761700", + "reference": "6495bf6d5b4718fadb74f85bdd0af386e8761700", + "shasum": "" + }, + "require": { + "doctrine/doctrine-laminas-hydrator": "^2.1", + "doctrine/doctrine-module": "^4.1", + "php": "^7.4" + }, + "require-dev": { + "doctrine/doctrine-orm-module": "^3.2", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "laminas": { + "module": "ApiSkeletons\\DoctrineORMHydrationModule" + } + }, + "autoload": { + "psr-4": { + "ApiSkeletons\\DoctrineORMHydrationModule\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Toon Verwerft", + "email": "toon.verwerft@phpro.be" + }, + { + "name": "Tom H Anderson", + "email": "tom.h.anderson@gmail.com" + } + ], + "description": "Doctrine ORM hydrators for Laminas", + "keywords": [ + "doctrine", + "hydrator", + "laminas", + "orm" + ], + "support": { + "issues": "https://github.com/API-Skeletons/doctrine-orm-hydration-module/issues", + "source": "https://github.com/API-Skeletons/doctrine-orm-hydration-module/tree/1.0.1" + }, + "time": "2021-03-13T22:24:00+00:00" + }, { "name": "brick/varexporter", "version": "0.3.5", @@ -149,16 +211,16 @@ }, { "name": "doctrine/annotations", - "version": "1.13.1", + "version": "1.13.2", "source": { "type": "git", "url": "https://github.com/doctrine/annotations.git", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f" + "reference": "5b668aef16090008790395c02c893b1ba13f7e08" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/annotations/zipball/e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", - "reference": "e6e7b7d5b45a2f2abc5460cc6396480b2b1d321f", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/5b668aef16090008790395c02c893b1ba13f7e08", + "reference": "5b668aef16090008790395c02c893b1ba13f7e08", "shasum": "" }, "require": { @@ -215,30 +277,29 @@ ], "support": { "issues": "https://github.com/doctrine/annotations/issues", - "source": "https://github.com/doctrine/annotations/tree/1.13.1" + "source": "https://github.com/doctrine/annotations/tree/1.13.2" }, - "time": "2021-05-16T18:07:53+00:00" + "time": "2021-08-05T19:00:23+00:00" }, { "name": "doctrine/cache", - "version": "1.11.3", + "version": "1.12.1", "source": { "type": "git", "url": "https://github.com/doctrine/cache.git", - "reference": "3bb5588cec00a0268829cc4a518490df6741af9d" + "reference": "4cf401d14df219fa6f38b671f5493449151c9ad8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/3bb5588cec00a0268829cc4a518490df6741af9d", - "reference": "3bb5588cec00a0268829cc4a518490df6741af9d", + "url": "https://api.github.com/repos/doctrine/cache/zipball/4cf401d14df219fa6f38b671f5493449151c9ad8", + "reference": "4cf401d14df219fa6f38b671f5493449151c9ad8", "shasum": "" }, "require": { "php": "~7.1 || ^8.0" }, "conflict": { - "doctrine/common": ">2.2,<2.4", - "psr/cache": ">=3" + "doctrine/common": ">2.2,<2.4" }, "require-dev": { "alcaeus/mongo-php-adapter": "^1.1", @@ -247,8 +308,9 @@ "mongodb/mongodb": "^1.1", "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", "predis/predis": "~1.0", - "psr/cache": "^1.0 || ^2.0", - "symfony/cache": "^4.4 || ^5.2" + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.2 || ^6.0@dev", + "symfony/var-exporter": "^4.4 || ^5.2 || ^6.0@dev" }, "suggest": { "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" @@ -300,7 +362,7 @@ ], "support": { "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/1.11.3" + "source": "https://github.com/doctrine/cache/tree/1.12.1" }, "funding": [ { @@ -316,30 +378,30 @@ "type": "tidelift" } ], - "time": "2021-05-25T09:01:55+00:00" + "time": "2021-07-17T14:39:21+00:00" }, { "name": "doctrine/collections", - "version": "1.6.7", + "version": "1.6.8", "source": { "type": "git", "url": "https://github.com/doctrine/collections.git", - "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a" + "reference": "1958a744696c6bb3bb0d28db2611dc11610e78af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/55f8b799269a1a472457bd1a41b4f379d4cfba4a", - "reference": "55f8b799269a1a472457bd1a41b4f379d4cfba4a", + "url": "https://api.github.com/repos/doctrine/collections/zipball/1958a744696c6bb3bb0d28db2611dc11610e78af", + "reference": "1958a744696c6bb3bb0d28db2611dc11610e78af", "shasum": "" }, "require": { "php": "^7.1.3 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan-shim": "^0.9.2", - "phpunit/phpunit": "^7.0", - "vimeo/psalm": "^3.8.1" + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^0.12", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.1.5", + "vimeo/psalm": "^4.2.1" }, "type": "library", "autoload": { @@ -383,9 +445,9 @@ ], "support": { "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.6.7" + "source": "https://github.com/doctrine/collections/tree/1.6.8" }, - "time": "2020-07-27T17:53:49+00:00" + "time": "2021-08-10T18:51:53+00:00" }, { "name": "doctrine/common", @@ -488,51 +550,121 @@ ], "time": "2020-06-05T16:46:05+00:00" }, + { + "name": "doctrine/doctrine-laminas-hydrator", + "version": "2.2.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/doctrine-laminas-hydrator.git", + "reference": "f35233ffdac1798a57be2f772ff8383e81ac3739" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/doctrine-laminas-hydrator/zipball/f35233ffdac1798a57be2f772ff8383e81ac3739", + "reference": "f35233ffdac1798a57be2f772ff8383e81ac3739", + "shasum": "" + }, + "require": { + "doctrine/collections": "^1.6.8", + "doctrine/inflector": "^1.4.4 || ^2.0.3", + "doctrine/persistence": "^1.3.8 || ^2.2.2", + "ext-ctype": "*", + "laminas/laminas-hydrator": "^3.2.1 || ^4.3.1", + "laminas/laminas-stdlib": "^3.6.0", + "php": "^7.3 || ~8.0.0 || ~8.1.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0.0", + "jangregor/phpstan-prophecy": "^0.8.1", + "phpspec/prophecy-phpunit": "^2.0.1", + "phpstan/phpstan": "^0.12.99", + "phpunit/phpunit": "^9.5.10", + "vimeo/psalm": "^4.10.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Laminas\\Hydrator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Doctrine hydrators for Laminas applications", + "keywords": [ + "doctrine", + "hydrator", + "laminas", + "zf" + ], + "support": { + "issues": "https://github.com/doctrine/doctrine-laminas-hydrator/issues", + "rss": "https://github.com/doctrine/doctrine-laminas-hydrator/releases.atom", + "source": "https://github.com/doctrine/doctrine-laminas-hydrator" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-laminas-hydrator", + "type": "tidelift" + } + ], + "time": "2021-11-05T11:31:20+00:00" + }, { "name": "doctrine/doctrine-module", - "version": "2.1.10", + "version": "4.1.1", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineModule.git", - "reference": "2b961e58eb911bfe1e99a6e9a69087e05a24201c" + "reference": "f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/2b961e58eb911bfe1e99a6e9a69087e05a24201c", - "reference": "2b961e58eb911bfe1e99a6e9a69087e05a24201c", + "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d", + "reference": "f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d", "shasum": "" }, "require": { "doctrine/cache": "^1.7", "doctrine/common": "^2.8", - "php": "^7.1", - "symfony/console": "^3.3 || ^4.0 || ^5.0", - "zendframework/zend-authentication": "^2.5.3", - "zendframework/zend-cache": "^2.7.1", - "zendframework/zend-form": "^2.11", - "zendframework/zend-hydrator": "^2.3", - "zendframework/zend-mvc": "^3.1", - "zendframework/zend-paginator": "^2.8", - "zendframework/zend-servicemanager": "^3.3", - "zendframework/zend-stdlib": "^3.1", - "zendframework/zend-validator": "^2.10" - }, - "require-dev": { - "phpunit/phpunit": "^7.5.2", - "predis/predis": "^1.1", - "squizlabs/php_codesniffer": "^2.7", - "zendframework/zend-i18n": "^2.7", - "zendframework/zend-log": "^2.9", - "zendframework/zend-modulemanager": "^2.8", - "zendframework/zend-mvc-console": "^1.1.11", - "zendframework/zend-serializer": "^2.8", - "zendframework/zend-session": "^2.8", - "zendframework/zend-test": "^3.1.1", - "zendframework/zend-version": "^2.5.1" + "doctrine/doctrine-laminas-hydrator": "^2.0.2", + "doctrine/persistence": "^1.3.7", + "laminas/laminas-authentication": "^2.5.3", + "laminas/laminas-cache": "^2.7.1", + "laminas/laminas-form": "^2.11", + "laminas/laminas-hydrator": "^3.0", + "laminas/laminas-mvc": "^3.1", + "laminas/laminas-paginator": "^2.8", + "laminas/laminas-servicemanager": "^3.3", + "laminas/laminas-stdlib": "^3.2.1", + "laminas/laminas-validator": "^2.10", + "php": "^7.2", + "symfony/console": "^5.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.2", + "laminas/laminas-i18n": "^2.7", + "laminas/laminas-log": "^2.9", + "laminas/laminas-modulemanager": "^2.8", + "laminas/laminas-mvc-console": "^1.1.11", + "laminas/laminas-serializer": "^2.8", + "laminas/laminas-session": "^2.8", + "laminas/laminas-test": "^3.1.1", + "phpunit/phpunit": "^8.5", + "predis/predis": "^1.1" }, "suggest": { "doctrine/data-fixtures": "Data Fixtures if you want to generate test data or bootstrap data for your deployments", - "zendframework/zend-mvc-console": "^1.1.11 if you want to use the ZF3 console libraries" + "laminas/laminas-mvc-console": "^1.1.11 if you want to use the Laminas console libraries" }, "bin": [ "bin/doctrine-module" @@ -545,9 +677,7 @@ }, "branch-alias": { "dev-1.2-dev": "1.2-dev", - "dev-2.0-dev": "2.0-dev", - "dev-master": "1.2-dev", - "dev-develop": "2.0-dev" + "dev-2.0-dev": "2.0-dev" } }, "autoload": { @@ -578,20 +708,39 @@ "name": "Michaƫl Gallego", "email": "mic.gallego@gmail.com", "homepage": "http://www.michaelgallego.fr" + }, + { + "name": "Tom H Anderson", + "email": "tom.h.anderson@gmail.com", + "homepage": "https://tomhanderson.com" } ], - "description": "Zend Framework Module that provides Doctrine basic functionality required for ORM and ODM modules", + "description": "Laminas Module that provides Doctrine basic functionality required for ORM and ODM modules", "homepage": "http://www.doctrine-project.org/", "keywords": [ "doctrine", - "module", - "zf" + "laminas", + "module" ], "support": { "issues": "https://github.com/doctrine/DoctrineModule/issues", - "source": "https://github.com/doctrine/DoctrineModule/tree/master" + "source": "https://github.com/doctrine/DoctrineModule/tree/4.1.1" }, - "time": "2019-11-23T21:33:35+00:00" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-module", + "type": "tidelift" + } + ], + "time": "2020-11-17T20:24:49+00:00" }, { "name": "doctrine/event-manager", @@ -719,8 +868,8 @@ }, "autoload": { "psr-4": { - "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector", - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector", + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -783,103 +932,30 @@ ], "time": "2021-04-16T17:34:40+00:00" }, - { - "name": "doctrine/instantiator", - "version": "1.4.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/instantiator.git", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b", - "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^8.0", - "ext-pdo": "*", - "ext-phar": "*", - "phpbench/phpbench": "^0.13 || 1.0.0-alpha2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "https://ocramius.github.io/" - } - ], - "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://www.doctrine-project.org/projects/instantiator.html", - "keywords": [ - "constructor", - "instantiate" - ], - "support": { - "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.0" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", - "type": "tidelift" - } - ], - "time": "2020-11-10T18:47:58+00:00" - }, { "name": "doctrine/lexer", - "version": "1.2.1", + "version": "1.2.3", "source": { "type": "git", "url": "https://github.com/doctrine/lexer.git", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042" + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/e864bbf5904cb8f5bb334f99209b48018522f042", - "reference": "e864bbf5904cb8f5bb334f99209b48018522f042", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.11.8", - "phpunit/phpunit": "^8.2" + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" @@ -914,7 +990,7 @@ ], "support": { "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.1" + "source": "https://github.com/doctrine/lexer/tree/1.2.3" }, "funding": [ { @@ -930,7 +1006,7 @@ "type": "tidelift" } ], - "time": "2020-05-25T17:44:05+00:00" + "time": "2022-02-28T11:07:21+00:00" }, { "name": "doctrine/persistence", @@ -1209,33 +1285,33 @@ }, { "name": "laminas-api-tools/api-tools-api-problem", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-api-problem.git", - "reference": "5d574315b56a5329e646d9f3c85cc1484a02e942" + "reference": "dc94f129a0c9981fc40e750bbbdfaea42699ab48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-api-problem/zipball/5d574315b56a5329e646d9f3c85cc1484a02e942", - "reference": "5d574315b56a5329e646d9f3c85cc1484a02e942", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-api-problem/zipball/dc94f129a0c9981fc40e750bbbdfaea42699ab48", + "reference": "dc94f129a0c9981fc40e750bbbdfaea42699ab48", "shasum": "" }, "require": { "ext-json": "*", "laminas/laminas-eventmanager": "^2.6.3 || ^3.0.1", - "laminas/laminas-http": "^2.5.4", + "laminas/laminas-http": "^2.15.1", "laminas/laminas-json": "^2.6.1 || ^3.0", "laminas/laminas-mvc": "^2.7.15 || ^3.0.4", "laminas/laminas-view": "^2.8.1", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-api-problem": "^1.3.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~2.2.0", + "laminas/laminas-coding-standard": "~2.3.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.3", "psalm/plugin-phpunit": "^0.16.0", @@ -1279,20 +1355,20 @@ "type": "community_bridge" } ], - "time": "2021-06-07T21:49:31+00:00" + "time": "2021-12-09T09:59:10+00:00" }, { "name": "laminas-api-tools/api-tools-content-negotiation", - "version": "1.5.0", + "version": "1.7.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-content-negotiation.git", - "reference": "02c189cbdccdfa1ff8c857410388449f8bfa7310" + "reference": "26434e97fc84e9554d79856b2b2c28740012a82d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-content-negotiation/zipball/02c189cbdccdfa1ff8c857410388449f8bfa7310", - "reference": "02c189cbdccdfa1ff8c857410388449f8bfa7310", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-content-negotiation/zipball/26434e97fc84e9554d79856b2b2c28740012a82d", + "reference": "26434e97fc84e9554d79856b2b2c28740012a82d", "shasum": "" }, "require": { @@ -1307,23 +1383,19 @@ "laminas/laminas-validator": "^2.8.1", "laminas/laminas-view": "^2.8.1", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-content-negotiation": "^1.4.0" }, "require-dev": { "laminas-api-tools/api-tools-hal": "^1.4", - "laminas/laminas-coding-standard": "~2.2.0", - "laminas/laminas-console": "^2.9", + "laminas/laminas-coding-standard": "~2.3.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.3", "psalm/plugin-phpunit": "^0.16.0", "vimeo/psalm": "^4.7" }, - "suggest": { - "laminas/laminas-console": "^2.0, if you intend to use the console request of RequestFactory" - }, "type": "library", "extra": { "laminas": { @@ -1361,20 +1433,20 @@ "type": "community_bridge" } ], - "time": "2021-06-08T21:09:29+00:00" + "time": "2021-12-09T14:11:48+00:00" }, { "name": "laminas-api-tools/api-tools-content-validation", - "version": "1.9.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-content-validation.git", - "reference": "6994b2d01fa676f9996b8c20daa2f9771dd83b10" + "reference": "b0969bd7e5ebd323f1ef1f4609408ff516fe69e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-content-validation/zipball/6994b2d01fa676f9996b8c20daa2f9771dd83b10", - "reference": "6994b2d01fa676f9996b8c20daa2f9771dd83b10", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-content-validation/zipball/b0969bd7e5ebd323f1ef1f4609408ff516fe69e3", + "reference": "b0969bd7e5ebd323f1ef1f4609408ff516fe69e3", "shasum": "" }, "require": { @@ -1389,16 +1461,16 @@ "laminas/laminas-stdlib": "^3.2.1", "laminas/laminas-validator": "^2.8.1", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-content-validation": "^1.8.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~2.2.0", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-db": "^2.8.1", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^9.5.10", "psalm/plugin-phpunit": "^0.16.0", "vimeo/psalm": "^4.7" }, @@ -1439,43 +1511,49 @@ "type": "community_bridge" } ], - "time": "2021-06-08T22:04:34+00:00" + "time": "2022-01-11T14:13:45+00:00" }, { "name": "laminas-api-tools/api-tools-hal", - "version": "1.6.1", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-hal.git", - "reference": "e7c38b9beae81ae557bd83775318c37031f5d20d" + "reference": "3cf56dfac5583951a5561fc1f4fa0050d552991e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-hal/zipball/e7c38b9beae81ae557bd83775318c37031f5d20d", - "reference": "e7c38b9beae81ae557bd83775318c37031f5d20d", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-hal/zipball/3cf56dfac5583951a5561fc1f4fa0050d552991e", + "reference": "3cf56dfac5583951a5561fc1f4fa0050d552991e", "shasum": "" }, "require": { + "ext-json": "*", "laminas-api-tools/api-tools-api-problem": "^1.2.1", - "laminas/laminas-eventmanager": "^2.6.3 || ^3.0.1", + "laminas/laminas-eventmanager": "^3.0.1", "laminas/laminas-filter": "^2.7.1", "laminas/laminas-http": "^2.5.4", - "laminas/laminas-hydrator": "^1.1 || ^2.2.1 || ^3.0", - "laminas/laminas-mvc": "^2.7.15 || ^3.0.2", + "laminas/laminas-hydrator": "^3.2.0 || ^4.0.1", + "laminas/laminas-mvc": "^3.0.2", "laminas/laminas-paginator": "^2.7", - "laminas/laminas-stdlib": "^2.7.7 || ^3.0.1", + "laminas/laminas-stdlib": "^3.0.1", "laminas/laminas-uri": "^2.5.2", - "laminas/laminas-view": "^2.8.1", + "laminas/laminas-view": "^2.11.4", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0", - "psr/link": "^1.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0", + "psr/link": "^1.0 || ^2.0" }, "replace": { "zfcampus/zf-hal": "^1.6.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^5.7.21 || ^6.3" + "laminas/laminas-coding-standard": "~2.3.0", + "laminas/laminas-modulemanager": "^2.10.1", + "phpdocumentor/reflection-docblock": "^5.2.2", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.6" }, "type": "library", "extra": { @@ -1484,9 +1562,6 @@ } }, "autoload": { - "files": [ - "src/_autoload.php" - ], "psr-4": { "Laminas\\ApiTools\\Hal\\": "src/" } @@ -1519,7 +1594,7 @@ "type": "community_bridge" } ], - "time": "2021-03-01T22:49:26+00:00" + "time": "2022-01-24T15:23:59+00:00" }, { "name": "laminas-api-tools/api-tools-mvc-auth", @@ -1687,21 +1762,21 @@ }, { "name": "laminas-api-tools/api-tools-provider", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-provider.git", - "reference": "de1ed819051015b14a99b5b59ebdfab63e171145" + "reference": "a733392a5b7e7ff918941432f072bfb97d1dc22c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-provider/zipball/de1ed819051015b14a99b5b59ebdfab63e171145", - "reference": "de1ed819051015b14a99b5b59ebdfab63e171145", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-provider/zipball/a733392a5b7e7ff918941432f072bfb97d1dc22c", + "reference": "a733392a5b7e7ff918941432f072bfb97d1dc22c", "shasum": "" }, "require": { "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-apigility-provider": "^1.3.0" @@ -1742,7 +1817,7 @@ "type": "community_bridge" } ], - "time": "2021-06-02T20:17:57+00:00" + "time": "2021-12-09T09:57:26+00:00" }, { "name": "laminas-api-tools/api-tools-rest", @@ -1827,16 +1902,16 @@ }, { "name": "laminas-api-tools/api-tools-rpc", - "version": "1.5.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-rpc.git", - "reference": "0833797585c31007f281bd664bcf41246ad7230d" + "reference": "c9b754fe23baea093265aa10d8411fa7dfa55bc5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-rpc/zipball/0833797585c31007f281bd664bcf41246ad7230d", - "reference": "0833797585c31007f281bd664bcf41246ad7230d", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-rpc/zipball/c9b754fe23baea093265aa10d8411fa7dfa55bc5", + "reference": "c9b754fe23baea093265aa10d8411fa7dfa55bc5", "shasum": "" }, "require": { @@ -1848,11 +1923,10 @@ "laminas/laminas-servicemanager": "^3.6", "laminas/laminas-stdlib": "^3.3", "laminas/laminas-view": "^2.12", - "laminas/laminas-zendframework-bridge": "^1.2", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zfcampus/zf-rpc": "^1.4.2" + "conflict": { + "zfcampus/zf-rpc": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~2.3.0", @@ -1897,20 +1971,20 @@ "type": "community_bridge" } ], - "time": "2021-06-02T19:52:14+00:00" + "time": "2021-09-14T03:54:39+00:00" }, { "name": "laminas-api-tools/api-tools-versioning", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-versioning.git", - "reference": "071c0243980a2b200595e4f86f30a9c0b059304f" + "reference": "efe25d6f1a15dc6631aec62fa89b4475b9cfb094" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-versioning/zipball/071c0243980a2b200595e4f86f30a9c0b059304f", - "reference": "071c0243980a2b200595e4f86f30a9c0b059304f", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-versioning/zipball/efe25d6f1a15dc6631aec62fa89b4475b9cfb094", + "reference": "efe25d6f1a15dc6631aec62fa89b4475b9cfb094", "shasum": "" }, "require": { @@ -1921,7 +1995,7 @@ "laminas/laminas-servicemanager": "^2.7.6 || ^3.1", "laminas/laminas-stdlib": "^2.7.7 || ^3.0.1", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-versioning": "^1.3.0" @@ -1930,8 +2004,8 @@ "laminas/laminas-coding-standard": "~2.3.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.5", - "psalm/plugin-phpunit": "^0.12.2", - "vimeo/psalm": "^3.16" + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.13.1" }, "type": "library", "extra": { @@ -1970,41 +2044,41 @@ "type": "community_bridge" } ], - "time": "2021-06-02T14:49:26+00:00" + "time": "2021-12-08T04:08:06+00:00" }, { "name": "laminas/laminas-authentication", - "version": "2.8.0", + "version": "2.10.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-authentication.git", - "reference": "0b77d353a3a039d65c15318c98dd055d62f010b6" + "reference": "7308db03e11147fbf567b5004ac428bdaba267f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-authentication/zipball/0b77d353a3a039d65c15318c98dd055d62f010b6", - "reference": "0b77d353a3a039d65c15318c98dd055d62f010b6", + "url": "https://api.github.com/repos/laminas/laminas-authentication/zipball/7308db03e11147fbf567b5004ac428bdaba267f9", + "reference": "7308db03e11147fbf567b5004ac428bdaba267f9", "shasum": "" }, "require": { "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-authentication": "^2.7.0" + "conflict": { + "zendframework/zend-authentication": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", "laminas/laminas-crypt": "^2.6 || ^3.2.1", - "laminas/laminas-db": "^2.8.2", - "laminas/laminas-http": "^2.7", - "laminas/laminas-ldap": "^2.8", - "laminas/laminas-session": "^2.8", + "laminas/laminas-db": "^2.13", + "laminas/laminas-http": "^2.15.0", + "laminas/laminas-ldap": "^2.12", + "laminas/laminas-session": "^2.12", "laminas/laminas-uri": "^2.5.2", "laminas/laminas-validator": "^2.10.1", "phpunit/phpunit": "^9.3", "psalm/plugin-phpunit": "^0.15.1", + "squizlabs/php_codesniffer": "^2.9.2 || ^3.6", "vimeo/psalm": "^4.6" }, "suggest": { @@ -2046,42 +2120,1077 @@ "type": "community_bridge" } ], - "time": "2021-03-17T13:48:31+00:00" + "time": "2022-03-09T23:07:57+00:00" }, { - "name": "laminas/laminas-config", - "version": "3.5.0", + "name": "laminas/laminas-cache", + "version": "2.13.2", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-config.git", - "reference": "f91cd6fe79e82cbbcaa36485108a04e8ef1e679b" + "url": "https://github.com/laminas/laminas-cache.git", + "reference": "fc3255833c1c687ed2c5312e9663ef062be155c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-config/zipball/f91cd6fe79e82cbbcaa36485108a04e8ef1e679b", - "reference": "f91cd6fe79e82cbbcaa36485108a04e8ef1e679b", + "url": "https://api.github.com/repos/laminas/laminas-cache/zipball/fc3255833c1c687ed2c5312e9663ef062be155c9", + "reference": "fc3255833c1c687ed2c5312e9663ef062be155c9", "shasum": "" }, "require": { - "ext-json": "*", - "laminas/laminas-stdlib": "^2.7.7 || ^3.1", + "laminas/laminas-cache-storage-adapter-apc": "^1.0", + "laminas/laminas-cache-storage-adapter-apcu": "^1.0", + "laminas/laminas-cache-storage-adapter-blackhole": "^1.0", + "laminas/laminas-cache-storage-adapter-dba": "^1.0", + "laminas/laminas-cache-storage-adapter-ext-mongodb": "^1.0", + "laminas/laminas-cache-storage-adapter-filesystem": "^1.0", + "laminas/laminas-cache-storage-adapter-memcache": "^1.0", + "laminas/laminas-cache-storage-adapter-memcached": "^1.0", + "laminas/laminas-cache-storage-adapter-memory": "^1.0", + "laminas/laminas-cache-storage-adapter-mongodb": "^1.0", + "laminas/laminas-cache-storage-adapter-redis": "^1.0", + "laminas/laminas-cache-storage-adapter-session": "^1.0", + "laminas/laminas-cache-storage-adapter-wincache": "^1.0", + "laminas/laminas-cache-storage-adapter-xcache": "^1.0", + "laminas/laminas-cache-storage-adapter-zend-server": "^1.0", + "laminas/laminas-eventmanager": "^3.3", + "laminas/laminas-servicemanager": "^3.6", + "laminas/laminas-stdlib": "^3.3", "laminas/laminas-zendframework-bridge": "^1.0", "php": "^7.3 || ~8.0.0", - "psr/container": "^1.0" + "psr/cache": "^1.0", + "psr/simple-cache": "^1.0" }, "conflict": { - "container-interop/container-interop": "<1.2.0" - }, - "replace": { - "zendframework/zend-config": "^3.3.0" + "symfony/console": "<5.1" }, - "require-dev": { + "provide": { + "psr/cache-implementation": "1.0", + "psr/simple-cache-implementation": "1.0" + }, + "replace": { + "zendframework/zend-cache": "^2.9.0" + }, + "require-dev": { + "laminas/laminas-cli": "^1.0", + "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-config-aggregator": "^1.5", + "laminas/laminas-feed": "^2.14", + "laminas/laminas-serializer": "^2.6", + "phpbench/phpbench": "^1.0.0-beta2", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5" + }, + "suggest": { + "laminas/laminas-cli": "The laminas-cli binary can be used to consume commands provided by this component", + "laminas/laminas-serializer": "Laminas\\Serializer component" + }, + "type": "library", + "extra": { + "laminas": { + "component": "Laminas\\Cache", + "config-provider": "Laminas\\Cache\\ConfigProvider" + } + }, + "autoload": { + "files": [ + "autoload/patternPluginManagerPolyfill.php" + ], + "psr-4": { + "Laminas\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output", + "homepage": "https://laminas.dev", + "keywords": [ + "cache", + "laminas", + "psr-16", + "psr-6" + ], + "support": { + "chat": "https://laminas.dev/chat", + "docs": "https://docs.laminas.dev/laminas-cache/", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-cache/issues", + "rss": "https://github.com/laminas/laminas-cache/releases.atom", + "source": "https://github.com/laminas/laminas-cache" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-11-07T13:11:51+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-apc", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-apc.git", + "reference": "8b375d994f6e67534f6ae6e995249e706faa30c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-apc/zipball/8b375d994f6e67534f6ae6e995249e706faa30c1", + "reference": "8b375d994f6e67534f6ae6e995249e706faa30c1", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2" + }, + "suggest": { + "ext-apc": "APC or compatible extension, to use the APC storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-apc/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-apc/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-apc/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-apc" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2020-10-12T16:04:12+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-apcu", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-apcu.git", + "reference": "e182aab739d6b03992a9915cc3c7019391a94548" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-apcu/zipball/e182aab739d6b03992a9915cc3c7019391a94548", + "reference": "e182aab739d6b03992a9915cc3c7019391a94548", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "ext-apcu": "*", + "laminas/laminas-cache": "^2.10.1", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7" + }, + "suggest": { + "ext-apcu": "APCU >= 5.1.0, to use the APCu storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for apcu", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-apcu/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-apcu/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-apcu/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-apcu" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-05-03T20:41:53+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-blackhole", + "version": "1.2.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole.git", + "reference": "4af1053efd81785a292c2a9442871c075700345a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-blackhole/zipball/4af1053efd81785a292c2a9442871c075700345a", + "reference": "4af1053efd81785a292c2a9442871c075700345a", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10.1", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "^2.1.4", + "squizlabs/php_codesniffer": "^3.5.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for blackhole", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-blackhole/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-04-29T21:06:24+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-dba", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-dba.git", + "reference": "ad968d3d8a0350af8e6717be58bb96e5a9e77f3b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-dba/zipball/ad968d3d8a0350af8e6717be58bb96e5a9e77f3b", + "reference": "ad968d3d8a0350af8e6717be58bb96e5a9e77f3b", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7" + }, + "suggest": { + "ext-dba": "DBA, to use the DBA storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for dba", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-dba/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-dba/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-dba/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-dba" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2020-10-12T16:08:58+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-ext-mongodb", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb.git", + "reference": "72f68589cc8323fa688167a4720b795dd0907f4e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-ext-mongodb/zipball/72f68589cc8323fa688167a4720b795dd0907f4e", + "reference": "72f68589cc8323fa688167a4720b795dd0907f4e", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10", + "mongodb/mongodb": "<1.8" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10.3", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "~2.2.0", + "laminas/laminas-serializer": "^2.10.1", + "mongodb/mongodb": "^1.8.0", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.9" + }, + "suggest": { + "mongodb/mongodb": "MongoDB, to use the ExtMongoDb storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for ext-mongodb", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-ext-mongodb/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-08-10T18:17:48+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-filesystem", + "version": "1.1.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem.git", + "reference": "76fc488c3fa0ad442e4e70f807305c940d1bdcbc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-filesystem/zipball/76fc488c3fa0ad442e4e70f807305c940d1bdcbc", + "reference": "76fc488c3fa0ad442e4e70f807305c940d1bdcbc", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-serializer": "^2.10", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^2.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for filesystem", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-filesystem/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-04-25T00:27:54+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-memcache", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-memcache.git", + "reference": "1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memcache/zipball/1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088", + "reference": "1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10.1", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "^2.1.4", + "laminas/laminas-serializer": "^2.10.1", + "squizlabs/php_codesniffer": "^3.6.0" + }, + "suggest": { + "ext-memcache": "Memcache >= 2.0.0 to use the Memcache storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for memcache", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memcache/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memcache/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memcache/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-memcache" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2021-04-29T19:57:43+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-memcached", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-memcached.git", + "reference": "d05f33e43a352b85c6d0208e9cfbf2a59f02ede3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memcached/zipball/d05f33e43a352b85c6d0208e9cfbf2a59f02ede3", + "reference": "d05f33e43a352b85c6d0208e9cfbf2a59f02ede3", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0.2", + "laminas/laminas-coding-standard": "~2.2.0", + "phpunit/phpunit": "^9.5.8" + }, + "suggest": { + "ext-memcached": "Memcached >= 1.0.0 to use the Memcached storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for memcached", + "keywords": [ + "cache", + "laminas", + "memcached" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memcached/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memcached/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memcached/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-memcached" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-08-08T14:51:12+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-memory", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-memory.git", + "reference": "02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memory/zipball/02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd", + "reference": "02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10.1", + "laminas/laminas-cache-storage-adapter-test": "^1.1.1", + "laminas/laminas-coding-standard": "^2.1.4", + "squizlabs/php_codesniffer": "^3.5.8" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for memory", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memory/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memory/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memory/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-memory" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-04-28T17:27:13+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-mongodb", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb.git", + "reference": "ef4aa396b55533b8eb3e1d4126c39a78a22e49a6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-mongodb/zipball/ef4aa396b55533b8eb3e1d4126c39a78a22e49a6", + "reference": "ef4aa396b55533b8eb3e1d4126c39a78a22e49a6", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for mongodb", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-mongodb/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2020-10-12T16:19:10+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-redis", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-redis.git", + "reference": "de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-redis/zipball/de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee", + "reference": "de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10", + "phpunit/phpunit": "<6.1.0" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "composer-runtime-api": "^2", + "ext-posix": "*", + "ext-redis": "*", + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.1", + "laminas/laminas-coding-standard": "^2.1", + "laminas/laminas-serializer": "^2.10", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for redis", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-redis/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-redis/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-redis/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-redis" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-06-03T16:14:07+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-session", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-session.git", + "reference": "74a275056cfca2300eb9a67cd1d917f7066b4113" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-session/zipball/74a275056cfca2300eb9a67cd1d917f7066b4113", + "reference": "74a275056cfca2300eb9a67cd1d917f7066b4113", + "shasum": "" + }, + "require": { + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.1", + "laminas/laminas-coding-standard": "^2.1", + "laminas/laminas-session": "^2.7.4" + }, + "suggest": { + "laminas/laminas-session": "Laminas\\Session component" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for session", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-session/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-session/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-session/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-session" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-05-02T13:52:36+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-wincache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-wincache.git", + "reference": "0f54599c5d9aff11b01adadd2742097f923170ba" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-wincache/zipball/0f54599c5d9aff11b01adadd2742097f923170ba", + "reference": "0f54599c5d9aff11b01adadd2742097f923170ba", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7" + }, + "suggest": { + "ext-wincache": "WinCache, to use the WinCache storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for wincache", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-wincache/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-wincache/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-wincache/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-wincache" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2020-10-12T16:22:49+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-xcache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-xcache.git", + "reference": "24049557aa796ec7527bcc8032ed68346232b219" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-xcache/zipball/24049557aa796ec7527bcc8032ed68346232b219", + "reference": "24049557aa796ec7527bcc8032ed68346232b219", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-serializer": "^2.9", + "squizlabs/php_codesniffer": "^2.7" + }, + "suggest": { + "ext-xcache": "XCache, to use the XCache storage adapter" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for xcache", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-xcache/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-xcache/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-xcache/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-xcache" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "abandoned": true, + "time": "2020-10-12T16:23:46+00:00" + }, + { + "name": "laminas/laminas-cache-storage-adapter-zend-server", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server.git", + "reference": "8d0b0d219a048a92472d89a5e527990f3ea2decc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-zend-server/zipball/8d0b0d219a048a92472d89a5e527990f3ea2decc", + "reference": "8d0b0d219a048a92472d89a5e527990f3ea2decc", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "conflict": { + "laminas/laminas-cache": "<2.10" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0" + }, + "require-dev": { + "laminas/laminas-cache": "^2.10", + "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", + "laminas/laminas-coding-standard": "~1.0.0", + "squizlabs/php_codesniffer": "^2.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "Laminas\\Cache\\Storage\\Adapter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Laminas cache adapter for zend-server", + "keywords": [ + "cache", + "laminas" + ], + "support": { + "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-zend-server/", + "forum": "https://discourse.laminas.dev/", + "issues": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server/issues", + "rss": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server/releases.atom", + "source": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-10-12T16:24:25+00:00" + }, + { + "name": "laminas/laminas-config", + "version": "3.7.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-config.git", + "reference": "e43d13dcfc273d4392812eb395ce636f73f34dfd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-config/zipball/e43d13dcfc273d4392812eb395ce636f73f34dfd", + "reference": "e43d13dcfc273d4392812eb395ce636f73f34dfd", + "shasum": "" + }, + "require": { + "ext-json": "*", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0", + "psr/container": "^1.0" + }, + "conflict": { + "container-interop/container-interop": "<1.2.0", + "zendframework/zend-config": "*" + }, + "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", "laminas/laminas-filter": "^2.7.2", "laminas/laminas-i18n": "^2.10.3", - "laminas/laminas-servicemanager": "^3.4.1", - "malukenho/docheader": "^0.1.6", - "phpunit/phpunit": "^8.5.8" + "laminas/laminas-servicemanager": "^3.7", + "phpunit/phpunit": "^9.5.5" }, "suggest": { "laminas/laminas-filter": "^2.7.2; install if you want to use the Filter processor", @@ -2118,32 +3227,31 @@ "type": "community_bridge" } ], - "time": "2021-02-11T15:06:51+00:00" + "time": "2021-10-01T16:07:46+00:00" }, { "name": "laminas/laminas-crypt", - "version": "3.4.0", + "version": "3.6.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-crypt.git", - "reference": "a058eeb2fe57824b958ac56753faff790a649e18" + "reference": "ad2c29c289a4bc837b37a7650f5178edda0fc548" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/a058eeb2fe57824b958ac56753faff790a649e18", - "reference": "a058eeb2fe57824b958ac56753faff790a649e18", + "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/ad2c29c289a4bc837b37a7650f5178edda0fc548", + "reference": "ad2c29c289a4bc837b37a7650f5178edda0fc548", "shasum": "" }, "require": { "container-interop/container-interop": "^1.2", "ext-mbstring": "*", - "laminas/laminas-math": "^3.0", - "laminas/laminas-stdlib": "^2.7.7 || ^3.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-math": "^3.4", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-crypt": "^3.3.1" + "conflict": { + "zendframework/zend-crypt": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", @@ -2182,41 +3290,39 @@ "type": "community_bridge" } ], - "time": "2021-02-11T19:40:03+00:00" + "time": "2021-12-06T01:25:27+00:00" }, { "name": "laminas/laminas-db", - "version": "2.12.0", + "version": "2.13.4", "source": { "type": "git", "url": "https://github.com/laminas/laminas-db.git", - "reference": "80cbba4e749f9eb7d8036172acb9ad41e8b6923f" + "reference": "cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-db/zipball/80cbba4e749f9eb7d8036172acb9ad41e8b6923f", - "reference": "80cbba4e749f9eb7d8036172acb9ad41e8b6923f", + "url": "https://api.github.com/repos/laminas/laminas-db/zipball/cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1", + "reference": "cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1", "shasum": "" }, "require": { - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-db": "^2.11.0" + "conflict": { + "zendframework/zend-db": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-eventmanager": "^3.3", - "laminas/laminas-hydrator": "^3.2 || ^4.0", - "laminas/laminas-servicemanager": "^3.3", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3" + "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-hydrator": "^3.2 || ^4.3", + "laminas/laminas-servicemanager": "^3.7", + "phpunit/phpunit": "^9.5.5" }, "suggest": { "laminas/laminas-eventmanager": "Laminas\\EventManager component", - "laminas/laminas-hydrator": "(^3.2 || ^4.0) Laminas\\Hydrator component for using HydratingResultSets", + "laminas/laminas-hydrator": "(^3.2 || ^4.3) Laminas\\Hydrator component for using HydratingResultSets", "laminas/laminas-servicemanager": "Laminas\\ServiceManager component" }, "type": "library", @@ -2255,38 +3361,37 @@ "type": "community_bridge" } ], - "time": "2021-02-22T22:27:56+00:00" + "time": "2021-09-21T18:59:44+00:00" }, { "name": "laminas/laminas-escaper", - "version": "2.7.0", + "version": "2.10.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-escaper.git", - "reference": "5e04bc5ae5990b17159d79d331055e2c645e5cc5" + "reference": "58af67282db37d24e584a837a94ee55b9c7552be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/5e04bc5ae5990b17159d79d331055e2c645e5cc5", - "reference": "5e04bc5ae5990b17159d79d331055e2c645e5cc5", + "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/58af67282db37d24e584a837a94ee55b9c7552be", + "reference": "58af67282db37d24e584a837a94ee55b9c7552be", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "ext-ctype": "*", + "ext-mbstring": "*", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-escaper": "^2.6.1" + "conflict": { + "zendframework/zend-escaper": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.12.2", - "vimeo/psalm": "^3.16" - }, - "suggest": { - "ext-iconv": "*", - "ext-mbstring": "*" + "infection/infection": "^0.26.6", + "laminas/laminas-coding-standard": "~2.3.0", + "maglnet/composer-require-checker": "^3.8.0", + "phpunit/phpunit": "^9.5.18", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.22.0" }, "type": "library", "autoload": { @@ -2318,35 +3423,35 @@ "type": "community_bridge" } ], - "time": "2020-11-17T21:26:43+00:00" + "time": "2022-03-08T20:15:36+00:00" }, { "name": "laminas/laminas-eventmanager", - "version": "3.3.1", + "version": "3.4.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-eventmanager.git", - "reference": "966c859b67867b179fde1eff0cd38df51472ce4a" + "reference": "a93fd278c97b2d41ebbce5ba048a24e3e6f580ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/966c859b67867b179fde1eff0cd38df51472ce4a", - "reference": "966c859b67867b179fde1eff0cd38df51472ce4a", + "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/a93fd278c97b2d41ebbce5ba048a24e3e6f580ba", + "reference": "a93fd278c97b2d41ebbce5ba048a24e3e6f580ba", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ^8.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-eventmanager": "^3.2.1" + "conflict": { + "zendframework/zend-eventmanager": "*" }, "require-dev": { "container-interop/container-interop": "^1.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-stdlib": "^2.7.3 || ^3.0", - "phpbench/phpbench": "^0.17.1", - "phpunit/phpunit": "^8.5.8" + "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-stdlib": "^3.6", + "phpbench/phpbench": "^1.1", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.5.5" }, "suggest": { "container-interop/container-interop": "^1.1, to use the lazy listeners feature", @@ -2384,44 +3489,41 @@ "type": "community_bridge" } ], - "time": "2021-03-08T15:24:29+00:00" + "time": "2021-09-07T22:35:32+00:00" }, { "name": "laminas/laminas-filter", - "version": "2.11.1", + "version": "2.14.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-filter.git", - "reference": "671724e163aa75c210e94d12b77a0f3f8240d4b2" + "reference": "98a126b8cd069a446054680c9be5f37a61f6dc17" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-filter/zipball/671724e163aa75c210e94d12b77a0f3f8240d4b2", - "reference": "671724e163aa75c210e94d12b77a0f3f8240d4b2", + "url": "https://api.github.com/repos/laminas/laminas-filter/zipball/98a126b8cd069a446054680c9be5f37a61f6dc17", + "reference": "98a126b8cd069a446054680c9be5f37a61f6dc17", "shasum": "" }, "require": { - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-stdlib": "^3.6.1", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { - "laminas/laminas-validator": "<2.10.1" - }, - "replace": { - "zendframework/zend-filter": "^2.9.2" + "laminas/laminas-validator": "<2.10.1", + "zendframework/zend-filter": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-crypt": "^3.2.1", - "laminas/laminas-servicemanager": "^3.3", - "laminas/laminas-uri": "^2.6", - "pear/archive_tar": "^1.4.3", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.15.1", - "psr/http-factory": "^1.0", - "vimeo/psalm": "^4.6" + "laminas/laminas-coding-standard": "^2.3.0", + "laminas/laminas-crypt": "^3.5.1", + "laminas/laminas-servicemanager": "^3.7.0", + "laminas/laminas-uri": "^2.9.1", + "pear/archive_tar": "^1.4.14", + "phpspec/prophecy-phpunit": "^2.0.1", + "phpunit/phpunit": "^9.5.10", + "psalm/plugin-phpunit": "^0.15.2", + "psr/http-factory": "^1.0.1", + "vimeo/psalm": "^4.13.1" }, "suggest": { "laminas/laminas-crypt": "Laminas\\Crypt component, for encryption filters", @@ -2466,58 +3568,64 @@ "type": "community_bridge" } ], - "time": "2021-05-24T18:29:02+00:00" + "time": "2022-02-22T23:09:15+00:00" }, { "name": "laminas/laminas-form", - "version": "2.15.1", + "version": "2.17.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-form.git", - "reference": "37c5f5ac9240159f5d93f52367d0e57fa96f9b22" + "reference": "af231c26209fa0684af9e934e8ee5c085eb14cd0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-form/zipball/37c5f5ac9240159f5d93f52367d0e57fa96f9b22", - "reference": "37c5f5ac9240159f5d93f52367d0e57fa96f9b22", + "url": "https://api.github.com/repos/laminas/laminas-form/zipball/af231c26209fa0684af9e934e8ee5c085eb14cd0", + "reference": "af231c26209fa0684af9e934e8ee5c085eb14cd0", "shasum": "" }, "require": { - "laminas/laminas-hydrator": "^1.1 || ^2.1 || ^3.0", - "laminas/laminas-inputfilter": "^2.8", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0" + "laminas/laminas-hydrator": "^3.2 || ^4.0", + "laminas/laminas-inputfilter": "^2.10", + "laminas/laminas-stdlib": "^3.3", + "laminas/laminas-zendframework-bridge": "^1.1", + "php": "^7.3 || ~8.0.0" + }, + "conflict": { + "laminas/laminas-code": "<3.5.0 || >=4.0.0" }, "replace": { "zendframework/zend-form": "^2.14.3" }, "require-dev": { - "doctrine/annotations": "~1.0", - "laminas/laminas-cache": "^2.6.1", - "laminas/laminas-captcha": "^2.7.1", - "laminas/laminas-code": "^2.6 || ^3.0", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-escaper": "^2.5", - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-filter": "^2.6", - "laminas/laminas-i18n": "^2.6", - "laminas/laminas-recaptcha": "^3.0.0", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-session": "^2.8.1", - "laminas/laminas-text": "^2.6", - "laminas/laminas-validator": "^2.6", - "laminas/laminas-view": "^2.6.2", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20" + "doctrine/annotations": "^1.10.4", + "laminas/laminas-cache": "^2.9.0", + "laminas/laminas-captcha": "^2.9.0", + "laminas/laminas-code": "^3.5.0", + "laminas/laminas-coding-standard": "^1.0.0", + "laminas/laminas-escaper": "^2.6.1", + "laminas/laminas-eventmanager": "^3.3.0", + "laminas/laminas-filter": "^2.9.4", + "laminas/laminas-i18n": "^2.10.3", + "laminas/laminas-recaptcha": "^3.2.0", + "laminas/laminas-servicemanager": "^3.4.1", + "laminas/laminas-session": "^2.9.3", + "laminas/laminas-text": "^2.7.1", + "laminas/laminas-validator": "^2.13.4", + "laminas/laminas-view": "^2.11.4", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.4.2", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.7" }, "suggest": { - "laminas/laminas-captcha": "^2.7.1, required for using CAPTCHA form elements", - "laminas/laminas-code": "^2.6 || ^3.0, required to use laminas-form annotations support", - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0, reuired for laminas-form annotations support", - "laminas/laminas-i18n": "^2.6, required when using laminas-form view helpers", - "laminas/laminas-recaptcha": "in order to use the ReCaptcha form element", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3, required to use the form factories or provide services", - "laminas/laminas-view": "^2.6.2, required for using the laminas-form view helpers" + "laminas/laminas-captcha": "^2.9, required for using CAPTCHA form elements", + "laminas/laminas-code": "^3.5, required to use laminas-form annotations support", + "laminas/laminas-eventmanager": "^3.3, reuired for laminas-form annotations support", + "laminas/laminas-i18n": "^2.10, required when using laminas-form view helpers", + "laminas/laminas-recaptcha": "^3.2, in order to use the ReCaptcha form element", + "laminas/laminas-servicemanager": "^3.4.1, required to use the form factories or provide services", + "laminas/laminas-view": "^2.11.4, required for using the laminas-form view helpers" }, "type": "library", "extra": { @@ -2529,10 +3637,7 @@ "autoload": { "psr-4": { "Laminas\\Form\\": "src/" - }, - "files": [ - "autoload/formElementManagerPolyfill.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -2558,37 +3663,36 @@ "type": "community_bridge" } ], - "time": "2021-03-17T13:07:46+00:00" + "time": "2022-02-01T07:18:59+00:00" }, { "name": "laminas/laminas-http", - "version": "2.14.3", + "version": "2.15.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-http.git", - "reference": "bfaab8093e382274efed7fdc3ceb15f09ba352bb" + "reference": "261f079c3dffcf6f123484db43c40e44c4bf1c79" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-http/zipball/bfaab8093e382274efed7fdc3ceb15f09ba352bb", - "reference": "bfaab8093e382274efed7fdc3ceb15f09ba352bb", + "url": "https://api.github.com/repos/laminas/laminas-http/zipball/261f079c3dffcf6f123484db43c40e44c4bf1c79", + "reference": "261f079c3dffcf6f123484db43c40e44c4bf1c79", "shasum": "" }, "require": { - "laminas/laminas-loader": "^2.5.1", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-uri": "^2.5.2", - "laminas/laminas-validator": "^2.10.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-loader": "^2.8", + "laminas/laminas-stdlib": "^3.6", + "laminas/laminas-uri": "^2.9.1", + "laminas/laminas-validator": "^2.15", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-http": "^2.11.2" + "conflict": { + "zendframework/zend-http": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^3.1 || ^2.6", - "phpunit/phpunit": "^9.3" + "ext-curl": "*", + "laminas/laminas-coding-standard": "~2.2.1", + "phpunit/phpunit": "^9.5.5" }, "suggest": { "paragonie/certainty": "For automated management of cacert.pem" @@ -2624,50 +3728,46 @@ "type": "community_bridge" } ], - "time": "2021-02-18T21:58:11+00:00" + "time": "2021-12-03T10:17:11+00:00" }, { "name": "laminas/laminas-hydrator", - "version": "2.4.2", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-hydrator.git", - "reference": "4a0e81cf05f32edcace817f1f48cb4055f689d85" + "reference": "41aaccb9a0b8e25b1742f78427aa90504a6eb1cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-hydrator/zipball/4a0e81cf05f32edcace817f1f48cb4055f689d85", - "reference": "4a0e81cf05f32edcace817f1f48cb4055f689d85", + "url": "https://api.github.com/repos/laminas/laminas-hydrator/zipball/41aaccb9a0b8e25b1742f78427aa90504a6eb1cd", + "reference": "41aaccb9a0b8e25b1742f78427aa90504a6eb1cd", "shasum": "" }, "require": { - "laminas/laminas-stdlib": "^3.0", + "laminas/laminas-stdlib": "^3.3", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0" + "php": "^7.3 || ~8.0.0" }, "replace": { - "zendframework/zend-hydrator": "self.version" + "zendframework/zend-hydrator": "^3.0.2" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-filter": "^2.6", - "laminas/laminas-inputfilter": "^2.6", - "laminas/laminas-serializer": "^2.6.1", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2" + "laminas/laminas-eventmanager": "^3.2.1", + "laminas/laminas-modulemanager": "^2.8", + "laminas/laminas-serializer": "^2.9", + "laminas/laminas-servicemanager": "^3.3.2", + "phpunit/phpunit": "~9.3.0", + "vimeo/psalm": "^3.16" }, "suggest": { - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0, to support aggregate hydrator usage", - "laminas/laminas-filter": "^2.6, to support naming strategy hydrator usage", - "laminas/laminas-serializer": "^2.6.1, to use the SerializableStrategy", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3, to support hydrator plugin manager usage" + "laminas/laminas-eventmanager": "^3.2, to support aggregate hydrator usage", + "laminas/laminas-serializer": "^2.9, to use the SerializableStrategy", + "laminas/laminas-servicemanager": "^3.3, to support hydrator plugin manager usage" }, "type": "library", "extra": { - "branch-alias": { - "dev-release-2.4": "2.4.x-dev" - }, "laminas": { "component": "Laminas\\Hydrator", "config-provider": "Laminas\\Hydrator\\ConfigProvider" @@ -2696,52 +3796,60 @@ "rss": "https://github.com/laminas/laminas-hydrator/releases.atom", "source": "https://github.com/laminas/laminas-hydrator" }, - "time": "2019-12-31T17:06:38+00:00" + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-06-28T15:12:05+00:00" }, { "name": "laminas/laminas-i18n", - "version": "2.11.1", + "version": "2.14.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-i18n.git", - "reference": "5e85a8facc5534e856cc7f5b4326533eede84b8a" + "reference": "1fa15c41b683bedb2a846af54491868ddc73db38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/5e85a8facc5534e856cc7f5b4326533eede84b8a", - "reference": "5e85a8facc5534e856cc7f5b4326533eede84b8a", + "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/1fa15c41b683bedb2a846af54491868ddc73db38", + "reference": "1fa15c41b683bedb2a846af54491868ddc73db38", "shasum": "" }, "require": { "ext-intl": "*", "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { - "phpspec/prophecy": "<1.9.0" - }, - "replace": { - "zendframework/zend-i18n": "^2.10.1" + "phpspec/prophecy": "<1.9.0", + "zendframework/zend-i18n": "*" }, "require-dev": { - "laminas/laminas-cache": "^2.6.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^2.6", - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-filter": "^2.6.1", - "laminas/laminas-servicemanager": "^3.2.1", - "laminas/laminas-validator": "^2.6", - "laminas/laminas-view": "^2.6.3", - "phpunit/phpunit": "^9.3" + "laminas/laminas-cache": "^3.1.2", + "laminas/laminas-cache-storage-adapter-memory": "^2.0.0", + "laminas/laminas-cache-storage-deprecated-factory": "^1.0.0", + "laminas/laminas-coding-standard": "~2.3.0", + "laminas/laminas-config": "^3.4.0", + "laminas/laminas-eventmanager": "^3.4.0", + "laminas/laminas-filter": "^2.10.0", + "laminas/laminas-servicemanager": "^3.7.0", + "laminas/laminas-validator": "^2.14.0", + "laminas/laminas-view": "^2.12.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.21" }, "suggest": { - "laminas/laminas-cache": "Laminas\\Cache component", - "laminas/laminas-config": "Laminas\\Config component", + "laminas/laminas-cache": "You should install this package to cache the translations", + "laminas/laminas-config": "You should install this package to use the INI translation format", "laminas/laminas-eventmanager": "You should install this package to use the events in the translator", "laminas/laminas-filter": "You should install this package to use the provided filters", - "laminas/laminas-i18n-resources": "Translation resources", - "laminas/laminas-servicemanager": "Laminas\\ServiceManager component", + "laminas/laminas-i18n-resources": "This package provides validator and captcha translations", + "laminas/laminas-servicemanager": "You should install this package to use the translator", "laminas/laminas-validator": "You should install this package to use the provided validators", "laminas/laminas-view": "You should install this package to use the provided view helpers" }, @@ -2781,38 +3889,38 @@ "type": "community_bridge" } ], - "time": "2021-04-07T21:10:50+00:00" + "time": "2022-02-21T20:41:26+00:00" }, { "name": "laminas/laminas-inputfilter", - "version": "2.12.0", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-inputfilter.git", - "reference": "b6ab28b425e626b12488fec243e02d36d8dffeff" + "reference": "6124b3678051b792d1444be689cf9370531593a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-inputfilter/zipball/b6ab28b425e626b12488fec243e02d36d8dffeff", - "reference": "b6ab28b425e626b12488fec243e02d36d8dffeff", + "url": "https://api.github.com/repos/laminas/laminas-inputfilter/zipball/6124b3678051b792d1444be689cf9370531593a6", + "reference": "6124b3678051b792d1444be689cf9370531593a6", "shasum": "" }, "require": { - "laminas/laminas-filter": "^2.9.1", + "laminas/laminas-filter": "^2.13", "laminas/laminas-servicemanager": "^3.3.1", "laminas/laminas-stdlib": "^3.0", - "laminas/laminas-validator": "^2.11", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-validator": "^2.15", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-inputfilter": "^2.10.1" + "conflict": { + "zendframework/zend-inputfilter": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-db": "^2.12", + "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-db": "^2.13.4", + "phpspec/prophecy": "^1.14", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.4.2", + "phpunit/phpunit": "^9.5.5", "psalm/plugin-phpunit": "^0.15.1", "psr/http-message": "^1.0", "vimeo/psalm": "^4.6" @@ -2856,31 +3964,30 @@ "type": "community_bridge" } ], - "time": "2021-03-16T14:17:17+00:00" + "time": "2021-12-02T14:46:43+00:00" }, { "name": "laminas/laminas-json", - "version": "3.2.0", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-json.git", - "reference": "1e3b64d3b21dac0511e628ae8debc81002d14e3c" + "reference": "9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-json/zipball/1e3b64d3b21dac0511e628ae8debc81002d14e3c", - "reference": "1e3b64d3b21dac0511e628ae8debc81002d14e3c", + "url": "https://api.github.com/repos/laminas/laminas-json/zipball/9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f", + "reference": "9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-json": "^3.1.2" + "conflict": { + "zendframework/zend-json": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-stdlib": "^2.7.7 || ^3.1", "phpunit/phpunit": "^9.3" }, @@ -2918,31 +4025,30 @@ "type": "community_bridge" } ], - "time": "2021-02-12T15:38:10+00:00" + "time": "2021-09-02T18:02:31+00:00" }, { "name": "laminas/laminas-loader", - "version": "2.7.0", + "version": "2.8.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-loader.git", - "reference": "bcf8a566cb9925a2e7cc41a16db09235ec9fb616" + "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/bcf8a566cb9925a2e7cc41a16db09235ec9fb616", - "reference": "bcf8a566cb9925a2e7cc41a16db09235ec9fb616", + "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/d0589ec9dd48365fd95ad10d1c906efd7711c16b", + "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-loader": "^2.6.1" + "conflict": { + "zendframework/zend-loader": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.2.1", "phpunit/phpunit": "^9.3" }, "type": "library", @@ -2975,33 +4081,32 @@ "type": "community_bridge" } ], - "time": "2021-02-12T16:08:18+00:00" + "time": "2021-09-02T18:30:53+00:00" }, { "name": "laminas/laminas-math", - "version": "3.3.2", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-math.git", - "reference": "188456530923a449470963837c25560f1fdd8a60" + "reference": "146d8187ab247ae152e811a6704a953d43537381" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-math/zipball/188456530923a449470963837c25560f1fdd8a60", - "reference": "188456530923a449470963837c25560f1fdd8a60", + "url": "https://api.github.com/repos/laminas/laminas-math/zipball/146d8187ab247ae152e811a6704a953d43537381", + "reference": "146d8187ab247ae152e811a6704a953d43537381", "shasum": "" }, "require": { "ext-mbstring": "*", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-math": "^3.2.0" + "conflict": { + "zendframework/zend-math": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5.5" }, "suggest": { "ext-bcmath": "If using the bcmath functionality", @@ -3043,42 +4148,39 @@ "type": "community_bridge" } ], - "time": "2021-02-16T15:46:01+00:00" + "time": "2021-12-06T02:02:07+00:00" }, { "name": "laminas/laminas-modulemanager", - "version": "2.10.2", + "version": "2.11.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-modulemanager.git", - "reference": "2068e0b300e87e139112016a6025be341ceaaf33" + "reference": "6acf5991d10b0b38a2edb08729ed48981b2a5dad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-modulemanager/zipball/2068e0b300e87e139112016a6025be341ceaaf33", - "reference": "2068e0b300e87e139112016a6025be341ceaaf33", + "url": "https://api.github.com/repos/laminas/laminas-modulemanager/zipball/6acf5991d10b0b38a2edb08729ed48981b2a5dad", + "reference": "6acf5991d10b0b38a2edb08729ed48981b2a5dad", "shasum": "" }, "require": { "brick/varexporter": "^0.3.2", - "laminas/laminas-config": "^3.4", - "laminas/laminas-eventmanager": "^3.3", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.1", - "php": "^7.3 || ^8.0", + "laminas/laminas-config": "^3.7", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0", "webimpress/safe-writer": "^1.0.2 || ^2.1" }, - "replace": { - "zendframework/zend-modulemanager": "^2.8.4" + "conflict": { + "zendframework/zend-modulemanager": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-console": "^2.8", - "laminas/laminas-di": "^2.6.1", - "laminas/laminas-loader": "^2.6.1", + "laminas/laminas-coding-standard": "^2.3", + "laminas/laminas-loader": "^2.8", "laminas/laminas-mvc": "^3.1.1", - "laminas/laminas-servicemanager": "^3.4.1", - "phpunit/phpunit": "^9.3.7" + "laminas/laminas-servicemanager": "^3.7", + "phpunit/phpunit": "^9.5.5" }, "suggest": { "laminas/laminas-console": "Laminas\\Console component", @@ -3116,45 +4218,44 @@ "type": "community_bridge" } ], - "time": "2021-04-13T20:11:28+00:00" + "time": "2021-10-13T17:05:17+00:00" }, { "name": "laminas/laminas-mvc", - "version": "3.2.0", + "version": "3.3.3", "source": { "type": "git", "url": "https://github.com/laminas/laminas-mvc.git", - "reference": "88da7200cf8f5a970c35d91717a5c4db94981e5e" + "reference": "7ff2bfbe64048aa83c6d1c7edcbab849123f0150" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mvc/zipball/88da7200cf8f5a970c35d91717a5c4db94981e5e", - "reference": "88da7200cf8f5a970c35d91717a5c4db94981e5e", + "url": "https://api.github.com/repos/laminas/laminas-mvc/zipball/7ff2bfbe64048aa83c6d1c7edcbab849123f0150", + "reference": "7ff2bfbe64048aa83c6d1c7edcbab849123f0150", "shasum": "" }, "require": { "container-interop/container-interop": "^1.2", - "laminas/laminas-eventmanager": "^3.2", - "laminas/laminas-http": "^2.7", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-http": "^2.15", "laminas/laminas-modulemanager": "^2.8", - "laminas/laminas-router": "^3.0.2", - "laminas/laminas-servicemanager": "^3.3", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-view": "^2.11.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-router": "^3.5", + "laminas/laminas-servicemanager": "^3.7", + "laminas/laminas-stdlib": "^3.6", + "laminas/laminas-view": "^2.14", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-mvc": "^3.1.1" + "conflict": { + "zendframework/zend-mvc": "*" }, "require-dev": { "http-interop/http-middleware": "^0.4.1", "laminas/laminas-coding-standard": "^1.0.0", - "laminas/laminas-json": "^2.6.1 || ^3.0", + "laminas/laminas-json": "^3.3", "laminas/laminas-psr7bridge": "^1.0", "laminas/laminas-stratigility": ">=2.0.1 <2.2", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.4.2" + "phpunit/phpunit": "^9.5.5" }, "suggest": { "laminas/laminas-json": "(^2.6.1 || ^3.0) To auto-deserialize JSON body content in AbstractRestfulController extensions, when json_decode is unavailable", @@ -3199,20 +4300,20 @@ "type": "community_bridge" } ], - "time": "2020-12-14T21:54:40+00:00" + "time": "2022-02-21T20:21:58+00:00" }, { "name": "laminas/laminas-mvc-i18n", - "version": "1.2.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-mvc-i18n.git", - "reference": "7ece491a02000a6c4ea2c4457fead3d12efc6eba" + "reference": "3f6c81d839507dee8bbf74a09a9bfc65ecd3bb88" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mvc-i18n/zipball/7ece491a02000a6c4ea2c4457fead3d12efc6eba", - "reference": "7ece491a02000a6c4ea2c4457fead3d12efc6eba", + "url": "https://api.github.com/repos/laminas/laminas-mvc-i18n/zipball/3f6c81d839507dee8bbf74a09a9bfc65ecd3bb88", + "reference": "3f6c81d839507dee8bbf74a09a9bfc65ecd3bb88", "shasum": "" }, "require": { @@ -3222,15 +4323,12 @@ "laminas/laminas-servicemanager": "^3.6", "laminas/laminas-stdlib": "^3.3", "laminas/laminas-validator": "^2.14", - "laminas/laminas-zendframework-bridge": "^1.2", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "conflict": { "laminas/laminas-mvc": "<3.0.0", - "phpspec/prophecy": "<1.8.0" - }, - "replace": { - "zendframework/zend-mvc-i18n": "^1.1.1" + "phpspec/prophecy": "<1.8.0", + "zendframework/zend-mvc-i18n": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", @@ -3279,41 +4377,41 @@ "type": "community_bridge" } ], - "time": "2021-04-02T15:49:43+00:00" + "time": "2022-02-25T14:13:55+00:00" }, { "name": "laminas/laminas-paginator", - "version": "2.10.0", + "version": "2.12.2", "source": { "type": "git", "url": "https://github.com/laminas/laminas-paginator.git", - "reference": "14ce4a397e6329954389cc40aa635caa9573f695" + "reference": "e2e5a17e2b6ca750e4a75b8f34763c63cc6bf8fa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-paginator/zipball/14ce4a397e6329954389cc40aa635caa9573f695", - "reference": "14ce4a397e6329954389cc40aa635caa9573f695", + "url": "https://api.github.com/repos/laminas/laminas-paginator/zipball/e2e5a17e2b6ca750e4a75b8f34763c63cc6bf8fa", + "reference": "e2e5a17e2b6ca750e4a75b8f34763c63cc6bf8fa", "shasum": "" }, "require": { "ext-json": "*", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-zendframework-bridge": "^1.0.4", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-stdlib": "^3.6.2", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-paginator": "^2.8.2" + "conflict": { + "zendframework/zend-paginator": "*" }, "require-dev": { - "laminas/laminas-cache": "^2.9.0", - "laminas/laminas-coding-standard": "~2.1.4", - "laminas/laminas-config": "^2.6.0", - "laminas/laminas-filter": "^2.9.4", - "laminas/laminas-servicemanager": "^3.4.1", - "laminas/laminas-view": "^2.11.4", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.15.1", - "vimeo/psalm": "^4.6" + "laminas/laminas-cache": "^3.1.2", + "laminas/laminas-cache-storage-adapter-memory": "^2.0.0", + "laminas/laminas-coding-standard": "^2.3.0", + "laminas/laminas-config": "^3.7.0", + "laminas/laminas-filter": "^2.13.0", + "laminas/laminas-servicemanager": "^3.10.0", + "laminas/laminas-view": "^2.15.0", + "phpunit/phpunit": "^9.5.10", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.15.0" }, "suggest": { "laminas/laminas-cache": "Laminas\\Cache component to support cache features", @@ -3358,36 +4456,35 @@ "type": "community_bridge" } ], - "time": "2021-02-25T21:39:49+00:00" + "time": "2022-01-11T18:09:02+00:00" }, { "name": "laminas/laminas-permissions-acl", - "version": "2.8.0", + "version": "2.9.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-permissions-acl.git", - "reference": "7af6463695d76dbf25c6b03e6ebb792c8f1ab67e" + "reference": "cd5689d8360c9a3f29bb62b32fc8ad45e0947e1e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-permissions-acl/zipball/7af6463695d76dbf25c6b03e6ebb792c8f1ab67e", - "reference": "7af6463695d76dbf25c6b03e6ebb792c8f1ab67e", + "url": "https://api.github.com/repos/laminas/laminas-permissions-acl/zipball/cd5689d8360c9a3f29bb62b32fc8ad45e0947e1e", + "reference": "cd5689d8360c9a3f29bb62b32fc8ad45e0947e1e", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "conflict": { - "laminas/laminas-servicemanager": "<3.0" - }, - "replace": { - "zendframework/zend-permissions-acl": "^2.7.1" + "laminas/laminas-servicemanager": "<3.0", + "zendframework/zend-permissions-acl": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", "laminas/laminas-servicemanager": "^3.0.3", - "phpunit/phpunit": "^9.5" + "phpunit/phpunit": "^9.5.0", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.7" }, "suggest": { "laminas/laminas-servicemanager": "To support Laminas\\Permissions\\Acl\\Assertion\\AssertionManager plugin manager usage" @@ -3422,28 +4519,27 @@ "type": "community_bridge" } ], - "time": "2021-04-08T12:56:14+00:00" + "time": "2021-12-03T08:59:59+00:00" }, { "name": "laminas/laminas-permissions-rbac", - "version": "3.1.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-permissions-rbac.git", - "reference": "ef224b6c7376d6fc8131b6d5b3609fe2583ffadb" + "reference": "ce117f1d2fb8ec8ec6186633bf485a89149fe46f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-permissions-rbac/zipball/ef224b6c7376d6fc8131b6d5b3609fe2583ffadb", - "reference": "ef224b6c7376d6fc8131b6d5b3609fe2583ffadb", + "url": "https://api.github.com/repos/laminas/laminas-permissions-rbac/zipball/ce117f1d2fb8ec8ec6186633bf485a89149fe46f", + "reference": "ce117f1d2fb8ec8ec6186633bf485a89149fe46f", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-permissions-rbac": "^3.0.2" + "conflict": { + "zendframework/zend-permissions-rbac": "*" }, "require-dev": { "laminas/laminas-coding-standard": "~1.0.0", @@ -3483,37 +4579,38 @@ "type": "community_bridge" } ], - "time": "2021-04-08T13:07:31+00:00" + "time": "2021-10-13T17:50:42+00:00" }, { "name": "laminas/laminas-router", - "version": "3.4.5", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-router.git", - "reference": "aaf2eb364eedeb5c4d5b9ee14cd2938d0f7e89b7" + "reference": "44759e71620030c93d99e40b394fe9fff8f0beda" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-router/zipball/aaf2eb364eedeb5c4d5b9ee14cd2938d0f7e89b7", - "reference": "aaf2eb364eedeb5c4d5b9ee14cd2938d0f7e89b7", + "url": "https://api.github.com/repos/laminas/laminas-router/zipball/44759e71620030c93d99e40b394fe9fff8f0beda", + "reference": "44759e71620030c93d99e40b394fe9fff8f0beda", "shasum": "" }, "require": { "container-interop/container-interop": "^1.2", - "laminas/laminas-http": "^2.8.1", - "laminas/laminas-servicemanager": "^2.7.8 || ^3.3", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-http": "^2.15", + "laminas/laminas-servicemanager": "^3.7", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-router": "^3.3.0" + "conflict": { + "zendframework/zend-router": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-i18n": "^2.7.4", - "phpunit/phpunit": "^9.4" + "phpunit/phpunit": "^9.5.5", + "psalm/plugin-phpunit": "^0.15.1", + "vimeo/psalm": "^4.7" }, "suggest": { "laminas/laminas-i18n": "^2.7.4, if defining translatable HTTP path segments" @@ -3554,50 +4651,49 @@ "type": "community_bridge" } ], - "time": "2021-04-19T16:06:00+00:00" + "time": "2021-10-13T16:02:43+00:00" }, { "name": "laminas/laminas-servicemanager", - "version": "3.6.4", + "version": "3.10.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-servicemanager.git", - "reference": "b1445e1a7077c21b0fad0974a1b7a11b9dbe0828" + "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/b1445e1a7077c21b0fad0974a1b7a11b9dbe0828", - "reference": "b1445e1a7077c21b0fad0974a1b7a11b9dbe0828", + "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/e52b985909e0940bf22d34f322eb3f48bbef6bd1", + "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1", "shasum": "" }, "require": { "container-interop/container-interop": "^1.2", "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0", + "php": "~7.4.0 || ~8.0.0 || ~8.1.0", "psr/container": "^1.0" }, "conflict": { "laminas/laminas-code": "<3.3.1", - "zendframework/zend-code": "<3.3.1" + "zendframework/zend-code": "<3.3.1", + "zendframework/zend-servicemanager": "*" }, "provide": { "container-interop/container-interop-implementation": "^1.2", "psr/container-implementation": "^1.0" }, - "replace": { - "zendframework/zend-servicemanager": "^3.4.0" - }, "require-dev": { "composer/package-versions-deprecated": "^1.0", - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-container-config-test": "^0.3", - "laminas/laminas-dependency-plugin": "^2.1", - "mikey179/vfsstream": "^1.6.8", - "ocramius/proxy-manager": "^2.2.3", - "phpbench/phpbench": "^1.0.0-alpha3", + "laminas/laminas-dependency-plugin": "^2.1.2", + "mikey179/vfsstream": "^1.6.10@alpha", + "ocramius/proxy-manager": "^2.11", + "phpbench/phpbench": "^1.1", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.4" + "phpunit/phpunit": "^9.5.5", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.8" }, "suggest": { "ocramius/proxy-manager": "ProxyManager ^2.1.1 to handle lazy initialization of services" @@ -3641,33 +4737,34 @@ "type": "community_bridge" } ], - "time": "2021-02-03T08:44:41+00:00" + "time": "2021-09-18T20:19:36+00:00" }, { "name": "laminas/laminas-stdlib", - "version": "3.3.1", + "version": "3.7.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-stdlib.git", - "reference": "d81c7ffe602ed0e6ecb18691019111c0f4bf1efe" + "reference": "bcd869e2fe88d567800057c1434f2380354fe325" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/d81c7ffe602ed0e6ecb18691019111c0f4bf1efe", - "reference": "d81c7ffe602ed0e6ecb18691019111c0f4bf1efe", + "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/bcd869e2fe88d567800057c1434f2380354fe325", + "reference": "bcd869e2fe88d567800057c1434f2380354fe325", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ^8.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-stdlib": "^3.2.1" + "conflict": { + "zendframework/zend-stdlib": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpbench/phpbench": "^0.17.1", - "phpunit/phpunit": "~9.3.7" + "laminas/laminas-coding-standard": "~2.3.0", + "phpbench/phpbench": "^1.0", + "phpunit/phpunit": "^9.3.7", + "psalm/plugin-phpunit": "^0.16.0", + "vimeo/psalm": "^4.7" }, "type": "library", "autoload": { @@ -3699,34 +4796,33 @@ "type": "community_bridge" } ], - "time": "2020-11-19T20:18:59+00:00" + "time": "2022-01-21T15:50:46+00:00" }, { "name": "laminas/laminas-uri", - "version": "2.8.1", + "version": "2.9.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-uri.git", - "reference": "79bd4c614c8cf9a6ba715a49fca8061e84933d87" + "reference": "7e837dc15c8fd3949df7d1213246fd7c8640032b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-uri/zipball/79bd4c614c8cf9a6ba715a49fca8061e84933d87", - "reference": "79bd4c614c8cf9a6ba715a49fca8061e84933d87", + "url": "https://api.github.com/repos/laminas/laminas-uri/zipball/7e837dc15c8fd3949df7d1213246fd7c8640032b", + "reference": "7e837dc15c8fd3949df7d1213246fd7c8640032b", "shasum": "" }, "require": { - "laminas/laminas-escaper": "^2.5", - "laminas/laminas-validator": "^2.10", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-escaper": "^2.9", + "laminas/laminas-validator": "^2.15", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-uri": "^2.7.1" + "conflict": { + "zendframework/zend-uri": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "^2.1", - "phpunit/phpunit": "^9.3" + "laminas/laminas-coding-standard": "~2.2.1", + "phpunit/phpunit": "^9.5.5" }, "type": "library", "autoload": { @@ -3758,35 +4854,33 @@ "type": "community_bridge" } ], - "time": "2021-02-17T21:53:05+00:00" + "time": "2021-09-09T18:37:15+00:00" }, { "name": "laminas/laminas-validator", - "version": "2.14.4", + "version": "2.17.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-validator.git", - "reference": "e370c4695db1c81e6dfad38d8c4dbdb37b23d776" + "reference": "bdd503adc83d814a5c94e598ea0eb9fc7ca56339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-validator/zipball/e370c4695db1c81e6dfad38d8c4dbdb37b23d776", - "reference": "e370c4695db1c81e6dfad38d8c4dbdb37b23d776", + "url": "https://api.github.com/repos/laminas/laminas-validator/zipball/bdd503adc83d814a5c94e598ea0eb9fc7ca56339", + "reference": "bdd503adc83d814a5c94e598ea0eb9fc7ca56339", "shasum": "" }, "require": { "container-interop/container-interop": "^1.1", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-validator": "^2.13.0" + "conflict": { + "zendframework/zend-validator": "*" }, "require-dev": { "laminas/laminas-cache": "^2.6.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^2.6", + "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-db": "^2.7", "laminas/laminas-filter": "^2.6", "laminas/laminas-http": "^2.14.2", @@ -3796,7 +4890,7 @@ "laminas/laminas-session": "^2.8", "laminas/laminas-uri": "^2.7", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3", + "phpunit/phpunit": "^9.5.5", "psalm/plugin-phpunit": "^0.15.0", "psr/http-client": "^1.0", "psr/http-factory": "^1.0", @@ -3850,61 +4944,61 @@ "type": "community_bridge" } ], - "time": "2021-01-24T20:45:49+00:00" + "time": "2022-03-08T18:16:51+00:00" }, { "name": "laminas/laminas-view", - "version": "2.12.0", + "version": "2.19.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-view.git", - "reference": "3ef103da6887809f08ecf52f42c31a76c9bf08b1" + "reference": "5f2ed1af896543e986090afb6433e32409c99d4d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-view/zipball/3ef103da6887809f08ecf52f42c31a76c9bf08b1", - "reference": "3ef103da6887809f08ecf52f42c31a76c9bf08b1", + "url": "https://api.github.com/repos/laminas/laminas-view/zipball/5f2ed1af896543e986090afb6433e32409c99d4d", + "reference": "5f2ed1af896543e986090afb6433e32409c99d4d", "shasum": "" }, "require": { - "laminas/laminas-eventmanager": "^3.0", - "laminas/laminas-json": "^2.6.1 || ^3.0", - "laminas/laminas-loader": "^2.5", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "ext-json": "*", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-json": "^3.3", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { - "laminas/laminas-servicemanager": "<3.3" - }, - "replace": { - "zendframework/zend-view": "^2.11.4" + "container-interop/container-interop": "<1.2", + "laminas/laminas-router": "<3.0.1", + "laminas/laminas-servicemanager": "<3.3", + "laminas/laminas-session": "<2.12", + "zendframework/zend-view": "*" }, "require-dev": { + "ext-dom": "*", "laminas/laminas-authentication": "^2.5", - "laminas/laminas-cache": "^2.6.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^2.6", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-console": "^2.6", "laminas/laminas-escaper": "^2.5", - "laminas/laminas-feed": "^2.7", - "laminas/laminas-filter": "^2.6.1", - "laminas/laminas-http": "^2.5.4", + "laminas/laminas-feed": "^2.15", + "laminas/laminas-filter": "^2.13.0", + "laminas/laminas-http": "^2.15", "laminas/laminas-i18n": "^2.6", - "laminas/laminas-log": "^2.7", "laminas/laminas-modulemanager": "^2.7.1", - "laminas/laminas-mvc": "^2.7.14 || ^3.0", - "laminas/laminas-navigation": "^2.5", - "laminas/laminas-paginator": "^2.5", + "laminas/laminas-mvc": "^3.0", + "laminas/laminas-mvc-i18n": "^1.1", + "laminas/laminas-mvc-plugin-flashmessenger": "^1.5.0", + "laminas/laminas-navigation": "^2.13.1", + "laminas/laminas-paginator": "^2.11.0", "laminas/laminas-permissions-acl": "^2.6", "laminas/laminas-router": "^3.0.1", - "laminas/laminas-serializer": "^2.6.1", - "laminas/laminas-servicemanager": "^3.3", - "laminas/laminas-session": "^2.8.1", + "laminas/laminas-servicemanager": "^3.4", "laminas/laminas-uri": "^2.5", "phpspec/prophecy": "^1.12", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5.5", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.10" }, "suggest": { "laminas/laminas-authentication": "Laminas\\Authentication component", @@ -3954,30 +5048,30 @@ "type": "community_bridge" } ], - "time": "2021-01-01T14:07:41+00:00" + "time": "2022-01-12T16:20:05+00:00" }, { "name": "laminas/laminas-zendframework-bridge", - "version": "1.2.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-zendframework-bridge.git", - "reference": "6cccbddfcfc742eb02158d6137ca5687d92cee32" + "reference": "7f049390b756d34ba5940a8fb47634fbb51f79ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/6cccbddfcfc742eb02158d6137ca5687d92cee32", - "reference": "6cccbddfcfc742eb02158d6137ca5687d92cee32", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/7f049390b756d34ba5940a8fb47634fbb51f79ab", + "reference": "7f049390b756d34ba5940a8fb47634fbb51f79ab", "shasum": "" }, "require": { - "php": "^7.3 || ^8.0" + "php": ">=7.4, <8.2" }, "require-dev": { - "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1 || ^9.3", - "psalm/plugin-phpunit": "^0.15.1", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.6" + "phpunit/phpunit": "^9.5.14", + "psalm/plugin-phpunit": "^0.15.2", + "squizlabs/php_codesniffer": "^3.6.2", + "vimeo/psalm": "^4.21.0" }, "type": "library", "extra": { @@ -4016,20 +5110,20 @@ "type": "community_bridge" } ], - "time": "2021-02-25T21:54:58+00:00" + "time": "2022-02-22T22:17:01+00:00" }, { "name": "nikic/php-parser", - "version": "v4.10.5", + "version": "v4.13.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f" + "reference": "210577fe3cf7badcc5814d99455df46564f3c077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/4432ba399e47c66624bc73c8c0f811e5c109576f", - "reference": "4432ba399e47c66624bc73c8c0f811e5c109576f", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/210577fe3cf7badcc5814d99455df46564f3c077", + "reference": "210577fe3cf7badcc5814d99455df46564f3c077", "shasum": "" }, "require": { @@ -4070,73 +5164,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.10.5" - }, - "time": "2021-05-03T19:11:20+00:00" - }, - { - "name": "phpro/zf-doctrine-hydration-module", - "version": "v4.1.0", - "source": { - "type": "git", - "url": "https://github.com/phpro/zf-doctrine-hydration-module.git", - "reference": "a1df64f4aee40ae55027402ce783fbec87635166" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpro/zf-doctrine-hydration-module/zipball/a1df64f4aee40ae55027402ce783fbec87635166", - "reference": "a1df64f4aee40ae55027402ce783fbec87635166", - "shasum": "" - }, - "require": { - "doctrine/common": "^2.6.1", - "doctrine/doctrine-module": "^1.2 || ^2.1.7", - "doctrine/instantiator": "^1.0.5", - "php": "^5.6 || ^7.0", - "zendframework/zend-hydrator": "^1.1 || ^2.2.1", - "zendframework/zend-modulemanager": "^2.7.2", - "zendframework/zend-servicemanager": "^3.3.2" - }, - "require-dev": { - "doctrine/doctrine-mongo-odm-module": "^0.11 || ^1.0", - "doctrine/doctrine-orm-module": "^1.1 || ^2.1.2", - "doctrine/mongodb-odm": "^1.1", - "fabpot/php-cs-fixer": "^1.11.6", - "phpro/grumphp": "^0.9.1", - "phpunit/phpunit": "^5.7.27" - }, - "type": "library", - "extra": { - "zf": { - "module": "Phpro\\DoctrineHydrationModule" - } - }, - "autoload": { - "psr-4": { - "Phpro\\DoctrineHydrationModule\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Toon Verwerft", - "email": "toon.verwerft@phpro.be" - } - ], - "description": "Doctrine hydrators for ZF2 and ZF3", - "keywords": [ - "doctrine", - "hydrator", - "zf" - ], - "support": { - "issues": "https://github.com/phpro/zf-doctrine-hydration-module/issues", - "source": "https://github.com/phpro/zf-doctrine-hydration-module/tree/master" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.13.2" }, - "time": "2019-01-18T05:39:08+00:00" + "time": "2021-11-30T19:35:32+00:00" }, { "name": "psr/cache", @@ -4189,20 +5219,20 @@ }, { "name": "psr/container", - "version": "1.1.1", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/php-fig/container.git", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf" + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf", - "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": ">=7.4.0" }, "type": "library", "autoload": { @@ -4231,9 +5261,9 @@ ], "support": { "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.1" + "source": "https://github.com/php-fig/container/tree/1.1.2" }, - "time": "2021-03-05T17:36:06+00:00" + "time": "2021-11-05T16:50:12+00:00" }, { "name": "psr/link", @@ -4340,28 +5370,29 @@ }, { "name": "symfony/console", - "version": "v5.3.2", + "version": "v5.4.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1" + "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/649730483885ff2ca99ca0560ef0e5f6b03f2ac1", - "reference": "649730483885ff2ca99ca0560ef0e5f6b03f2ac1", + "url": "https://api.github.com/repos/symfony/console/zipball/d8111acc99876953f52fe16d4c50eb60940d49ad", + "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", + "symfony/deprecation-contracts": "^2.1|^3", "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php73": "^1.8", - "symfony/polyfill-php80": "^1.15", - "symfony/service-contracts": "^1.1|^2", - "symfony/string": "^5.1" + "symfony/polyfill-php73": "^1.9", + "symfony/polyfill-php80": "^1.16", + "symfony/service-contracts": "^1.1|^2|^3", + "symfony/string": "^5.1|^6.0" }, "conflict": { + "psr/log": ">=3", "symfony/dependency-injection": "<4.4", "symfony/dotenv": "<5.1", "symfony/event-dispatcher": "<4.4", @@ -4369,16 +5400,16 @@ "symfony/process": "<4.4" }, "provide": { - "psr/log-implementation": "1.0" + "psr/log-implementation": "1.0|2.0" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "^4.4|^5.0", - "symfony/dependency-injection": "^4.4|^5.0", - "symfony/event-dispatcher": "^4.4|^5.0", - "symfony/lock": "^4.4|^5.0", - "symfony/process": "^4.4|^5.0", - "symfony/var-dumper": "^4.4|^5.0" + "psr/log": "^1|^2", + "symfony/config": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony/lock": "^4.4|^5.0|^6.0", + "symfony/process": "^4.4|^5.0|^6.0", + "symfony/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "psr/log": "For using the console logger", @@ -4418,7 +5449,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.3.2" + "source": "https://github.com/symfony/console/tree/v5.4.5" }, "funding": [ { @@ -4434,20 +5465,20 @@ "type": "tidelift" } ], - "time": "2021-06-12T09:42:48+00:00" + "time": "2022-02-24T12:45:35+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627" + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/5f38c8804a9e97d23e0c8d63341088cd8a22d627", - "reference": "5f38c8804a9e97d23e0c8d63341088cd8a22d627", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", "shasum": "" }, "require": { @@ -4456,7 +5487,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4485,7 +5516,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" }, "funding": [ { @@ -4501,25 +5532,28 @@ "type": "tidelift" } ], - "time": "2021-03-23T23:28:01+00:00" + "time": "2021-07-12T14:48:14+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce" + "reference": "30885182c981ab175d4d034db0f6f469898070ab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/46cd95797e9df938fdd2b03693b5fca5e64b01ce", - "reference": "46cd95797e9df938fdd2b03693b5fca5e64b01ce", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/30885182c981ab175d4d034db0f6f469898070ab", + "reference": "30885182c981ab175d4d034db0f6f469898070ab", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-ctype": "*" + }, "suggest": { "ext-ctype": "For best performance" }, @@ -4534,12 +5568,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4564,7 +5598,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.25.0" }, "funding": [ { @@ -4580,20 +5614,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-10-20T20:35:02+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab" + "reference": "81b86b50cf841a64252b439e738e97f4a34e2783" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/24b72c6baa32c746a4d0840147c9715e42bb68ab", - "reference": "24b72c6baa32c746a4d0840147c9715e42bb68ab", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/81b86b50cf841a64252b439e738e97f4a34e2783", + "reference": "81b86b50cf841a64252b439e738e97f4a34e2783", "shasum": "" }, "require": { @@ -4613,12 +5647,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4645,7 +5679,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.25.0" }, "funding": [ { @@ -4661,11 +5695,11 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:17:38+00:00" + "time": "2021-11-23T21:10:46+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", @@ -4694,12 +5728,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4729,7 +5763,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.25.0" }, "funding": [ { @@ -4749,21 +5783,24 @@ }, { "name": "symfony/polyfill-mbstring", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1" + "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2df51500adbaebdc4c38dea4c89a2e131c45c8a1", - "reference": "2df51500adbaebdc4c38dea4c89a2e131c45c8a1", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/0abb51d2f102e00a4eefcf46ba7fec406d245825", + "reference": "0abb51d2f102e00a4eefcf46ba7fec406d245825", "shasum": "" }, "require": { "php": ">=7.1" }, + "provide": { + "ext-mbstring": "*" + }, "suggest": { "ext-mbstring": "For best performance" }, @@ -4778,12 +5815,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, "files": [ "bootstrap.php" - ] + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -4809,7 +5846,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.25.0" }, "funding": [ { @@ -4825,20 +5862,20 @@ "type": "tidelift" } ], - "time": "2021-05-27T09:27:20+00:00" + "time": "2021-11-30T18:21:41+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010" + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fba8933c384d6476ab14fb7b8526e5287ca7e010", - "reference": "fba8933c384d6476ab14fb7b8526e5287ca7e010", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/cc5db0e22b3cb4111010e48785a97f670b350ca5", + "reference": "cc5db0e22b3cb4111010e48785a97f670b350ca5", "shasum": "" }, "require": { @@ -4855,12 +5892,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4888,7 +5925,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.25.0" }, "funding": [ { @@ -4904,20 +5941,20 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2021-06-05T21:20:04+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.23.0", + "version": "v1.25.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0" + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/eca0bf41ed421bed1b57c4958bab16aa86b757d0", - "reference": "eca0bf41ed421bed1b57c4958bab16aa86b757d0", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/4407588e0d3f1f52efb65fbe92babe41f37fe50c", + "reference": "4407588e0d3f1f52efb65fbe92babe41f37fe50c", "shasum": "" }, "require": { @@ -4934,12 +5971,12 @@ } }, "autoload": { - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, "files": [ "bootstrap.php" ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, "classmap": [ "Resources/stubs" ] @@ -4971,7 +6008,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.23.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.25.0" }, "funding": [ { @@ -4987,25 +6024,29 @@ "type": "tidelift" } ], - "time": "2021-02-19T12:13:01+00:00" + "time": "2022-03-04T08:16:47+00:00" }, { "name": "symfony/service-contracts", - "version": "v2.4.0", + "version": "v2.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb" + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", - "reference": "f040a30e04b57fbcc9c6cbcf4dbaa96bd318b9bb", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", "shasum": "" }, "require": { "php": ">=7.2.5", - "psr/container": "^1.1" + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1" + }, + "conflict": { + "ext-psr": "<1.1|>=2" }, "suggest": { "symfony/service-implementation": "" @@ -5013,7 +6054,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.4-dev" + "dev-main": "2.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5050,7 +6091,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.4.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" }, "funding": [ { @@ -5066,20 +6107,20 @@ "type": "tidelift" } ], - "time": "2021-04-01T10:43:52+00:00" + "time": "2021-11-04T16:48:04+00:00" }, { "name": "symfony/string", - "version": "v5.3.2", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "0732e97e41c0a590f77e231afc16a327375d50b0" + "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/0732e97e41c0a590f77e231afc16a327375d50b0", - "reference": "0732e97e41c0a590f77e231afc16a327375d50b0", + "url": "https://api.github.com/repos/symfony/string/zipball/92043b7d8383e48104e411bc9434b260dbeb5a10", + "reference": "92043b7d8383e48104e411bc9434b260dbeb5a10", "shasum": "" }, "require": { @@ -5090,20 +6131,23 @@ "symfony/polyfill-mbstring": "~1.0", "symfony/polyfill-php80": "~1.15" }, + "conflict": { + "symfony/translation-contracts": ">=3.0" + }, "require-dev": { - "symfony/error-handler": "^4.4|^5.0", - "symfony/http-client": "^4.4|^5.0", + "symfony/error-handler": "^4.4|^5.0|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0" + "symfony/var-exporter": "^4.4|^5.0|^6.0" }, "type": "library", "autoload": { - "psr-4": { - "Symfony\\Component\\String\\": "" - }, "files": [ "Resources/functions.php" ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, "exclude-from-classmap": [ "/Tests/" ] @@ -5133,7 +6177,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.3.2" + "source": "https://github.com/symfony/string/tree/v5.4.3" }, "funding": [ { @@ -5149,7 +6193,7 @@ "type": "tidelift" } ], - "time": "2021-06-06T09:51:56+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "webimpress/safe-writer", @@ -5253,127 +6297,35 @@ "authors": [ { "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Assertions to validate method input/output with nice error messages.", - "keywords": [ - "assert", - "check", - "validate" - ], - "support": { - "issues": "https://github.com/webmozarts/assert/issues", - "source": "https://github.com/webmozarts/assert/tree/1.10.0" - }, - "time": "2021-03-09T10:59:23+00:00" - }, - { - "name": "zendframework/zend-cache", - "version": "2.9.0", - "source": { - "type": "git", - "url": "https://github.com/zendframework/zend-cache.git", - "reference": "cffd54a2dc4db094976d3b3f05e418a047cc9110" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-cache/zipball/cffd54a2dc4db094976d3b3f05e418a047cc9110", - "reference": "cffd54a2dc4db094976d3b3f05e418a047cc9110", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0", - "psr/cache": "^1.0", - "psr/simple-cache": "^1.0", - "zendframework/zend-eventmanager": "^2.6.3 || ^3.2", - "zendframework/zend-servicemanager": "^2.7.8 || ^3.3", - "zendframework/zend-stdlib": "^3.2.1" - }, - "provide": { - "psr/cache-implementation": "1.0", - "psr/simple-cache-implementation": "1.0" - }, - "require-dev": { - "cache/integration-tests": "^0.16", - "phpbench/phpbench": "^0.13", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2", - "zendframework/zend-coding-standard": "~1.0.0", - "zendframework/zend-serializer": "^2.6", - "zendframework/zend-session": "^2.7.4" - }, - "suggest": { - "ext-apc": "APC or compatible extension, to use the APC storage adapter", - "ext-apcu": "APCU >= 5.1.0, to use the APCu storage adapter", - "ext-dba": "DBA, to use the DBA storage adapter", - "ext-memcache": "Memcache >= 2.0.0 to use the Memcache storage adapter", - "ext-memcached": "Memcached >= 1.0.0 to use the Memcached storage adapter", - "ext-mongo": "Mongo, to use MongoDb storage adapter", - "ext-mongodb": "MongoDB, to use the ExtMongoDb storage adapter", - "ext-redis": "Redis, to use Redis storage adapter", - "ext-wincache": "WinCache, to use the WinCache storage adapter", - "ext-xcache": "XCache, to use the XCache storage adapter", - "mongodb/mongodb": "Required for use with the ext-mongodb adapter", - "mongofill/mongofill": "Alternative to ext-mongo - a pure PHP implementation designed as a drop in replacement", - "zendframework/zend-serializer": "Zend\\Serializer component", - "zendframework/zend-session": "Zend\\Session component" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.9.x-dev", - "dev-develop": "2.10.x-dev" - }, - "zf": { - "component": "Zend\\Cache", - "config-provider": "Zend\\Cache\\ConfigProvider" - } - }, - "autoload": { - "files": [ - "autoload/patternPluginManagerPolyfill.php" - ], - "psr-4": { - "Zend\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" + "email": "bschussek@gmail.com" + } ], - "description": "Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output", + "description": "Assertions to validate method input/output with nice error messages.", "keywords": [ - "ZendFramework", - "cache", - "psr-16", - "psr-6", - "zf" + "assert", + "check", + "validate" ], "support": { - "chat": "https://zendframework-slack.herokuapp.com", - "docs": "https://docs.zendframework.com/zend-cache/", - "forum": "https://discourse.zendframework.com/c/questions/components", - "issues": "https://github.com/zendframework/zend-cache/issues", - "rss": "https://github.com/zendframework/zend-cache/releases.atom", - "source": "https://github.com/zendframework/zend-cache" + "issues": "https://github.com/webmozarts/assert/issues", + "source": "https://github.com/webmozarts/assert/tree/1.10.0" }, - "abandoned": "laminas/laminas-cache", - "time": "2019-08-29T18:30:41+00:00" + "time": "2021-03-09T10:59:23+00:00" } ], "packages-dev": [ { "name": "alcaeus/mongo-php-adapter", - "version": "1.2.0", + "version": "1.2.2", "source": { "type": "git", "url": "https://github.com/alcaeus/mongo-php-adapter.git", - "reference": "b828ebc06cd3c270997b13c97dadc94731b36354" + "reference": "0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/alcaeus/mongo-php-adapter/zipball/b828ebc06cd3c270997b13c97dadc94731b36354", - "reference": "b828ebc06cd3c270997b13c97dadc94731b36354", + "url": "https://api.github.com/repos/alcaeus/mongo-php-adapter/zipball/0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1", + "reference": "0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1", "shasum": "" }, "require": { @@ -5388,22 +6340,22 @@ }, "require-dev": { "squizlabs/php_codesniffer": "^3.2", - "symfony/phpunit-bridge": "5.x-dev" + "symfony/phpunit-bridge": "^4.4.16 || ^5.2" }, "type": "library", "extra": { "branch-version": "1.x" }, "autoload": { + "files": [ + "lib/Mongo/functions.php" + ], "psr-0": { "Mongo": "lib/Mongo" }, "psr-4": { "Alcaeus\\MongoDbAdapter\\": "lib/Alcaeus/MongoDbAdapter" - }, - "files": [ - "lib/Mongo/functions.php" - ] + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5426,33 +6378,33 @@ ], "support": { "issues": "https://github.com/alcaeus/mongo-php-adapter/issues", - "source": "https://github.com/alcaeus/mongo-php-adapter/tree/1.2.0" + "source": "https://github.com/alcaeus/mongo-php-adapter/tree/1.2.2" }, - "time": "2020-11-11T14:05:46+00:00" + "time": "2022-01-11T15:05:50+00:00" }, { "name": "amphp/amp", - "version": "v2.5.2", + "version": "v2.6.2", "source": { "type": "git", "url": "https://github.com/amphp/amp.git", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9" + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/efca2b32a7580087adb8aabbff6be1dc1bb924a9", - "reference": "efca2b32a7580087adb8aabbff6be1dc1bb924a9", + "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", "shasum": "" }, "require": { - "php": ">=7" + "php": ">=7.1" }, "require-dev": { "amphp/php-cs-fixer-config": "dev-master", "amphp/phpunit-util": "^1", "ext-json": "*", "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6.0.9 | ^7", + "phpunit/phpunit": "^7 | ^8 | ^9", "psalm/phar": "^3.11@dev", "react/promise": "^2" }, @@ -5463,13 +6415,13 @@ } }, "autoload": { - "psr-4": { - "Amp\\": "lib" - }, "files": [ "lib/functions.php", "lib/Internal/functions.php" - ] + ], + "psr-4": { + "Amp\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5494,7 +6446,7 @@ } ], "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "http://amphp.org/amp", + "homepage": "https://amphp.org/amp", "keywords": [ "async", "asynchronous", @@ -5509,7 +6461,7 @@ "support": { "irc": "irc://irc.freenode.org/amphp", "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.5.2" + "source": "https://github.com/amphp/amp/tree/v2.6.2" }, "funding": [ { @@ -5517,7 +6469,7 @@ "type": "github" } ], - "time": "2021-01-10T17:06:37+00:00" + "time": "2022-02-20T17:52:18+00:00" }, { "name": "amphp/byte-stream", @@ -5552,12 +6504,12 @@ } }, "autoload": { - "psr-4": { - "Amp\\ByteStream\\": "lib" - }, "files": [ "lib/functions.php" - ] + ], + "psr-4": { + "Amp\\ByteStream\\": "lib" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5598,16 +6550,16 @@ }, { "name": "composer/package-versions-deprecated", - "version": "1.11.99.2", + "version": "1.11.99.5", "source": { "type": "git", "url": "https://github.com/composer/package-versions-deprecated.git", - "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c" + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/c6522afe5540d5fc46675043d3ed5a45a740b27c", - "reference": "c6522afe5540d5fc46675043d3ed5a45a740b27c", + "url": "https://api.github.com/repos/composer/package-versions-deprecated/zipball/b4f54f74ef3453349c24a845d22392cd31e65f1d", + "reference": "b4f54f74ef3453349c24a845d22392cd31e65f1d", "shasum": "" }, "require": { @@ -5651,7 +6603,78 @@ "description": "Composer plugin that provides efficient querying for installed package versions (no runtime IO)", "support": { "issues": "https://github.com/composer/package-versions-deprecated/issues", - "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.2" + "source": "https://github.com/composer/package-versions-deprecated/tree/1.11.99.5" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "time": "2022-01-17T14:14:24+00:00" + }, + { + "name": "composer/pcre", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "reference": "e300eb6c535192decd27a85bc72a9290f0d6b3bd", + "shasum": "" + }, + "require": { + "php": "^7.4 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.3", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Pcre\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "PCRE wrapping library that offers type-safe preg_* replacements.", + "keywords": [ + "PCRE", + "preg", + "regex", + "regular expression" + ], + "support": { + "issues": "https://github.com/composer/pcre/issues", + "source": "https://github.com/composer/pcre/tree/3.0.0" }, "funding": [ { @@ -5667,27 +6690,27 @@ "type": "tidelift" } ], - "time": "2021-05-24T07:46:03+00:00" + "time": "2022-02-25T20:21:48+00:00" }, { "name": "composer/semver", - "version": "3.2.5", + "version": "3.2.9", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9" + "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/31f3ea725711245195f62e54ffa402d8ef2fdba9", - "reference": "31f3ea725711245195f62e54ffa402d8ef2fdba9", + "url": "https://api.github.com/repos/composer/semver/zipball/a951f614bd64dcd26137bc9b7b2637ddcfc57649", + "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^0.12.54", + "phpstan/phpstan": "^1.4", "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", @@ -5732,7 +6755,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.5" + "source": "https://github.com/composer/semver/tree/3.2.9" }, "funding": [ { @@ -5748,29 +6771,31 @@ "type": "tidelift" } ], - "time": "2021-05-24T12:41:47+00:00" + "time": "2022-02-04T13:58:43+00:00" }, { "name": "composer/xdebug-handler", - "version": "2.0.1", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" + "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, "require": { - "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { - "phpstan/phpstan": "^0.12.55", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" }, "type": "library", "autoload": { @@ -5796,7 +6821,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.1" + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" }, "funding": [ { @@ -5812,31 +6837,31 @@ "type": "tidelift" } ], - "time": "2021-05-05T19:37:51+00:00" + "time": "2022-02-25T21:32:43+00:00" }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.7.1", + "version": "v0.7.2", "source": { "type": "git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c" + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", - "reference": "fe390591e0241955f22eb9ba327d137e501c771c", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", + "reference": "1c968e542d8843d7cd71de3c5c9c3ff3ad71a1db", "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", "php": ">=5.3", - "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" + "squizlabs/php_codesniffer": "^2.0 || ^3.1.0 || ^4.0" }, "require-dev": { "composer/composer": "*", - "phpcompatibility/php-compatibility": "^9.0", - "sensiolabs/security-checker": "^4.1.0" + "php-parallel-lint/php-parallel-lint": "^1.3.1", + "phpcompatibility/php-compatibility": "^9.0" }, "type": "composer-plugin", "extra": { @@ -5857,6 +6882,10 @@ "email": "franck.nijhof@dealerdirect.com", "homepage": "http://www.frenck.nl", "role": "Developer / IT Manager" + }, + { + "name": "Contributors", + "homepage": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors" } ], "description": "PHP_CodeSniffer Standards Composer Installer Plugin", @@ -5868,6 +6897,7 @@ "codesniffer", "composer", "installer", + "phpcbf", "phpcs", "plugin", "qa", @@ -5882,7 +6912,7 @@ "issues": "https://github.com/dealerdirect/phpcodesniffer-composer-installer/issues", "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" }, - "time": "2020-12-07T18:04:37+00:00" + "time": "2022-02-04T12:51:07+00:00" }, { "name": "dnoegel/php-xdg-base-dir", @@ -5923,16 +6953,16 @@ }, { "name": "doctrine/dbal", - "version": "2.13.2", + "version": "2.13.8", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "8dd39d2ead4409ce652fd4f02621060f009ea5e4" + "reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/8dd39d2ead4409ce652fd4f02621060f009ea5e4", - "reference": "8dd39d2ead4409ce652fd4f02621060f009ea5e4", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/dc9b3c3c8592c935a6e590441f9abc0f9eba335b", + "reference": "dc9b3c3c8592c935a6e590441f9abc0f9eba335b", "shasum": "" }, "require": { @@ -5944,13 +6974,14 @@ }, "require-dev": { "doctrine/coding-standard": "9.0.0", - "jetbrains/phpstorm-stubs": "2020.2", - "phpstan/phpstan": "0.12.81", - "phpunit/phpunit": "^7.5.20|^8.5|9.5.5", - "squizlabs/php_codesniffer": "3.6.0", + "jetbrains/phpstorm-stubs": "2021.1", + "phpstan/phpstan": "1.4.6", + "phpunit/phpunit": "^7.5.20|^8.5|9.5.16", + "psalm/plugin-phpunit": "0.16.1", + "squizlabs/php_codesniffer": "3.6.2", "symfony/cache": "^4.4", "symfony/console": "^2.0.5|^3.0|^4.0|^5.0", - "vimeo/psalm": "4.6.4" + "vimeo/psalm": "4.22.0" }, "suggest": { "symfony/console": "For helpful console commands such as SQL execution and import of files." @@ -6011,7 +7042,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/2.13.2" + "source": "https://github.com/doctrine/dbal/tree/2.13.8" }, "funding": [ { @@ -6027,7 +7058,7 @@ "type": "tidelift" } ], - "time": "2021-06-18T21:48:39+00:00" + "time": "2022-03-09T15:25:46+00:00" }, { "name": "doctrine/deprecations", @@ -6074,45 +7105,43 @@ }, { "name": "doctrine/doctrine-mongo-odm-module", - "version": "1.1.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineMongoODMModule.git", - "reference": "45857f034cc55554236a5b8cbc7626b89a69a01d" + "reference": "1cdbb69c33e1da5827297fe89d91407745f4adea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineMongoODMModule/zipball/45857f034cc55554236a5b8cbc7626b89a69a01d", - "reference": "45857f034cc55554236a5b8cbc7626b89a69a01d", + "url": "https://api.github.com/repos/doctrine/DoctrineMongoODMModule/zipball/1cdbb69c33e1da5827297fe89d91407745f4adea", + "reference": "1cdbb69c33e1da5827297fe89d91407745f4adea", "shasum": "" }, "require": { - "doctrine/doctrine-module": "^1.2 || ^2.1.7", - "doctrine/mongodb-odm": "^1.1", - "php": "^7.1", - "zendframework/zend-hydrator": "^2.2", - "zendframework/zend-mvc": "^2.7.15 || ^3.0.1", - "zendframework/zend-servicemanager": "^2.7.6 || ^3.1", - "zendframework/zend-stdlib": "^3.2.1" + "alcaeus/mongo-php-adapter": "^1.1", + "doctrine/doctrine-module": "^4.0", + "doctrine/mongodb-odm": "^1.3", + "laminas/laminas-hydrator": "^3.0.2", + "laminas/laminas-mvc": "^3.1.1", + "laminas/laminas-servicemanager": "^3.4", + "laminas/laminas-stdlib": "^3.2.1", + "php": "^7.2" }, "require-dev": { - "phpunit/phpunit": "^7.5", - "squizlabs/php_codesniffer": "^3.0.0", - "zendframework/zend-console": "^2.6", - "zendframework/zend-i18n": "^2.7.3", - "zendframework/zend-log": "^2.9", - "zendframework/zend-modulemanager": "^2.7.2", - "zendframework/zend-mvc-console": "^1.1.8", - "zendframework/zend-serializer": "^2.8", - "zendframework/zend-session": "^2.8.5", - "zendframework/zend-view": "^2.8.1" + "doctrine/coding-standard": "^7.0.2", + "laminas/laminas-console": "^2.8", + "laminas/laminas-i18n": "^2.10.1", + "laminas/laminas-log": "^2.12", + "laminas/laminas-modulemanager": "^2.8.4", + "laminas/laminas-mvc-console": "^1.2", + "laminas/laminas-serializer": "^2.9.1", + "laminas/laminas-session": "^2.9.1", + "laminas/laminas-view": "^2.11.4", + "phpunit/phpunit": "^8.5.2" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - }, - "zf": { + "laminas": { "module": "DoctrineMongoODMModule" } }, @@ -6126,14 +7155,22 @@ "MIT" ], "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@hotmail.com" - }, { "name": "Kyle Spraggs", "email": "theman@spiffyjr.me" }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + }, + { + "name": "Evan Coury", + "email": "me@evancoury.com" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@hotmail.com" + }, { "name": "Tim Roediger", "email": "superdweebie@gmail.com" @@ -6147,83 +7184,82 @@ "email": "alcaeus@alcaeus.org" }, { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Evan Coury", - "email": "me@evancoury.com" + "name": "Tom H Anderson", + "email": "tom.h.anderson@gmail.com" } ], - "description": "Zend Framework Module that provides Doctrine MongoDB ODM functionality", - "homepage": "http://www.doctrine-project.org/", + "description": "Laminas Module which provides Doctrine MongoDB ODM functionality", + "homepage": "https://www.doctrine-project.org/", "keywords": [ "doctrine", + "laminas", "module", "mongodb", - "odm", - "zf" + "odm" ], "support": { "issues": "https://github.com/doctrine/DoctrineMongoODMModule/issues", - "source": "https://github.com/doctrine/DoctrineMongoODMModule/tree/master" + "source": "https://github.com/doctrine/DoctrineMongoODMModule/tree/2.0.2" }, - "time": "2019-02-15T10:16:41+00:00" + "time": "2020-07-21T08:27:53+00:00" }, { "name": "doctrine/doctrine-orm-module", - "version": "2.1.7", + "version": "4.0.2", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineORMModule.git", - "reference": "5693988999afae74cd74a8c43e78cddde1cff464" + "reference": "2da90be662cffb23ac3970bf2b933a06b8745f1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineORMModule/zipball/5693988999afae74cd74a8c43e78cddde1cff464", - "reference": "5693988999afae74cd74a8c43e78cddde1cff464", + "url": "https://api.github.com/repos/doctrine/DoctrineORMModule/zipball/2da90be662cffb23ac3970bf2b933a06b8745f1b", + "reference": "2da90be662cffb23ac3970bf2b933a06b8745f1b", "shasum": "" }, "require": { - "doctrine/dbal": "^2.6.0", - "doctrine/doctrine-module": "^2.1.3", - "doctrine/orm": "^2.6.3", - "php": "^7.1", - "symfony/console": "^3.3 || ^4.0 || ^5.0", - "zendframework/zend-hydrator": "^2.3", - "zendframework/zend-mvc": "^3.1", - "zendframework/zend-servicemanager": "^3.3", - "zendframework/zend-stdlib": "^3.2.1" + "composer/package-versions-deprecated": "^1.11", + "doctrine/dbal": "^2.10", + "doctrine/doctrine-module": "^4.0", + "doctrine/orm": "^2.6.4", + "doctrine/persistence": "^1.3.3||^2.0", + "php": "^7.3 || ^8.0", + "symfony/console": "^5.0" + }, + "conflict": { + "doctrine/migrations": "<3.0" }, "require-dev": { + "doctrine/annotations": "^1.8", + "doctrine/coding-standard": "^8.0", "doctrine/data-fixtures": "^1.2.1", - "doctrine/migrations": "^1.5 || ^2.0", - "phpunit/phpunit": "^7.0.3", - "squizlabs/php_codesniffer": "^2.7", - "zendframework/zend-console": "^2.6", - "zendframework/zend-developer-tools": "^1.1", - "zendframework/zend-i18n": "^2.7.3", - "zendframework/zend-log": "^2.9", - "zendframework/zend-modulemanager": "^2.7.2", - "zendframework/zend-mvc-console": "^1.2", - "zendframework/zend-serializer": "^2.8" + "doctrine/migrations": "^3.0", + "laminas/laminas-code": "^3.3.2", + "laminas/laminas-console": "^2.6", + "laminas/laminas-developer-tools": "^1.1", + "laminas/laminas-i18n": "^2.7.3", + "laminas/laminas-log": "^2.9", + "laminas/laminas-modulemanager": "^2.7.2", + "laminas/laminas-mvc-console": "^1.2", + "laminas/laminas-serializer": "^2.8", + "ocramius/proxy-manager": "^2.2", + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "^3.5", + "vimeo/psalm": "^4.3" }, "suggest": { "doctrine/migrations": "doctrine migrations if you want to keep your schema definitions versioned", - "zendframework/zend-developer-tools": "zend-developer-tools if you want to profile operations executed by the ORM during development", - "zendframework/zend-form": "if you want to use form elements backed by Doctrine" + "laminas/laminas-developer-tools": "laminas-developer-tools if you want to profile operations executed by the ORM during development", + "laminas/laminas-form": "if you want to use form elements backed by Doctrine" }, "type": "library", "extra": { - "zf": { + "laminas": { "config-provider": "DoctrineORMModule\\ConfigProvider", "module": "DoctrineORMModule" } }, "autoload": { - "files": [ - "src/autoload.php" - ], "psr-0": { "DoctrineORMModule\\": "src/" } @@ -6251,21 +7287,109 @@ { "name": "Guilherme Blanco", "email": "guilhermeblanco@hotmail.com" + }, + { + "name": "Tom H Anderson", + "email": "tom.h.anderson@gmail.com" } ], - "description": "Zend Framework Module that provides Doctrine ORM functionality", + "description": "Laminas Module that provides Doctrine ORM functionality", "homepage": "http://www.doctrine-project.org/", "keywords": [ "doctrine", + "laminas", "module", - "orm", - "zf" + "orm" ], "support": { "issues": "https://github.com/doctrine/DoctrineORMModule/issues", - "source": "https://github.com/doctrine/DoctrineORMModule/tree/master" + "source": "https://github.com/doctrine/DoctrineORMModule/tree/4.0.2" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fdoctrine-orm-module", + "type": "tidelift" + } + ], + "time": "2021-10-18T17:01:29+00:00" + }, + { + "name": "doctrine/instantiator", + "version": "1.4.1", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", + "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^0.16 || ^1", + "phpstan/phpstan": "^1.4", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.22" }, - "time": "2019-11-23T22:00:58+00:00" + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-03-03T08:28:38+00:00" }, { "name": "doctrine/mongodb", @@ -6647,24 +7771,28 @@ }, { "name": "jean85/pretty-package-versions", - "version": "1.6.0", + "version": "2.0.5", "source": { "type": "git", "url": "https://github.com/Jean85/pretty-package-versions.git", - "reference": "1e0104b46f045868f11942aea058cd7186d6c303" + "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/1e0104b46f045868f11942aea058cd7186d6c303", - "reference": "1e0104b46f045868f11942aea058cd7186d6c303", + "url": "https://api.github.com/repos/Jean85/pretty-package-versions/zipball/ae547e455a3d8babd07b96966b17d7fd21d9c6af", + "reference": "ae547e455a3d8babd07b96966b17d7fd21d9c6af", "shasum": "" }, "require": { - "composer/package-versions-deprecated": "^1.8.0", - "php": "^7.0|^8.0" + "composer-runtime-api": "^2.0.0", + "php": "^7.1|^8.0" }, "require-dev": { - "phpunit/phpunit": "^6.0|^8.5|^9.2" + "friendsofphp/php-cs-fixer": "^2.17", + "jean85/composer-provided-replaced-stub-package": "^1.0", + "phpstan/phpstan": "^0.12.66", + "phpunit/phpunit": "^7.5|^8.5|^9.4", + "vimeo/psalm": "^4.3" }, "type": "library", "extra": { @@ -6687,7 +7815,7 @@ "email": "alessandro.lai85@gmail.com" } ], - "description": "A wrapper for ocramius/package-versions to get pretty versions strings", + "description": "A library to get pretty versions strings of installed dependencies", "keywords": [ "composer", "package", @@ -6696,22 +7824,22 @@ ], "support": { "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/1.6.0" + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.5" }, - "time": "2021-02-04T16:20:16+00:00" + "time": "2021-10-08T21:21:46+00:00" }, { "name": "laminas-api-tools/api-tools-admin", - "version": "1.9.0", + "version": "1.10.3", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-admin.git", - "reference": "e956eab5b16f5d70a92b8529dc20871d4557f10c" + "reference": "6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin/zipball/e956eab5b16f5d70a92b8529dc20871d4557f10c", - "reference": "e956eab5b16f5d70a92b8529dc20871d4557f10c", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin/zipball/6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef", + "reference": "6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef", "shasum": "" }, "require": { @@ -6728,29 +7856,35 @@ "laminas-api-tools/api-tools-rest": "^1.4", "laminas-api-tools/api-tools-rpc": "^1.4", "laminas-api-tools/api-tools-versioning": "^1.3", - "laminas/laminas-code": "^2.6.3 || ^3.2 || ^4.0", - "laminas/laminas-eventmanager": "^2.6.3 || ^3.0.1", + "laminas/laminas-code": "^3.5 || ^4.0", + "laminas/laminas-eventmanager": "^3.2", "laminas/laminas-filter": "^2.8", "laminas/laminas-http": "^2.8", - "laminas/laminas-hydrator": "^1.1 || ^2.4 || ^3.0", + "laminas/laminas-hydrator": "^3.0 || ^4.0", "laminas/laminas-inputfilter": "^2.8.1", "laminas/laminas-modulemanager": "^2.8.2", "laminas/laminas-mvc": "^2.7.15 || ^3.1.1", "laminas/laminas-servicemanager": "^2.7.10 || ^3.3.2", - "laminas/laminas-stdlib": "^2.7.7 || ^3.2", + "laminas/laminas-stdlib": "^2.7.8 || ^3.2.1", "laminas/laminas-validator": "^2.10.2", "laminas/laminas-view": "^2.10", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0" + "laminas/laminas-zendframework-bridge": "^1.1", + "php": "^7.3 || ~8.0.0", + "webmozart/assert": "^1.10" }, "replace": { "zfcampus/zf-apigility-admin": "^1.8.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "alcaeus/mongo-php-adapter": "^1.2", + "ext-sqlite3": "*", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-config": "^2.6 || ^3.2", "laminas/laminas-loader": "^2.6", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.5", + "phpspec/prophecy-phpunit": "^2.0.1", + "phpunit/phpunit": "^9.5.5", + "psalm/plugin-phpunit": "^0.15.0", + "vimeo/psalm": "^4.3", "zfcampus/zf-deploy": "^1.3" }, "bin": [ @@ -6793,26 +7927,26 @@ "type": "community_bridge" } ], - "time": "2021-01-07T08:35:42+00:00" + "time": "2022-01-14T20:50:09+00:00" }, { "name": "laminas-api-tools/api-tools-admin-ui", - "version": "1.4.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-admin-ui.git", - "reference": "f6e89e0a0b65c2e908b5d6abab9c88d38d124b18" + "reference": "c875f0718c2aca20bfe1954693473b6adc921c5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin-ui/zipball/f6e89e0a0b65c2e908b5d6abab9c88d38d124b18", - "reference": "f6e89e0a0b65c2e908b5d6abab9c88d38d124b18", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin-ui/zipball/c875f0718c2aca20bfe1954693473b6adc921c5e", + "reference": "c875f0718c2aca20bfe1954693473b6adc921c5e", "shasum": "" }, "require": { "laminas/laminas-view": "^2.8.1", "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "replace": { "zfcampus/zf-apigility-admin-ui": "^1.3.13" @@ -6856,31 +7990,30 @@ "type": "community_bridge" } ], - "time": "2021-06-09T14:04:35+00:00" + "time": "2022-02-23T20:27:19+00:00" }, { "name": "laminas-api-tools/api-tools-configuration", - "version": "1.4.1", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-configuration.git", - "reference": "7691eb38bdebdb3c9594d993a2d01876a141a23e" + "reference": "4538f8b1e226348cb0a99ddce62fa06af52fadd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-configuration/zipball/7691eb38bdebdb3c9594d993a2d01876a141a23e", - "reference": "7691eb38bdebdb3c9594d993a2d01876a141a23e", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-configuration/zipball/4538f8b1e226348cb0a99ddce62fa06af52fadd9", + "reference": "4538f8b1e226348cb0a99ddce62fa06af52fadd9", "shasum": "" }, "require": { "laminas/laminas-config": "^2.6 || ^3.0", "laminas/laminas-modulemanager": "^2.7.1", "laminas/laminas-stdlib": "^2.7.7 || ^3.0.1", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zfcampus/zf-configuration": "^1.3.3" + "conflict": { + "zfcampus/zf-configuration": "*" }, "require-dev": { "container-interop/container-interop": "^1.1", @@ -6927,41 +8060,43 @@ "type": "community_bridge" } ], - "time": "2021-06-07T18:48:47+00:00" + "time": "2021-09-14T03:57:05+00:00" }, { "name": "laminas/laminas-code", - "version": "4.4.0", + "version": "3.5.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "2b0bb59ade31a045fd3ff0097dc558bb896f6596" + "reference": "b549b70c0bb6e935d497f84f750c82653326ac77" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/2b0bb59ade31a045fd3ff0097dc558bb896f6596", - "reference": "2b0bb59ade31a045fd3ff0097dc558bb896f6596", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/b549b70c0bb6e935d497f84f750c82653326ac77", + "reference": "b549b70c0bb6e935d497f84f750c82653326ac77", "shasum": "" }, "require": { - "php": "^7.4 || ~8.0.0" + "laminas/laminas-eventmanager": "^3.3", + "laminas/laminas-zendframework-bridge": "^1.1", + "php": "^7.3 || ~8.0.0" }, "conflict": { "phpspec/prophecy": "<1.9.0" }, + "replace": { + "zendframework/zend-code": "^3.4.1" + }, "require-dev": { "doctrine/annotations": "^1.10.4", "ext-phar": "*", - "laminas/laminas-coding-standard": "^2.1.4", + "laminas/laminas-coding-standard": "^1.0.0", "laminas/laminas-stdlib": "^3.3.0", - "phpunit/phpunit": "^9.4.2", - "psalm/plugin-phpunit": "^0.14.0", - "vimeo/psalm": "^4.3.1" + "phpunit/phpunit": "^9.4.2" }, "suggest": { "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features", - "laminas/laminas-stdlib": "Laminas\\Stdlib component", - "laminas/laminas-zendframework-bridge": "A bridge with Zend Framework" + "laminas/laminas-stdlib": "Laminas\\Stdlib component" }, "type": "library", "autoload": { @@ -6977,8 +8112,7 @@ "homepage": "https://laminas.dev", "keywords": [ "code", - "laminas", - "laminasframework" + "laminas" ], "support": { "chat": "https://laminas.dev/chat", @@ -6994,7 +8128,7 @@ "type": "community_bridge" } ], - "time": "2021-06-17T13:39:43+00:00" + "time": "2020-11-30T20:16:31+00:00" }, { "name": "laminas/laminas-coding-standard", @@ -7115,100 +8249,38 @@ "abandoned": "laminas/laminas-cli", "time": "2019-12-31T16:31:45+00:00" }, - { - "name": "laminas/laminas-dom", - "version": "2.8.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-dom.git", - "reference": "7e85e8d7d2980c716944b8bb8e4a83c0a0dbe91b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-dom/zipball/7e85e8d7d2980c716944b8bb8e4a83c0a0dbe91b", - "reference": "7e85e8d7d2980c716944b8bb8e4a83c0a0dbe91b", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "laminas/laminas-zendframework-bridge": "^1.1", - "php": "^7.3 || ~8.0.0" - }, - "replace": { - "zendframework/zend-dom": "^2.7.2" - }, - "require-dev": { - "laminas/laminas-coding-standard": "^2.1.4", - "phpunit/phpunit": "^9.4.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7.x-dev", - "dev-develop": "2.8.x-dev" - } - }, - "autoload": { - "psr-4": { - "Laminas\\Dom\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "provides tools for working with DOM documents and structures", - "homepage": "https://laminas.dev", - "keywords": [ - "dom", - "laminas" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-dom/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-dom/issues", - "rss": "https://github.com/laminas/laminas-dom/releases.atom", - "source": "https://github.com/laminas/laminas-dom" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-01-11T14:54:37+00:00" - }, { "name": "laminas/laminas-log", - "version": "2.13.1", + "version": "2.15.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-log.git", - "reference": "6ac20830d4f324b4662fc454fcc1954436bfced3" + "reference": "91964dd3afec183c09cca5bc2b21a930a56d5237" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-log/zipball/6ac20830d4f324b4662fc454fcc1954436bfced3", - "reference": "6ac20830d4f324b4662fc454fcc1954436bfced3", + "url": "https://api.github.com/repos/laminas/laminas-log/zipball/91964dd3afec183c09cca5bc2b21a930a56d5237", + "reference": "91964dd3afec183c09cca5bc2b21a930a56d5237", "shasum": "" }, "require": { "laminas/laminas-servicemanager": "^3.3.0", "laminas/laminas-stdlib": "^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0", + "php": "^7.4 || ~8.0.0 || ~8.1.0", "psr/log": "^1.1.2" }, + "conflict": { + "zendframework/zend-log": "*" + }, "provide": { "psr/log-implementation": "1.0.0" }, - "replace": { - "zendframework/zend-log": "^2.12.0" - }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "ext-dom": "*", + "ext-json": "*", + "ext-xml": "*", + "firephp/firephp-core": "^0.5.3", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-db": "^2.6", "laminas/laminas-escaper": "^2.5", "laminas/laminas-filter": "^2.5", @@ -7216,7 +8288,7 @@ "laminas/laminas-validator": "^2.10.1", "mikey179/vfsstream": "^1.6.7", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.4.1" + "phpunit/phpunit": "^9.5.10" }, "suggest": { "ext-mongo": "mongo extension to use Mongo writer", @@ -7263,33 +8335,32 @@ "type": "community_bridge" } ], - "time": "2021-02-12T16:46:26+00:00" + "time": "2021-12-04T19:23:31+00:00" }, { "name": "laminas/laminas-serializer", - "version": "2.10.1", + "version": "2.12.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-serializer.git", - "reference": "254cf6a17b46d98808c0810939268f63538dcc0c" + "reference": "2826fd71f202569c169456a4b84297da9ff630cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/254cf6a17b46d98808c0810939268f63538dcc0c", - "reference": "254cf6a17b46d98808c0810939268f63538dcc0c", + "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/2826fd71f202569c169456a4b84297da9ff630cd", + "reference": "2826fd71f202569c169456a4b84297da9ff630cd", "shasum": "" }, "require": { "laminas/laminas-json": "^3.1", "laminas/laminas-stdlib": "^3.2", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-serializer": "^2.9.1" + "conflict": { + "zendframework/zend-serializer": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-math": "^3.3", "laminas/laminas-servicemanager": "^3.6", "phpunit/phpunit": "^9.3" @@ -7334,48 +8405,48 @@ "type": "community_bridge" } ], - "time": "2021-02-18T14:21:13+00:00" + "time": "2021-12-06T04:52:05+00:00" }, { "name": "laminas/laminas-test", - "version": "3.5.1", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-test.git", - "reference": "621eced0d747ead65c39ab0fc507f66e9bdca276" + "reference": "ae49929c0060800f0e516cb984620674dfb74458" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-test/zipball/621eced0d747ead65c39ab0fc507f66e9bdca276", - "reference": "621eced0d747ead65c39ab0fc507f66e9bdca276", + "url": "https://api.github.com/repos/laminas/laminas-test/zipball/ae49929c0060800f0e516cb984620674dfb74458", + "reference": "ae49929c0060800f0e516cb984620674dfb74458", "shasum": "" }, "require": { "laminas/laminas-console": "^2.6", - "laminas/laminas-dom": "^2.8", "laminas/laminas-eventmanager": "^3.0", - "laminas/laminas-http": "^2.13", - "laminas/laminas-mvc": "^3.0", + "laminas/laminas-http": "^2.15.0", + "laminas/laminas-mvc": "^3.3.0", "laminas/laminas-servicemanager": "^3.0.3", - "laminas/laminas-stdlib": "^3.3", "laminas/laminas-uri": "^2.5", - "laminas/laminas-view": "^2.6.3", - "laminas/laminas-zendframework-bridge": "^1.1", - "php": "^7.3 || ~8.0.0", - "phpunit/phpunit": "^8.0 || ^9.0" + "laminas/laminas-view": "^2.13.1", + "php": "^7.3 || ~8.0.0 || ~8.1.0", + "phpunit/phpunit": "^8.5.14 || ^9.0", + "symfony/css-selector": "^5.4 || ^6.0", + "symfony/dom-crawler": "^5.4 || ^6.0" }, - "replace": { - "zendframework/zend-test": "^3.3.0" + "conflict": { + "zendframework/zend-test": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-i18n": "^2.6", "laminas/laminas-log": "^2.7.1", "laminas/laminas-modulemanager": "^2.7.1", "laminas/laminas-mvc-console": "^1.1.8", - "laminas/laminas-mvc-plugin-flashmessenger": "^1.0", + "laminas/laminas-mvc-plugin-flashmessenger": "^1.4.0", "laminas/laminas-serializer": "^2.6.1", - "laminas/laminas-session": "^2.8.5", + "laminas/laminas-session": "^2.12.0", + "laminas/laminas-stdlib": "^3.6.0", "laminas/laminas-validator": "^2.8", "mikey179/vfsstream": "^1.6.8", "psalm/plugin-phpunit": "^0.16.0", @@ -7394,7 +8465,7 @@ "license": [ "BSD-3-Clause" ], - "description": "Tools to facilitate unit testing of laminas-mvc applications", + "description": "Tools to facilitate integration testing of laminas-mvc applications", "homepage": "https://laminas.dev", "keywords": [ "laminas", @@ -7414,47 +8485,48 @@ "type": "community_bridge" } ], - "time": "2021-06-14T13:48:54+00:00" + "time": "2021-12-08T04:16:21+00:00" }, { "name": "mongodb/mongodb", - "version": "1.8.0", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/mongodb/mongo-php-library.git", - "reference": "953dbc19443aa9314c44b7217a16873347e6840d" + "reference": "e4aa59ab15b6fe00a0e56b6772f8b515a0f01bf0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/953dbc19443aa9314c44b7217a16873347e6840d", - "reference": "953dbc19443aa9314c44b7217a16873347e6840d", + "url": "https://api.github.com/repos/mongodb/mongo-php-library/zipball/e4aa59ab15b6fe00a0e56b6772f8b515a0f01bf0", + "reference": "e4aa59ab15b6fe00a0e56b6772f8b515a0f01bf0", "shasum": "" }, "require": { "ext-hash": "*", "ext-json": "*", - "ext-mongodb": "^1.8.1", - "jean85/pretty-package-versions": "^1.2", - "php": "^7.0 || ^8.0", + "ext-mongodb": "^1.12.0", + "jean85/pretty-package-versions": "^1.2 || ^2.0.1", + "php": "^7.2 || ^8.0", "symfony/polyfill-php80": "^1.19" }, "require-dev": { - "squizlabs/php_codesniffer": "^3.5, <3.5.5", - "symfony/phpunit-bridge": "5.x-dev" + "doctrine/coding-standard": "^9.0", + "squizlabs/php_codesniffer": "^3.6", + "symfony/phpunit-bridge": "^5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.8.x-dev" + "dev-master": "1.11.x-dev" } }, "autoload": { - "psr-4": { - "MongoDB\\": "src/" - }, "files": [ "src/functions.php" - ] + ], + "psr-4": { + "MongoDB\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7480,43 +8552,44 @@ ], "support": { "issues": "https://github.com/mongodb/mongo-php-library/issues", - "source": "https://github.com/mongodb/mongo-php-library/tree/1.8.0" + "source": "https://github.com/mongodb/mongo-php-library/tree/1.11.0" }, - "time": "2020-11-25T12:26:02+00:00" + "time": "2021-12-14T23:38:18+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.10.2", + "version": "1.11.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220" + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220", - "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614", + "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, - "replace": { - "myclabs/deep-copy": "self.version" + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" }, "require-dev": { - "doctrine/collections": "^1.0", - "doctrine/common": "^2.6", - "phpunit/phpunit": "^7.1" + "doctrine/collections": "^1.6.8", + "doctrine/common": "^2.13.3 || ^3.2.2", + "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", "autoload": { - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - }, "files": [ "src/DeepCopy/deep_copy.php" - ] + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -7532,7 +8605,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2" + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0" }, "funding": [ { @@ -7540,7 +8613,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T09:40:50+00:00" + "time": "2022-03-03T13:19:32+00:00" }, { "name": "netresearch/jsonmapper", @@ -7648,16 +8721,16 @@ }, { "name": "phar-io/manifest", - "version": "2.0.1", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133" + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", - "reference": "85265efd3af7ba3ca4b2a2c34dbfc5788dd29133", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", "shasum": "" }, "require": { @@ -7702,22 +8775,22 @@ "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", "support": { "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/master" + "source": "https://github.com/phar-io/manifest/tree/2.0.3" }, - "time": "2020-06-27T14:33:11+00:00" + "time": "2021-07-20T11:28:43+00:00" }, { "name": "phar-io/version", - "version": "3.1.0", + "version": "3.2.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "bae7c545bef187884426f042434e561ab1ddb182" + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182", - "reference": "bae7c545bef187884426f042434e561ab1ddb182", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", "shasum": "" }, "require": { @@ -7753,9 +8826,9 @@ "description": "Library for handling version information and constraints", "support": { "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.1.0" + "source": "https://github.com/phar-io/version/tree/3.2.1" }, - "time": "2021-02-23T14:00:09+00:00" + "time": "2022-02-21T01:04:05+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -7812,16 +8885,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.2.2", + "version": "5.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556" + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556", - "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", "shasum": "" }, "require": { @@ -7832,7 +8905,8 @@ "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2" + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -7862,22 +8936,22 @@ "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" }, - "time": "2020-09-03T19:13:55+00:00" + "time": "2021-10-19T17:43:47+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "1.4.0", + "version": "1.6.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0" + "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", - "reference": "6a467b8989322d92aa1c8bf2bebcc6e5c2ba55c0", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706", + "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706", "shasum": "" }, "require": { @@ -7885,7 +8959,8 @@ "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "ext-tokenizer": "*" + "ext-tokenizer": "*", + "psalm/phar": "^4.8" }, "type": "library", "extra": { @@ -7911,39 +8986,39 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.4.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0" }, - "time": "2020-09-17T18:55:26+00:00" + "time": "2022-01-04T19:58:01+00:00" }, { "name": "phpspec/prophecy", - "version": "1.13.0", + "version": "v1.15.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea" + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/be1996ed8adc35c3fd795488a653f4b518be70ea", - "reference": "be1996ed8adc35c3fd795488a653f4b518be70ea", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/bbcd7380b0ebf3961ee21409db7b38bc31d69a13", + "reference": "bbcd7380b0ebf3961ee21409db7b38bc31d69a13", "shasum": "" }, "require": { "doctrine/instantiator": "^1.2", - "php": "^7.2 || ~8.0, <8.1", + "php": "^7.2 || ~8.0, <8.2", "phpdocumentor/reflection-docblock": "^5.2", "sebastian/comparator": "^3.0 || ^4.0", "sebastian/recursion-context": "^3.0 || ^4.0" }, "require-dev": { - "phpspec/phpspec": "^6.0", + "phpspec/phpspec": "^6.0 || ^7.0", "phpunit/phpunit": "^8.0 || ^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.11.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { @@ -7978,9 +9053,9 @@ ], "support": { "issues": "https://github.com/phpspec/prophecy/issues", - "source": "https://github.com/phpspec/prophecy/tree/1.13.0" + "source": "https://github.com/phpspec/prophecy/tree/v1.15.0" }, - "time": "2021-03-17T13:42:18+00:00" + "time": "2021-12-08T12:19:24+00:00" }, { "name": "phpspec/prophecy-phpunit", @@ -8036,34 +9111,33 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "0.5.4", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9" + "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", - "reference": "e352d065af1ae9b41c12d1dfd309e90f7b1f55c9", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "phing/phing": "^2.16.3", "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.60", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^7.5.20", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.5-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -8080,29 +9154,29 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/0.5.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.2.0" }, - "time": "2021-04-03T14:46:19+00:00" + "time": "2021-09-16T20:46:02+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.6", + "version": "9.2.15", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f6293e1b30a2354e8428e004689671b83871edde" + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f6293e1b30a2354e8428e004689671b83871edde", - "reference": "f6293e1b30a2354e8428e004689671b83871edde", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2e9da11878c4202f97915c1cb4bb1ca318a63f5f", + "reference": "2e9da11878c4202f97915c1cb4bb1ca318a63f5f", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.10.2", + "nikic/php-parser": "^4.13.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -8151,7 +9225,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.6" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.15" }, "funding": [ { @@ -8159,20 +9233,20 @@ "type": "github" } ], - "time": "2021-03-28T07:26:59+00:00" + "time": "2022-03-07T09:28:20+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "3.0.5", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/aa4be8575f26070b100fccb67faabb28f21f66f8", - "reference": "aa4be8575f26070b100fccb67faabb28f21f66f8", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { @@ -8211,7 +9285,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.5" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { @@ -8219,7 +9293,7 @@ "type": "github" } ], - "time": "2020-09-28T05:57:25+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", @@ -8404,16 +9478,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.6", + "version": "9.5.18", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb" + "reference": "1b5856028273bfd855e60a887278857d872ec67a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb", - "reference": "fb9b8333f14e3dce976a60ef6a7e05c7c7ed8bfb", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b5856028273bfd855e60a887278857d872ec67a", + "reference": "1b5856028273bfd855e60a887278857d872ec67a", "shasum": "" }, "require": { @@ -8425,11 +9499,11 @@ "ext-xml": "*", "ext-xmlwriter": "*", "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.1", + "phar-io/manifest": "^2.0.3", "phar-io/version": "^3.0.2", "php": ">=7.3", "phpspec/prophecy": "^1.12.1", - "phpunit/php-code-coverage": "^9.2.3", + "phpunit/php-code-coverage": "^9.2.13", "phpunit/php-file-iterator": "^3.0.5", "phpunit/php-invoker": "^3.1.1", "phpunit/php-text-template": "^2.0.3", @@ -8464,11 +9538,11 @@ } }, "autoload": { - "classmap": [ - "src/" - ], "files": [ "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" ] }, "notification-url": "https://packagist.org/downloads/", @@ -8491,11 +9565,11 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.6" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.18" }, "funding": [ { - "url": "https://phpunit.de/donate.html", + "url": "https://phpunit.de/sponsors.html", "type": "custom" }, { @@ -8503,7 +9577,7 @@ "type": "github" } ], - "time": "2021-06-23T05:14:38+00:00" + "time": "2022-03-08T06:52:28+00:00" }, { "name": "psalm/plugin-phpunit", @@ -9044,16 +10118,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.3", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65" + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/d89cc98761b8cb5a1a235a6b703ae50d34080e65", - "reference": "d89cc98761b8cb5a1a235a6b703ae50d34080e65", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", "shasum": "" }, "require": { @@ -9102,14 +10176,14 @@ } ], "description": "Provides the functionality to export PHP variables for visualization", - "homepage": "http://www.github.com/sebastianbergmann/exporter", + "homepage": "https://www.github.com/sebastianbergmann/exporter", "keywords": [ "export", "exporter" ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.3" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" }, "funding": [ { @@ -9117,20 +10191,20 @@ "type": "github" } ], - "time": "2020-09-28T05:24:23+00:00" + "time": "2021-11-11T14:18:36+00:00" }, { "name": "sebastian/global-state", - "version": "5.0.3", + "version": "5.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49" + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/23bd5951f7ff26f12d4e3242864df3e08dec4e49", - "reference": "23bd5951f7ff26f12d4e3242864df3e08dec4e49", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ca8db5a5fc9c8646244e629625ac486fa286bf2", + "reference": "0ca8db5a5fc9c8646244e629625ac486fa286bf2", "shasum": "" }, "require": { @@ -9173,7 +10247,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.3" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" }, "funding": [ { @@ -9181,7 +10255,7 @@ "type": "github" } ], - "time": "2021-06-11T13:31:12+00:00" + "time": "2022-02-14T08:28:10+00:00" }, { "name": "sebastian/lines-of-code", @@ -9581,32 +10655,32 @@ }, { "name": "slevomat/coding-standard", - "version": "7.0.9", + "version": "7.0.19", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "d59652e000bcde019459dcba677de030867d0232" + "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/d59652e000bcde019459dcba677de030867d0232", - "reference": "d59652e000bcde019459dcba677de030867d0232", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", + "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "0.5.1 - 0.5.4", - "squizlabs/php_codesniffer": "^3.6.0" + "phpstan/phpdoc-parser": "^1.0.0", + "squizlabs/php_codesniffer": "^3.6.2" }, "require-dev": { - "phing/phing": "2.16.4", - "php-parallel-lint/php-parallel-lint": "1.3.0", - "phpstan/phpstan": "0.12.88", - "phpstan/phpstan-deprecation-rules": "0.12.6", - "phpstan/phpstan-phpunit": "0.12.19", - "phpstan/phpstan-strict-rules": "0.12.9", - "phpunit/phpunit": "7.5.20|8.5.5|9.5.5" + "phing/phing": "2.17.2", + "php-parallel-lint/php-parallel-lint": "1.3.2", + "phpstan/phpstan": "1.4.6", + "phpstan/phpstan-deprecation-rules": "1.0.0", + "phpstan/phpstan-phpunit": "1.0.0", + "phpstan/phpstan-strict-rules": "1.1.0", + "phpunit/phpunit": "7.5.20|8.5.21|9.5.16" }, "type": "phpcodesniffer-standard", "extra": { @@ -9626,7 +10700,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.9" + "source": "https://github.com/slevomat/coding-standard/tree/7.0.19" }, "funding": [ { @@ -9638,20 +10712,20 @@ "type": "tidelift" } ], - "time": "2021-06-07T10:08:42+00:00" + "time": "2022-03-01T18:01:41+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.6.0", + "version": "3.6.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625" + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ffced0d2c8fa8e6cdc4d695a743271fab6c38625", - "reference": "ffced0d2c8fa8e6cdc4d695a743271fab6c38625", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", "shasum": "" }, "require": { @@ -9694,32 +10768,173 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, - "time": "2021-04-09T00:54:41+00:00" + "time": "2021-12-12T21:44:58+00:00" + }, + { + "name": "symfony/css-selector", + "version": "v5.4.3", + "source": { + "type": "git", + "url": "https://github.com/symfony/css-selector.git", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/b0a190285cd95cb019237851205b8140ef6e368e", + "reference": "b0a190285cd95cb019237851205b8140ef6e368e", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\CssSelector\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Jean-FranƧois Simon", + "email": "jeanfrancois.simon@sensiolabs.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Converts CSS selectors to XPath expressions", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/css-selector/tree/v5.4.3" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-01-02T09:53:40+00:00" + }, + { + "name": "symfony/dom-crawler", + "version": "v5.4.6", + "source": { + "type": "git", + "url": "https://github.com/symfony/dom-crawler.git", + "reference": "c0bda97480d96337bd3866026159a8b358665457" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/c0bda97480d96337bd3866026159a8b358665457", + "reference": "c0bda97480d96337bd3866026159a8b358665457", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "masterminds/html5": "<2.6" + }, + "require-dev": { + "masterminds/html5": "^2.6", + "symfony/css-selector": "^4.4|^5.0|^6.0" + }, + "suggest": { + "symfony/css-selector": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\DomCrawler\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Eases DOM navigation for HTML and XML documents", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.6" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-03-02T12:42:23+00:00" }, { "name": "symfony/yaml", - "version": "v5.3.2", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "71719ab2409401711d619765aa255f9d352a59b2" + "reference": "e80f87d2c9495966768310fc531b487ce64237a2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/71719ab2409401711d619765aa255f9d352a59b2", - "reference": "71719ab2409401711d619765aa255f9d352a59b2", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e80f87d2c9495966768310fc531b487ce64237a2", + "reference": "e80f87d2c9495966768310fc531b487ce64237a2", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1", - "symfony/polyfill-ctype": "~1.8" + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<4.4" + "symfony/console": "<5.3" }, "require-dev": { - "symfony/console": "^4.4|^5.0" + "symfony/console": "^5.3|^6.0" }, "suggest": { "symfony/console": "For validating YAML files using the lint command" @@ -9753,7 +10968,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v5.3.2" + "source": "https://github.com/symfony/yaml/tree/v5.4.3" }, "funding": [ { @@ -9769,20 +10984,20 @@ "type": "tidelift" } ], - "time": "2021-06-06T09:51:56+00:00" + "time": "2022-01-26T16:32:32+00:00" }, { "name": "theseer/tokenizer", - "version": "1.2.0", + "version": "1.2.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "75a63c33a8577608444246075ea0af0d052e452a" + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/75a63c33a8577608444246075ea0af0d052e452a", - "reference": "75a63c33a8577608444246075ea0af0d052e452a", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/34a41e998c2183e22995f158c581e7b5e755ab9e", + "reference": "34a41e998c2183e22995f158c581e7b5e755ab9e", "shasum": "" }, "require": { @@ -9811,7 +11026,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/master" + "source": "https://github.com/theseer/tokenizer/tree/1.2.1" }, "funding": [ { @@ -9819,20 +11034,20 @@ "type": "github" } ], - "time": "2020-07-12T23:59:07+00:00" + "time": "2021-07-28T10:34:58+00:00" }, { "name": "vimeo/psalm", - "version": "4.8.1", + "version": "4.22.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "f73f2299dbc59a3e6c4d66cff4605176e728ee69" + "reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/f73f2299dbc59a3e6c4d66cff4605176e728ee69", - "reference": "f73f2299dbc59a3e6c4d66cff4605176e728ee69", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/fc2c6ab4d5fa5d644d8617089f012f3bb84b8703", + "reference": "fc2c6ab4d5fa5d644d8617089f012f3bb84b8703", "shasum": "" }, "require": { @@ -9840,8 +11055,9 @@ "amphp/byte-stream": "^1.5", "composer/package-versions-deprecated": "^1.8.0", "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^1.1 || ^2.0", + "composer/xdebug-handler": "^1.1 || ^2.0 || ^3.0", "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-ctype": "*", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -9851,11 +11067,11 @@ "felixfbecker/advanced-json-rpc": "^3.0.3", "felixfbecker/language-server-protocol": "^1.5", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.10.5", + "nikic/php-parser": "^4.13", "openlss/lib-array2xml": "^1.0", "php": "^7.1|^8", "sebastian/diff": "^3.0 || ^4.0", - "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0", + "symfony/console": "^3.4.17 || ^4.1.6 || ^5.0 || ^6.0", "webmozart/path-util": "^2.3" }, "provide": { @@ -9873,12 +11089,12 @@ "psalm/plugin-phpunit": "^0.16", "slevomat/coding-standard": "^7.0", "squizlabs/php_codesniffer": "^3.5", - "symfony/process": "^4.3 || ^5.0", - "weirdan/phpunit-appveyor-reporter": "^1.0.0", + "symfony/process": "^4.3 || ^5.0 || ^6.0", "weirdan/prophecy-shim": "^1.0 || ^2.0" }, "suggest": { - "ext-igbinary": "^2.0.5" + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" }, "bin": [ "psalm", @@ -9897,13 +11113,13 @@ } }, "autoload": { - "psr-4": { - "Psalm\\": "src/Psalm/" - }, "files": [ "src/functions.php", "src/spl_object_id.php" - ] + ], + "psr-4": { + "Psalm\\": "src/Psalm/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -9922,30 +11138,30 @@ ], "support": { "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm/tree/4.8.1" + "source": "https://github.com/vimeo/psalm/tree/4.22.0" }, - "time": "2021-06-20T23:03:20+00:00" + "time": "2022-02-24T20:34:05+00:00" }, { "name": "webimpress/coding-standard", - "version": "1.2.2", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/webimpress/coding-standard.git", - "reference": "8f4a220de33f471a8101836f7ec72b852c3f9f03" + "reference": "cd0c4b0b97440c337c1f7da17b524674ca2f9ca9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webimpress/coding-standard/zipball/8f4a220de33f471a8101836f7ec72b852c3f9f03", - "reference": "8f4a220de33f471a8101836f7ec72b852c3f9f03", + "url": "https://api.github.com/repos/webimpress/coding-standard/zipball/cd0c4b0b97440c337c1f7da17b524674ca2f9ca9", + "reference": "cd0c4b0b97440c337c1f7da17b524674ca2f9ca9", "shasum": "" }, "require": { "php": "^7.3 || ^8.0", - "squizlabs/php_codesniffer": "^3.6" + "squizlabs/php_codesniffer": "^3.6.2" }, "require-dev": { - "phpunit/phpunit": "^9.5.4" + "phpunit/phpunit": "^9.5.13" }, "type": "phpcodesniffer-standard", "extra": { @@ -9971,7 +11187,7 @@ ], "support": { "issues": "https://github.com/webimpress/coding-standard/issues", - "source": "https://github.com/webimpress/coding-standard/tree/1.2.2" + "source": "https://github.com/webimpress/coding-standard/tree/1.2.4" }, "funding": [ { @@ -9979,7 +11195,7 @@ "type": "github" } ], - "time": "2021-04-12T12:51:27+00:00" + "time": "2022-02-15T19:52:12+00:00" }, { "name": "webmozart/path-util", @@ -10029,6 +11245,7 @@ "issues": "https://github.com/webmozart/path-util/issues", "source": "https://github.com/webmozart/path-util/tree/2.3.0" }, + "abandoned": "symfony/filesystem", "time": "2015-12-17T08:42:14+00:00" } ], @@ -10041,5 +11258,5 @@ "php": "^7.3 || ~8.0.0" }, "platform-dev": [], - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.2.0" } From 831b12d383f64df15eed519e7d4472f8677adc2d Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Tue, 15 Mar 2022 18:22:03 +0200 Subject: [PATCH 06/12] #28 Updated a versions in composer.json and added return types. --- composer.json | 10 ++-- composer.lock | 46 +++++++++---------- src/Server/Event/DoctrineResourceEvent.php | 6 +-- .../Event/Listener/CollectionListener.php | 6 +-- .../CreateFilter/AbstractCreateFilter.php | 4 +- .../Query/Provider/AbstractQueryProvider.php | 4 +- src/Server/Resource/DoctrineResource.php | 10 ++-- test/config/ODM/application.config.php | 2 +- test/config/ORM/application.config.php | 2 +- test/config/application.config.php | 2 +- test/config/testing.config.php | 1 - 11 files changed, 44 insertions(+), 49 deletions(-) diff --git a/composer.json b/composer.json index c247f80f..566553f1 100644 --- a/composer.json +++ b/composer.json @@ -32,10 +32,10 @@ } }, "require": { - "php": "^7.3 || ~8.0.0", + "php": "^7.4 || ~8.0.0", "laminas-api-tools/api-tools": "^1.3", "laminas-api-tools/api-tools-rest": "^1.3.2", - "laminas/laminas-hydrator": "^2.4.2 || ^3.0 || ^4.0", + "laminas/laminas-hydrator": "^3.0 || ^4.0", "laminas/laminas-stdlib": "^3.3", "laminas/laminas-view": "^2.11.3", "laminas/laminas-zendframework-bridge": "^1.0", @@ -49,7 +49,7 @@ "laminas-api-tools/api-tools-admin": "^1.5.7", "laminas-api-tools/api-tools-hal": "^1.6.1", "laminas/laminas-coding-standard": "~2.3.0", - "laminas/laminas-form": "^2.9.2", + "laminas/laminas-form": "^2.9.2 || ^3.1.1", "laminas/laminas-i18n": "^2.7.3", "laminas/laminas-log": "^2.9.1", "laminas/laminas-mvc": "^2.7.13 || ^3.0.2", @@ -64,7 +64,9 @@ }, "conflict": { "doctrine/dbal": "<2.12.0", - "doctrine/orm": "<2.6.3" + "doctrine/orm": "<2.6.3", + "doctrine/doctrine-module": "<4.0", + "doctrine/doctrine-orm-module": "<4.0" }, "suggest": { "api-skeletons/zf-doctrine-hydrator": "Hydrator strategies for Doctrine in Laminas API Tools", diff --git a/composer.lock b/composer.lock index 5c62ecc4..7b6fe413 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": "891f6e6377ca38050688c2242ae5f618", + "content-hash": "0c018df0a4b8414426b9e4458889666c", "packages": [ { "name": "api-skeletons/doctrine-orm-hydration-module", @@ -6694,16 +6694,16 @@ }, { "name": "composer/semver", - "version": "3.2.9", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649" + "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/a951f614bd64dcd26137bc9b7b2637ddcfc57649", - "reference": "a951f614bd64dcd26137bc9b7b2637ddcfc57649", + "url": "https://api.github.com/repos/composer/semver/zipball/f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b", + "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b", "shasum": "" }, "require": { @@ -6755,7 +6755,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.2.9" + "source": "https://github.com/composer/semver/tree/3.3.0" }, "funding": [ { @@ -6771,7 +6771,7 @@ "type": "tidelift" } ], - "time": "2022-02-04T13:58:43+00:00" + "time": "2022-03-15T08:35:57+00:00" }, { "name": "composer/xdebug-handler", @@ -9478,16 +9478,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.18", + "version": "9.5.19", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "1b5856028273bfd855e60a887278857d872ec67a" + "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1b5856028273bfd855e60a887278857d872ec67a", - "reference": "1b5856028273bfd855e60a887278857d872ec67a", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/35ea4b7f3acabb26f4bb640f8c30866c401da807", + "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807", "shasum": "" }, "require": { @@ -9517,7 +9517,7 @@ "sebastian/global-state": "^5.0.1", "sebastian/object-enumerator": "^4.0.3", "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^2.3.4", + "sebastian/type": "^3.0", "sebastian/version": "^3.0.2" }, "require-dev": { @@ -9565,7 +9565,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.18" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.19" }, "funding": [ { @@ -9577,7 +9577,7 @@ "type": "github" } ], - "time": "2022-03-08T06:52:28+00:00" + "time": "2022-03-15T09:57:31+00:00" }, { "name": "psalm/plugin-phpunit", @@ -10546,28 +10546,28 @@ }, { "name": "sebastian/type", - "version": "2.3.4", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914" + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b8cd8a1c753c90bc1a0f5372170e3e489136f914", - "reference": "b8cd8a1c753c90bc1a0f5372170e3e489136f914", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^9.3" + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.3-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -10590,7 +10590,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/2.3.4" + "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" }, "funding": [ { @@ -10598,7 +10598,7 @@ "type": "github" } ], - "time": "2021-06-15T12:49:02+00:00" + "time": "2022-03-15T09:54:48+00:00" }, { "name": "sebastian/version", @@ -11255,7 +11255,7 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": "^7.3 || ~8.0.0" + "php": "^7.4 || ~8.0.0" }, "platform-dev": [], "plugin-api-version": "2.2.0" diff --git a/src/Server/Event/DoctrineResourceEvent.php b/src/Server/Event/DoctrineResourceEvent.php index b0ab0441..98376039 100644 --- a/src/Server/Event/DoctrineResourceEvent.php +++ b/src/Server/Event/DoctrineResourceEvent.php @@ -51,7 +51,7 @@ class DoctrineResourceEvent extends Event /** * @return ObjectManager */ - public function getObjectManager() + public function getObjectManager(): ObjectManager { return $this->objectManager; } @@ -59,11 +59,9 @@ public function getObjectManager() /** * @return $this */ - public function setObjectManager(ObjectManager $objectManager) + public function setObjectManager(ObjectManager $objectManager): void { $this->objectManager = $objectManager; - - return $this; } /** diff --git a/src/Server/Event/Listener/CollectionListener.php b/src/Server/Event/Listener/CollectionListener.php index dc5a3562..9db2925d 100644 --- a/src/Server/Event/Listener/CollectionListener.php +++ b/src/Server/Event/Listener/CollectionListener.php @@ -399,7 +399,7 @@ public function setObjectData($objectData) /** * @return ObjectManager */ - public function getObjectManager() + public function getObjectManager(): ObjectManager { return $this->objectManager; } @@ -407,11 +407,9 @@ public function getObjectManager() /** * @return $this */ - public function setObjectManager(ObjectManager $objectManager) + public function setObjectManager(ObjectManager $objectManager): void { $this->objectManager = $objectManager; - - return $this; } /** diff --git a/src/Server/Query/CreateFilter/AbstractCreateFilter.php b/src/Server/Query/CreateFilter/AbstractCreateFilter.php index cf9ecc3f..22138cd7 100644 --- a/src/Server/Query/CreateFilter/AbstractCreateFilter.php +++ b/src/Server/Query/CreateFilter/AbstractCreateFilter.php @@ -25,7 +25,7 @@ abstract public function filter(ResourceEvent $event, $entityClass, $data); * * @return void */ - public function setObjectManager(ObjectManager $objectManager) + public function setObjectManager(ObjectManager $objectManager): void { $this->objectManager = $objectManager; } @@ -35,7 +35,7 @@ public function setObjectManager(ObjectManager $objectManager) * * @return ObjectManager */ - public function getObjectManager() + public function getObjectManager(): ObjectManager { return $this->objectManager; } diff --git a/src/Server/Query/Provider/AbstractQueryProvider.php b/src/Server/Query/Provider/AbstractQueryProvider.php index e40c88fd..62f7c134 100644 --- a/src/Server/Query/Provider/AbstractQueryProvider.php +++ b/src/Server/Query/Provider/AbstractQueryProvider.php @@ -22,7 +22,7 @@ abstract class AbstractQueryProvider implements ObjectManagerAwareInterface, Que * * @return void */ - public function setObjectManager(ObjectManager $objectManager) + public function setObjectManager(ObjectManager $objectManager): void { $this->objectManager = $objectManager; } @@ -32,7 +32,7 @@ public function setObjectManager(ObjectManager $objectManager) * * @return ObjectManager */ - public function getObjectManager() + public function getObjectManager(): ObjectManager { return $this->objectManager; } diff --git a/src/Server/Resource/DoctrineResource.php b/src/Server/Resource/DoctrineResource.php index 8ead8b63..5b871a18 100644 --- a/src/Server/Resource/DoctrineResource.php +++ b/src/Server/Resource/DoctrineResource.php @@ -162,7 +162,7 @@ public function getEventManager() * * @return void */ - public function setObjectManager(ObjectManager $objectManager) + public function setObjectManager(ObjectManager $objectManager): void { $this->objectManager = $objectManager; } @@ -172,7 +172,7 @@ public function setObjectManager(ObjectManager $objectManager) * * @return ObjectManager|EntityManagerInterface */ - public function getObjectManager() + public function getObjectManager(): ObjectManager { return $this->objectManager; } @@ -297,17 +297,15 @@ public function getMultiKeyDelimiter() /** * @return $this */ - public function setHydrator(HydratorInterface $hydrator) + public function setHydrator(HydratorInterface $hydrator): void { $this->hydrator = $hydrator; - - return $this; } /** * @return HydratorInterface */ - public function getHydrator() + public function getHydrator(): HydratorInterface { if (! $this->hydrator) { // FIXME: find a way to test this line from a created API. Shouldn't all created API's have a hydrator? diff --git a/test/config/ODM/application.config.php b/test/config/ODM/application.config.php index 32099009..49adf718 100644 --- a/test/config/ODM/application.config.php +++ b/test/config/ODM/application.config.php @@ -6,7 +6,7 @@ 'modules' => [ 'DoctrineModule', 'DoctrineMongoODMModule', - 'Phpro\DoctrineHydrationModule', + 'ApiSkeletons\DoctrineORMHydrationModule', 'Laminas\ApiTools', 'Laminas\ApiTools\Admin', 'Laminas\ApiTools\Hal', diff --git a/test/config/ORM/application.config.php b/test/config/ORM/application.config.php index b5287f33..a9efc5d5 100644 --- a/test/config/ORM/application.config.php +++ b/test/config/ORM/application.config.php @@ -6,7 +6,7 @@ 'modules' => [ 'DoctrineModule', 'DoctrineORMModule', - 'Phpro\DoctrineHydrationModule', + 'ApiSkeletons\DoctrineORMHydrationModule', 'Laminas\ApiTools', 'Laminas\ApiTools\Admin', 'Laminas\ApiTools\Hal', diff --git a/test/config/application.config.php b/test/config/application.config.php index ce8f5236..e920be8b 100644 --- a/test/config/application.config.php +++ b/test/config/application.config.php @@ -6,7 +6,7 @@ 'modules' => [ 'DoctrineModule', 'DoctrineORMModule', - 'Phpro\DoctrineHydrationModule', + 'ApiSkeletons\DoctrineORMHydrationModule', 'Laminas\ApiTools', 'Laminas\ApiTools\Admin', 'Laminas\ApiTools\Hal', diff --git a/test/config/testing.config.php b/test/config/testing.config.php index 61d2dfe8..7a5d06ef 100644 --- a/test/config/testing.config.php +++ b/test/config/testing.config.php @@ -2,7 +2,6 @@ declare(strict_types=1); -use Doctrine\DBAL\Driver\PDOSqlite\Driver; use Doctrine\DBAL\Driver\PDOSqlite\Driver; return [ From 37a292a3645da3b33831abe37b9f507795818b8d Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Wed, 20 Apr 2022 15:00:06 +0300 Subject: [PATCH 07/12] #28 Removed ODM support, fixed dependencies and PHPUnit tests. --- composer.json | 8 +- composer.lock | 2585 ++++------------- .../Model/DoctrineAutodiscoveryModelTest.php | 19 - .../Event/Listener/CollectionListenerTest.php | 22 +- test/src/Server/ODM/CRUD/CRUDTest.php | 490 ---- .../Validator/NoObjectExistsFactoryTest.php | 6 +- .../Validator/ObjectExistsFactoryTest.php | 6 +- 7 files changed, 650 insertions(+), 2486 deletions(-) delete mode 100644 test/src/Server/ODM/CRUD/CRUDTest.php diff --git a/composer.json b/composer.json index 566553f1..4a948d1e 100644 --- a/composer.json +++ b/composer.json @@ -42,10 +42,10 @@ "api-skeletons/doctrine-orm-hydration-module": "^1.0" }, "require-dev": { - "doctrine/doctrine-module": "^4.0 || ^5.1", - "doctrine/doctrine-mongo-odm-module": "^0.11.0 || ^1.0.0 || ^2.0.0", - "doctrine/doctrine-orm-module": "^4.0 || ^5.1", - "doctrine/mongodb-odm": "^1.1.0", + "doctrine/common": "^2.1", + "doctrine/dbal": "^2.10", + "doctrine/doctrine-module": "^5.1", + "doctrine/doctrine-orm-module": "^5.1", "laminas-api-tools/api-tools-admin": "^1.5.7", "laminas-api-tools/api-tools-hal": "^1.6.1", "laminas/laminas-coding-standard": "~2.3.0", diff --git a/composer.lock b/composer.lock index 7b6fe413..c5ccb0a9 100644 --- a/composer.lock +++ b/composer.lock @@ -4,25 +4,25 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "0c018df0a4b8414426b9e4458889666c", + "content-hash": "fa85af391aba04e7ed2a7bdad8c5babb", "packages": [ { "name": "api-skeletons/doctrine-orm-hydration-module", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/API-Skeletons/doctrine-orm-hydration-module.git", - "reference": "6495bf6d5b4718fadb74f85bdd0af386e8761700" + "reference": "b6a0138c86b7801d183b37b37673f4f5f598224d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/API-Skeletons/doctrine-orm-hydration-module/zipball/6495bf6d5b4718fadb74f85bdd0af386e8761700", - "reference": "6495bf6d5b4718fadb74f85bdd0af386e8761700", + "url": "https://api.github.com/repos/API-Skeletons/doctrine-orm-hydration-module/zipball/b6a0138c86b7801d183b37b37673f4f5f598224d", + "reference": "b6a0138c86b7801d183b37b37673f4f5f598224d", "shasum": "" }, "require": { - "doctrine/doctrine-laminas-hydrator": "^2.1", - "doctrine/doctrine-module": "^4.1", + "doctrine/doctrine-laminas-hydrator": "^2.1 || ^3.0", + "doctrine/doctrine-module": "^4.1 || ^5.1", "php": "^7.4" }, "require-dev": { @@ -64,9 +64,9 @@ ], "support": { "issues": "https://github.com/API-Skeletons/doctrine-orm-hydration-module/issues", - "source": "https://github.com/API-Skeletons/doctrine-orm-hydration-module/tree/1.0.1" + "source": "https://github.com/API-Skeletons/doctrine-orm-hydration-module/tree/1.0.2" }, - "time": "2021-03-13T22:24:00+00:00" + "time": "2022-03-17T02:18:19+00:00" }, { "name": "brick/varexporter", @@ -173,42 +173,6 @@ }, "time": "2018-12-04T00:29:32+00:00" }, - { - "name": "container-interop/container-interop", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/container-interop/container-interop.git", - "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", - "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", - "shasum": "" - }, - "require": { - "psr/container": "^1.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Interop\\Container\\": "src/Interop/Container/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", - "homepage": "https://github.com/container-interop/container-interop", - "support": { - "issues": "https://github.com/container-interop/container-interop/issues", - "source": "https://github.com/container-interop/container-interop/tree/master" - }, - "abandoned": "psr/container", - "time": "2017-02-14T19:40:03+00:00" - }, { "name": "doctrine/annotations", "version": "1.13.2", @@ -450,136 +414,78 @@ "time": "2021-08-10T18:51:53+00:00" }, { - "name": "doctrine/common", - "version": "2.13.3", + "name": "doctrine/deprecations", + "version": "v0.5.3", "source": { "type": "git", - "url": "https://github.com/doctrine/common.git", - "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f" + "url": "https://github.com/doctrine/deprecations.git", + "reference": "9504165960a1f83cc1480e2be1dd0a0478561314" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f", - "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314", + "reference": "9504165960a1f83cc1480e2be1dd0a0478561314", "shasum": "" }, "require": { - "doctrine/annotations": "^1.0", - "doctrine/cache": "^1.0", - "doctrine/collections": "^1.0", - "doctrine/event-manager": "^1.0", - "doctrine/inflector": "^1.0", - "doctrine/lexer": "^1.0", - "doctrine/persistence": "^1.3.3", - "doctrine/reflection": "^1.0", - "php": "^7.1 || ^8.0" + "php": "^7.1|^8.0" }, "require-dev": { - "doctrine/coding-standard": "^1.0", - "phpstan/phpstan": "^0.11", - "phpstan/phpstan-phpunit": "^0.11", - "phpunit/phpunit": "^7.0", - "squizlabs/php_codesniffer": "^3.0", - "symfony/phpunit-bridge": "^4.0.5" + "doctrine/coding-standard": "^6.0|^7.0|^8.0", + "phpunit/phpunit": "^7.0|^8.0|^9.0", + "psr/log": "^1.0" }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.11.x-dev" - } + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" }, + "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" + "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, persistence interfaces, proxies, event system and much more.", - "homepage": "https://www.doctrine-project.org/projects/common.html", - "keywords": [ - "common", - "doctrine", - "php" - ], + "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", + "homepage": "https://www.doctrine-project.org/", "support": { - "issues": "https://github.com/doctrine/common/issues", - "source": "https://github.com/doctrine/common/tree/2.13.x" + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/v0.5.3" }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcommon", - "type": "tidelift" - } - ], - "time": "2020-06-05T16:46:05+00:00" + "time": "2021-03-21T12:59:47+00:00" }, { "name": "doctrine/doctrine-laminas-hydrator", - "version": "2.2.1", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/doctrine-laminas-hydrator.git", - "reference": "f35233ffdac1798a57be2f772ff8383e81ac3739" + "reference": "3edcde4f7dface3f977215399b7bf11f8109f6cd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/doctrine-laminas-hydrator/zipball/f35233ffdac1798a57be2f772ff8383e81ac3739", - "reference": "f35233ffdac1798a57be2f772ff8383e81ac3739", + "url": "https://api.github.com/repos/doctrine/doctrine-laminas-hydrator/zipball/3edcde4f7dface3f977215399b7bf11f8109f6cd", + "reference": "3edcde4f7dface3f977215399b7bf11f8109f6cd", "shasum": "" }, "require": { "doctrine/collections": "^1.6.8", - "doctrine/inflector": "^1.4.4 || ^2.0.3", - "doctrine/persistence": "^1.3.8 || ^2.2.2", + "doctrine/inflector": "^2.0.4", + "doctrine/persistence": "^2.2.3", "ext-ctype": "*", - "laminas/laminas-hydrator": "^3.2.1 || ^4.3.1", - "laminas/laminas-stdlib": "^3.6.0", - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "laminas/laminas-hydrator": "^4.3.1", + "laminas/laminas-stdlib": "^3.6.1", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "require-dev": { "doctrine/coding-standard": "^9.0.0", - "jangregor/phpstan-prophecy": "^0.8.1", + "jangregor/phpstan-prophecy": "^1.0.0", "phpspec/prophecy-phpunit": "^2.0.1", - "phpstan/phpstan": "^0.12.99", + "phpstan/phpstan": "^1.1.2", "phpunit/phpunit": "^9.5.10", - "vimeo/psalm": "^4.10.0" + "vimeo/psalm": "^4.15.0" }, "type": "library", "autoload": { @@ -595,8 +501,7 @@ "keywords": [ "doctrine", "hydrator", - "laminas", - "zf" + "laminas" ], "support": { "issues": "https://github.com/doctrine/doctrine-laminas-hydrator/issues", @@ -617,71 +522,79 @@ "type": "tidelift" } ], - "time": "2021-11-05T11:31:20+00:00" + "time": "2021-12-27T17:58:48+00:00" }, { "name": "doctrine/doctrine-module", - "version": "4.1.1", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineModule.git", - "reference": "f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d" + "reference": "cf3e01b2d5c3d8a30b55ba31af6f6b5c373bcfbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d", - "reference": "f9cf0986ea70655d23e10fbf0d9198cb3e1eda1d", + "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/cf3e01b2d5c3d8a30b55ba31af6f6b5c373bcfbd", + "reference": "cf3e01b2d5c3d8a30b55ba31af6f6b5c373bcfbd", "shasum": "" }, "require": { - "doctrine/cache": "^1.7", - "doctrine/common": "^2.8", - "doctrine/doctrine-laminas-hydrator": "^2.0.2", - "doctrine/persistence": "^1.3.7", - "laminas/laminas-authentication": "^2.5.3", - "laminas/laminas-cache": "^2.7.1", - "laminas/laminas-form": "^2.11", - "laminas/laminas-hydrator": "^3.0", - "laminas/laminas-mvc": "^3.1", - "laminas/laminas-paginator": "^2.8", - "laminas/laminas-servicemanager": "^3.3", - "laminas/laminas-stdlib": "^3.2.1", - "laminas/laminas-validator": "^2.10", - "php": "^7.2", - "symfony/console": "^5.0" + "container-interop/container-interop": "^1.2.0", + "doctrine/annotations": "^1.13.2", + "doctrine/cache": "^1.12.1", + "doctrine/collections": "^1.6.8", + "doctrine/doctrine-laminas-hydrator": "^3.0.0", + "doctrine/event-manager": "^1.1.1", + "doctrine/inflector": "^2.0.4", + "doctrine/persistence": "^2.3.0", + "laminas/laminas-authentication": "^2.9.0", + "laminas/laminas-cache": "^3.1.2", + "laminas/laminas-eventmanager": "^3.4.0", + "laminas/laminas-form": "^3.1.1", + "laminas/laminas-modulemanager": "^2.11.0", + "laminas/laminas-mvc": "^3.3.0", + "laminas/laminas-paginator": "^2.12.2", + "laminas/laminas-servicemanager": "^3.10.0", + "laminas/laminas-stdlib": "^3.7.1", + "laminas/laminas-validator": "^2.16.0", + "php": "^7.4 || ~8.0.0 || ~8.1.0", + "symfony/console": "^5.4.3 || ^6.0.3" + }, + "provide": { + "laminas/laminas-cache-storage-implementation": "1.0.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "laminas/laminas-i18n": "^2.7", - "laminas/laminas-log": "^2.9", - "laminas/laminas-modulemanager": "^2.8", - "laminas/laminas-mvc-console": "^1.1.11", - "laminas/laminas-serializer": "^2.8", - "laminas/laminas-session": "^2.8", - "laminas/laminas-test": "^3.1.1", - "phpunit/phpunit": "^8.5", - "predis/predis": "^1.1" + "doctrine/coding-standard": "^9.0.0", + "doctrine/orm": "^2.11.1", + "jangregor/phpstan-prophecy": "^1.0.0", + "laminas/laminas-cache-storage-adapter-blackhole": "^2.0.0", + "laminas/laminas-cache-storage-adapter-memory": "^2.0.0", + "laminas/laminas-i18n": "^2.13.0", + "laminas/laminas-log": "^2.15.0", + "laminas/laminas-serializer": "^2.12.0", + "laminas/laminas-session": "^2.12.0", + "phpspec/prophecy-phpunit": "^2.0.1", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-phpunit": "^1.0.0", + "phpunit/phpunit": "^9.5.13", + "predis/predis": "^1.1.10", + "vimeo/psalm": "^4.20.0" }, "suggest": { - "doctrine/data-fixtures": "Data Fixtures if you want to generate test data or bootstrap data for your deployments", - "laminas/laminas-mvc-console": "^1.1.11 if you want to use the Laminas console libraries" + "doctrine/data-fixtures": "Data Fixtures if you want to generate test data or bootstrap data for your deployments" }, "bin": [ "bin/doctrine-module" ], "type": "library", "extra": { - "zf": { + "laminas": { "config-provider": "DoctrineModule\\ConfigProvider", "module": "DoctrineModule" - }, - "branch-alias": { - "dev-1.2-dev": "1.2-dev", - "dev-2.0-dev": "2.0-dev" } }, "autoload": { - "psr-0": { + "psr-4": { "DoctrineModule\\": "src/" } }, @@ -724,7 +637,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineModule/issues", - "source": "https://github.com/doctrine/DoctrineModule/tree/4.1.1" + "source": "https://github.com/doctrine/DoctrineModule/tree/5.1.0" }, "funding": [ { @@ -740,7 +653,7 @@ "type": "tidelift" } ], - "time": "2020-11-17T20:24:49+00:00" + "time": "2022-02-14T07:56:18+00:00" }, { "name": "doctrine/event-manager", @@ -838,38 +751,33 @@ }, { "name": "doctrine/inflector", - "version": "1.4.4", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.0", + "doctrine/coding-standard": "^8.2", "phpstan/phpstan": "^0.12", "phpstan/phpstan-phpunit": "^0.12", "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^4.10" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, "autoload": { "psr-4": { - "Doctrine\\Inflector\\": "lib/Doctrine/Inflector", - "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -914,7 +822,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/1.4.4" + "source": "https://github.com/doctrine/inflector/tree/2.0.4" }, "funding": [ { @@ -930,7 +838,7 @@ "type": "tidelift" } ], - "time": "2021-04-16T17:34:40+00:00" + "time": "2021-10-22T20:16:43+00:00" }, { "name": "doctrine/lexer", @@ -1010,45 +918,45 @@ }, { "name": "doctrine/persistence", - "version": "1.3.8", + "version": "2.5.1", "source": { "type": "git", "url": "https://github.com/doctrine/persistence.git", - "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288" + "reference": "4473480044c88f30e0e8288e7123b60c7eb9efa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/7a6eac9fb6f61bba91328f15aa7547f4806ca288", - "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/4473480044c88f30e0e8288e7123b60c7eb9efa3", + "reference": "4473480044c88f30e0e8288e7123b60c7eb9efa3", "shasum": "" }, "require": { - "doctrine/annotations": "^1.0", - "doctrine/cache": "^1.0", + "doctrine/cache": "^1.11 || ^2.0", "doctrine/collections": "^1.0", + "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.0", - "doctrine/reflection": "^1.2", - "php": "^7.1 || ^8.0" + "php": "^7.1 || ^8.0", + "psr/cache": "^1.0 || ^2.0 || ^3.0" }, "conflict": { - "doctrine/common": "<2.10@dev" + "doctrine/annotations": "<1.0 || >=2.0", + "doctrine/common": "<2.10" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.11", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^3.11" + "composer/package-versions-deprecated": "^1.11", + "doctrine/annotations": "^1.0", + "doctrine/coding-standard": "^9.0", + "doctrine/common": "^3.0", + "phpstan/phpstan": "~1.4.10 || 1.5.0", + "phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.5", + "symfony/cache": "^4.4 || ^5.4 || ^6.0", + "vimeo/psalm": "4.22.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3.x-dev" - } - }, "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common", - "Doctrine\\Persistence\\": "lib/Doctrine/Persistence" + "Doctrine\\Common\\": "src/Common", + "Doctrine\\Persistence\\": "src/Persistence" } }, "notification-url": "https://packagist.org/downloads/", @@ -1092,106 +1000,9 @@ ], "support": { "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/1.3.x" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fpersistence", - "type": "tidelift" - } - ], - "time": "2020-06-20T12:56:16+00:00" - }, - { - "name": "doctrine/reflection", - "version": "1.2.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/reflection.git", - "reference": "fa587178be682efe90d005e3a322590d6ebb59a5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/reflection/zipball/fa587178be682efe90d005e3a322590d6ebb59a5", - "reference": "fa587178be682efe90d005e3a322590d6ebb59a5", - "shasum": "" - }, - "require": { - "doctrine/annotations": "^1.0", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": "<2.9" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0 || ^8.2.0", - "doctrine/common": "^2.10", - "phpstan/phpstan": "^0.11.0 || ^0.12.20", - "phpstan/phpstan-phpunit": "^0.11.0 || ^0.12.16", - "phpunit/phpunit": "^7.5 || ^9.1.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, - { - "name": "Roman Borschel", - "email": "roman@code-factory.org" - }, - { - "name": "Benjamin Eberlei", - "email": "kontakt@beberlei.de" - }, - { - "name": "Jonathan Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - } - ], - "description": "The Doctrine Reflection project is a simple library used by the various Doctrine projects which adds some additional functionality on top of the reflection functionality that comes with PHP. It allows you to get the reflection information about classes, methods and properties statically.", - "homepage": "https://www.doctrine-project.org/projects/reflection.html", - "keywords": [ - "reflection", - "static" - ], - "support": { - "issues": "https://github.com/doctrine/reflection/issues", - "source": "https://github.com/doctrine/reflection/tree/1.2.2" + "source": "https://github.com/doctrine/persistence/tree/2.5.1" }, - "abandoned": "roave/better-reflection", - "time": "2020-10-27T21:46:55+00:00" + "time": "2022-04-14T21:47:17+00:00" }, { "name": "laminas-api-tools/api-tools", @@ -1821,16 +1632,16 @@ }, { "name": "laminas-api-tools/api-tools-rest", - "version": "1.6.1", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-rest.git", - "reference": "36583a72bdb9cb66247f491e2194d7dad9836606" + "reference": "c6c4e16ff2eb9a25d5aa10318c4363f7c560a46b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-rest/zipball/36583a72bdb9cb66247f491e2194d7dad9836606", - "reference": "36583a72bdb9cb66247f491e2194d7dad9836606", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-rest/zipball/c6c4e16ff2eb9a25d5aa10318c4363f7c560a46b", + "reference": "c6c4e16ff2eb9a25d5aa10318c4363f7c560a46b", "shasum": "" }, "require": { @@ -1898,7 +1709,7 @@ "type": "community_bridge" } ], - "time": "2021-06-21T21:57:21+00:00" + "time": "2022-04-19T21:49:13+00:00" }, { "name": "laminas-api-tools/api-tools-rpc", @@ -2124,41 +1935,27 @@ }, { "name": "laminas/laminas-cache", - "version": "2.13.2", + "version": "3.1.3", "source": { "type": "git", "url": "https://github.com/laminas/laminas-cache.git", - "reference": "fc3255833c1c687ed2c5312e9663ef062be155c9" + "reference": "dfd5a66f6ea4b1979231560eb75b615c7aafe0e6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache/zipball/fc3255833c1c687ed2c5312e9663ef062be155c9", - "reference": "fc3255833c1c687ed2c5312e9663ef062be155c9", + "url": "https://api.github.com/repos/laminas/laminas-cache/zipball/dfd5a66f6ea4b1979231560eb75b615c7aafe0e6", + "reference": "dfd5a66f6ea4b1979231560eb75b615c7aafe0e6", "shasum": "" }, "require": { - "laminas/laminas-cache-storage-adapter-apc": "^1.0", - "laminas/laminas-cache-storage-adapter-apcu": "^1.0", - "laminas/laminas-cache-storage-adapter-blackhole": "^1.0", - "laminas/laminas-cache-storage-adapter-dba": "^1.0", - "laminas/laminas-cache-storage-adapter-ext-mongodb": "^1.0", - "laminas/laminas-cache-storage-adapter-filesystem": "^1.0", - "laminas/laminas-cache-storage-adapter-memcache": "^1.0", - "laminas/laminas-cache-storage-adapter-memcached": "^1.0", - "laminas/laminas-cache-storage-adapter-memory": "^1.0", - "laminas/laminas-cache-storage-adapter-mongodb": "^1.0", - "laminas/laminas-cache-storage-adapter-redis": "^1.0", - "laminas/laminas-cache-storage-adapter-session": "^1.0", - "laminas/laminas-cache-storage-adapter-wincache": "^1.0", - "laminas/laminas-cache-storage-adapter-xcache": "^1.0", - "laminas/laminas-cache-storage-adapter-zend-server": "^1.0", - "laminas/laminas-eventmanager": "^3.3", - "laminas/laminas-servicemanager": "^3.6", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0", + "laminas/laminas-cache-storage-implementation": "1.0", + "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-servicemanager": "^3.7", + "laminas/laminas-stdlib": "^3.6", + "php": "^7.3 || ~8.0.0 || ~8.1.0", "psr/cache": "^1.0", - "psr/simple-cache": "^1.0" + "psr/simple-cache": "^1.0", + "webmozart/assert": "^1.9" }, "conflict": { "symfony/console": "<5.1" @@ -2167,20 +1964,31 @@ "psr/cache-implementation": "1.0", "psr/simple-cache-implementation": "1.0" }, - "replace": { - "zendframework/zend-cache": "^2.9.0" - }, "require-dev": { + "laminas/laminas-cache-storage-adapter-apcu": "^2.0", + "laminas/laminas-cache-storage-adapter-blackhole": "^2.0", + "laminas/laminas-cache-storage-adapter-filesystem": "^2.0", + "laminas/laminas-cache-storage-adapter-memory": "^2.0", + "laminas/laminas-cache-storage-adapter-test": "^2.0", "laminas/laminas-cli": "^1.0", - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.2.0", "laminas/laminas-config-aggregator": "^1.5", "laminas/laminas-feed": "^2.14", "laminas/laminas-serializer": "^2.6", - "phpbench/phpbench": "^1.0.0-beta2", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5" + "phpbench/phpbench": "^1.0", + "phpunit/phpunit": "^9.5", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.9" }, "suggest": { + "laminas/laminas-cache-storage-adapter-apcu": "APCu implementation", + "laminas/laminas-cache-storage-adapter-blackhole": "Blackhole/Void implementation", + "laminas/laminas-cache-storage-adapter-ext-mongodb": "MongoDB implementation", + "laminas/laminas-cache-storage-adapter-filesystem": "Filesystem implementation", + "laminas/laminas-cache-storage-adapter-memcached": "Memcached implementation", + "laminas/laminas-cache-storage-adapter-memory": "Memory implementation", + "laminas/laminas-cache-storage-adapter-redis": "Redis implementation", + "laminas/laminas-cache-storage-adapter-session": "Session implementation", "laminas/laminas-cli": "The laminas-cli binary can be used to consume commands provided by this component", "laminas/laminas-serializer": "Laminas\\Serializer component" }, @@ -2191,967 +1999,30 @@ "config-provider": "Laminas\\Cache\\ConfigProvider" } }, - "autoload": { - "files": [ - "autoload/patternPluginManagerPolyfill.php" - ], - "psr-4": { - "Laminas\\Cache\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output", - "homepage": "https://laminas.dev", - "keywords": [ - "cache", - "laminas", - "psr-16", - "psr-6" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-cache/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-cache/issues", - "rss": "https://github.com/laminas/laminas-cache/releases.atom", - "source": "https://github.com/laminas/laminas-cache" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-11-07T13:11:51+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-apc", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-apc.git", - "reference": "8b375d994f6e67534f6ae6e995249e706faa30c1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-apc/zipball/8b375d994f6e67534f6ae6e995249e706faa30c1", - "reference": "8b375d994f6e67534f6ae6e995249e706faa30c1", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.2" - }, - "suggest": { - "ext-apc": "APC or compatible extension, to use the APC storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-apc/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-apc/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-apc/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-apc" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2020-10-12T16:04:12+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-apcu", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-apcu.git", - "reference": "e182aab739d6b03992a9915cc3c7019391a94548" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-apcu/zipball/e182aab739d6b03992a9915cc3c7019391a94548", - "reference": "e182aab739d6b03992a9915cc3c7019391a94548", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "ext-apcu": "*", - "laminas/laminas-cache": "^2.10.1", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "suggest": { - "ext-apcu": "APCU >= 5.1.0, to use the APCu storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for apcu", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-apcu/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-apcu/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-apcu/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-apcu" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-05-03T20:41:53+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-blackhole", - "version": "1.2.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole.git", - "reference": "4af1053efd81785a292c2a9442871c075700345a" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-blackhole/zipball/4af1053efd81785a292c2a9442871c075700345a", - "reference": "4af1053efd81785a292c2a9442871c075700345a", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10.1", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "^2.1.4", - "squizlabs/php_codesniffer": "^3.5.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for blackhole", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-blackhole/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-blackhole" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-04-29T21:06:24+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-dba", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-dba.git", - "reference": "ad968d3d8a0350af8e6717be58bb96e5a9e77f3b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-dba/zipball/ad968d3d8a0350af8e6717be58bb96e5a9e77f3b", - "reference": "ad968d3d8a0350af8e6717be58bb96e5a9e77f3b", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "suggest": { - "ext-dba": "DBA, to use the DBA storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for dba", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-dba/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-dba/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-dba/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-dba" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2020-10-12T16:08:58+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-ext-mongodb", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb.git", - "reference": "72f68589cc8323fa688167a4720b795dd0907f4e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-ext-mongodb/zipball/72f68589cc8323fa688167a4720b795dd0907f4e", - "reference": "72f68589cc8323fa688167a4720b795dd0907f4e", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10", - "mongodb/mongodb": "<1.8" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10.3", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "~2.2.0", - "laminas/laminas-serializer": "^2.10.1", - "mongodb/mongodb": "^1.8.0", - "psalm/plugin-phpunit": "^0.16.1", - "vimeo/psalm": "^4.9" - }, - "suggest": { - "mongodb/mongodb": "MongoDB, to use the ExtMongoDb storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for ext-mongodb", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-ext-mongodb/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-ext-mongodb" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-08-10T18:17:48+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-filesystem", - "version": "1.1.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem.git", - "reference": "76fc488c3fa0ad442e4e70f807305c940d1bdcbc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-filesystem/zipball/76fc488c3fa0ad442e4e70f807305c940d1bdcbc", - "reference": "76fc488c3fa0ad442e4e70f807305c940d1bdcbc", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-serializer": "^2.10", - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for filesystem", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-filesystem/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-filesystem" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-04-25T00:27:54+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-memcache", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-memcache.git", - "reference": "1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memcache/zipball/1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088", - "reference": "1d2a74e300a0fd0b8d0e0cb4e379a173ccad0088", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10.1", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "^2.1.4", - "laminas/laminas-serializer": "^2.10.1", - "squizlabs/php_codesniffer": "^3.6.0" - }, - "suggest": { - "ext-memcache": "Memcache >= 2.0.0 to use the Memcache storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for memcache", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memcache/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memcache/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memcache/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-memcache" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2021-04-29T19:57:43+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-memcached", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-memcached.git", - "reference": "d05f33e43a352b85c6d0208e9cfbf2a59f02ede3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memcached/zipball/d05f33e43a352b85c6d0208e9cfbf2a59f02ede3", - "reference": "d05f33e43a352b85c6d0208e9cfbf2a59f02ede3", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0.2", - "laminas/laminas-coding-standard": "~2.2.0", - "phpunit/phpunit": "^9.5.8" - }, - "suggest": { - "ext-memcached": "Memcached >= 1.0.0 to use the Memcached storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for memcached", - "keywords": [ - "cache", - "laminas", - "memcached" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memcached/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memcached/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memcached/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-memcached" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-08-08T14:51:12+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-memory", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-memory.git", - "reference": "02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-memory/zipball/02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd", - "reference": "02c7a4a1118bbd47d1c0f0bfe1e8b140af79d2bd", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10.1", - "laminas/laminas-cache-storage-adapter-test": "^1.1.1", - "laminas/laminas-coding-standard": "^2.1.4", - "squizlabs/php_codesniffer": "^3.5.8" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for memory", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-memory/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-memory/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-memory/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-memory" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-04-28T17:27:13+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-mongodb", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb.git", - "reference": "ef4aa396b55533b8eb3e1d4126c39a78a22e49a6" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-mongodb/zipball/ef4aa396b55533b8eb3e1d4126c39a78a22e49a6", - "reference": "ef4aa396b55533b8eb3e1d4126c39a78a22e49a6", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for mongodb", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-mongodb/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-mongodb" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2020-10-12T16:19:10+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-redis", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-redis.git", - "reference": "de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-redis/zipball/de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee", - "reference": "de8a63d4a0ef1ccead401eb7fb6d75b57fa3f9ee", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10", - "phpunit/phpunit": "<6.1.0" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "composer-runtime-api": "^2", - "ext-posix": "*", - "ext-redis": "*", - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.1", - "laminas/laminas-coding-standard": "^2.1", - "laminas/laminas-serializer": "^2.10", - "psalm/plugin-phpunit": "^0.15.1", - "vimeo/psalm": "^4.7" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for redis", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-redis/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-redis/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-redis/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-redis" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-06-03T16:14:07+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-session", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-session.git", - "reference": "74a275056cfca2300eb9a67cd1d917f7066b4113" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-session/zipball/74a275056cfca2300eb9a67cd1d917f7066b4113", - "reference": "74a275056cfca2300eb9a67cd1d917f7066b4113", - "shasum": "" - }, - "require": { - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.1", - "laminas/laminas-coding-standard": "^2.1", - "laminas/laminas-session": "^2.7.4" - }, - "suggest": { - "laminas/laminas-session": "Laminas\\Session component" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for session", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-session/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-session/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-session/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-session" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-05-02T13:52:36+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-wincache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-wincache.git", - "reference": "0f54599c5d9aff11b01adadd2742097f923170ba" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-wincache/zipball/0f54599c5d9aff11b01adadd2742097f923170ba", - "reference": "0f54599c5d9aff11b01adadd2742097f923170ba", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "suggest": { - "ext-wincache": "WinCache, to use the WinCache storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for wincache", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-wincache/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-wincache/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-wincache/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-wincache" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2020-10-12T16:22:49+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-xcache", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-xcache.git", - "reference": "24049557aa796ec7527bcc8032ed68346232b219" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-xcache/zipball/24049557aa796ec7527bcc8032ed68346232b219", - "reference": "24049557aa796ec7527bcc8032ed68346232b219", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-serializer": "^2.9", - "squizlabs/php_codesniffer": "^2.7" - }, - "suggest": { - "ext-xcache": "XCache, to use the XCache storage adapter" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Laminas cache adapter for xcache", - "keywords": [ - "cache", - "laminas" - ], - "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-xcache/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-xcache/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-xcache/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-xcache" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "abandoned": true, - "time": "2020-10-12T16:23:46+00:00" - }, - { - "name": "laminas/laminas-cache-storage-adapter-zend-server", - "version": "1.0.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server.git", - "reference": "8d0b0d219a048a92472d89a5e527990f3ea2decc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-cache-storage-adapter-zend-server/zipball/8d0b0d219a048a92472d89a5e527990f3ea2decc", - "reference": "8d0b0d219a048a92472d89a5e527990f3ea2decc", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0" - }, - "conflict": { - "laminas/laminas-cache": "<2.10" - }, - "provide": { - "laminas/laminas-cache-storage-implementation": "1.0" - }, - "require-dev": { - "laminas/laminas-cache": "^2.10", - "laminas/laminas-cache-storage-adapter-test": "^1.0@dev", - "laminas/laminas-coding-standard": "~1.0.0", - "squizlabs/php_codesniffer": "^2.7" - }, - "type": "library", "autoload": { "psr-4": { - "Laminas\\Cache\\Storage\\Adapter\\": "src/" + "Laminas\\Cache\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], - "description": "Laminas cache adapter for zend-server", + "description": "Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output", + "homepage": "https://laminas.dev", "keywords": [ "cache", - "laminas" + "laminas", + "psr-16", + "psr-6" ], "support": { - "docs": "https://docs.laminas.dev/laminas-cache-storage-adapter-zend-server/", - "forum": "https://discourse.laminas.dev/", - "issues": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server/issues", - "rss": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server/releases.atom", - "source": "https://github.com/laminas/laminas-cache-storage-adapter-zend-server" + "chat": "https://laminas.dev/chat", + "docs": "https://docs.laminas.dev/laminas-cache/", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-cache/issues", + "rss": "https://github.com/laminas/laminas-cache/releases.atom", + "source": "https://github.com/laminas/laminas-cache" }, "funding": [ { @@ -3159,7 +2030,7 @@ "type": "community_bridge" } ], - "time": "2020-10-12T16:24:25+00:00" + "time": "2022-03-24T09:32:54+00:00" }, { "name": "laminas/laminas-config", @@ -3231,31 +2102,32 @@ }, { "name": "laminas/laminas-crypt", - "version": "3.6.0", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-crypt.git", - "reference": "ad2c29c289a4bc837b37a7650f5178edda0fc548" + "reference": "0972bb907fd555c16e2a65309b66720acf2b8699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/ad2c29c289a4bc837b37a7650f5178edda0fc548", - "reference": "ad2c29c289a4bc837b37a7650f5178edda0fc548", + "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/0972bb907fd555c16e2a65309b66720acf2b8699", + "reference": "0972bb907fd555c16e2a65309b66720acf2b8699", "shasum": "" }, "require": { - "container-interop/container-interop": "^1.2", "ext-mbstring": "*", "laminas/laminas-math": "^3.4", + "laminas/laminas-servicemanager": "^3.11.2", "laminas/laminas-stdlib": "^3.6", - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0", + "psr/container": "^1.1" }, "conflict": { "zendframework/zend-crypt": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^9.3" + "laminas/laminas-coding-standard": "~2.3.0", + "phpunit/phpunit": "^9.5.11" }, "suggest": { "ext-openssl": "Required for most features of Laminas\\Crypt" @@ -3290,24 +2162,24 @@ "type": "community_bridge" } ], - "time": "2021-12-06T01:25:27+00:00" + "time": "2022-04-12T14:28:29+00:00" }, { "name": "laminas/laminas-db", - "version": "2.13.4", + "version": "2.15.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-db.git", - "reference": "cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1" + "reference": "1125ef2e55108bdfcc1f0030d3a0f9b895e09606" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-db/zipball/cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1", - "reference": "cdabb4bfa669c2c0edb0cb4e014c15b41afd3fb1", + "url": "https://api.github.com/repos/laminas/laminas-db/zipball/1125ef2e55108bdfcc1f0030d3a0f9b895e09606", + "reference": "1125ef2e55108bdfcc1f0030d3a0f9b895e09606", "shasum": "" }, "require": { - "laminas/laminas-stdlib": "^3.6", + "laminas/laminas-stdlib": "^3.7.1", "php": "^7.3 || ~8.0.0 || ~8.1.0" }, "conflict": { @@ -3315,10 +2187,10 @@ }, "require-dev": { "laminas/laminas-coding-standard": "~2.2.1", - "laminas/laminas-eventmanager": "^3.4", + "laminas/laminas-eventmanager": "^3.4.0", "laminas/laminas-hydrator": "^3.2 || ^4.3", - "laminas/laminas-servicemanager": "^3.7", - "phpunit/phpunit": "^9.5.5" + "laminas/laminas-servicemanager": "^3.7.0", + "phpunit/phpunit": "^9.5.19" }, "suggest": { "laminas/laminas-eventmanager": "Laminas\\EventManager component", @@ -3361,7 +2233,7 @@ "type": "community_bridge" } ], - "time": "2021-09-21T18:59:44+00:00" + "time": "2022-04-11T13:26:20+00:00" }, { "name": "laminas/laminas-escaper", @@ -3427,35 +2299,36 @@ }, { "name": "laminas/laminas-eventmanager", - "version": "3.4.0", + "version": "3.5.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-eventmanager.git", - "reference": "a93fd278c97b2d41ebbce5ba048a24e3e6f580ba" + "reference": "41f7209428f37cab9573365e361f4078209aaafa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/a93fd278c97b2d41ebbce5ba048a24e3e6f580ba", - "reference": "a93fd278c97b2d41ebbce5ba048a24e3e6f580ba", + "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/41f7209428f37cab9573365e361f4078209aaafa", + "reference": "41f7209428f37cab9573365e361f4078209aaafa", "shasum": "" }, "require": { - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { + "container-interop/container-interop": "<1.2", "zendframework/zend-eventmanager": "*" }, "require-dev": { - "container-interop/container-interop": "^1.1", "laminas/laminas-coding-standard": "~2.2.1", "laminas/laminas-stdlib": "^3.6", "phpbench/phpbench": "^1.1", "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5.5" + "phpunit/phpunit": "^9.5.5", + "psr/container": "^1.1.2 || ^2.0.2" }, "suggest": { - "container-interop/container-interop": "^1.1, to use the lazy listeners feature", - "laminas/laminas-stdlib": "^2.7.3 || ^3.0, to use the FilterChain feature" + "laminas/laminas-stdlib": "^2.7.3 || ^3.0, to use the FilterChain feature", + "psr/container": "^1.1.2 || ^2.0.2, to use the lazy listeners feature" }, "type": "library", "autoload": { @@ -3489,7 +2362,7 @@ "type": "community_bridge" } ], - "time": "2021-09-07T22:35:32+00:00" + "time": "2022-04-06T21:05:17+00:00" }, { "name": "laminas/laminas-filter", @@ -3572,60 +2445,63 @@ }, { "name": "laminas/laminas-form", - "version": "2.17.1", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-form.git", - "reference": "af231c26209fa0684af9e934e8ee5c085eb14cd0" + "reference": "43005a3ec4c2292d4f825273768d9b884acbca37" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-form/zipball/af231c26209fa0684af9e934e8ee5c085eb14cd0", - "reference": "af231c26209fa0684af9e934e8ee5c085eb14cd0", + "url": "https://api.github.com/repos/laminas/laminas-form/zipball/43005a3ec4c2292d4f825273768d9b884acbca37", + "reference": "43005a3ec4c2292d4f825273768d9b884acbca37", "shasum": "" }, "require": { - "laminas/laminas-hydrator": "^3.2 || ^4.0", - "laminas/laminas-inputfilter": "^2.10", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.1", - "php": "^7.3 || ~8.0.0" + "laminas/laminas-hydrator": "^4.3.0", + "laminas/laminas-inputfilter": "^2.13.0", + "laminas/laminas-stdlib": "^3.6.1", + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { - "laminas/laminas-code": "<3.5.0 || >=4.0.0" - }, - "replace": { - "zendframework/zend-form": "^2.14.3" + "doctrine/annotations": "<1.12.0", + "laminas/laminas-captcha": "<2.11.0", + "laminas/laminas-eventmanager": "<3.4.0", + "laminas/laminas-i18n": "<2.12.0", + "laminas/laminas-recaptcha": "<3.4.0", + "laminas/laminas-servicemanager": "<3.10.0", + "laminas/laminas-view": "<2.14.0" }, "require-dev": { - "doctrine/annotations": "^1.10.4", - "laminas/laminas-cache": "^2.9.0", - "laminas/laminas-captcha": "^2.9.0", - "laminas/laminas-code": "^3.5.0", - "laminas/laminas-coding-standard": "^1.0.0", - "laminas/laminas-escaper": "^2.6.1", - "laminas/laminas-eventmanager": "^3.3.0", - "laminas/laminas-filter": "^2.9.4", - "laminas/laminas-i18n": "^2.10.3", - "laminas/laminas-recaptcha": "^3.2.0", - "laminas/laminas-servicemanager": "^3.4.1", - "laminas/laminas-session": "^2.9.3", - "laminas/laminas-text": "^2.7.1", - "laminas/laminas-validator": "^2.13.4", - "laminas/laminas-view": "^2.11.4", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.4.2", - "psalm/plugin-phpunit": "^0.15.1", - "vimeo/psalm": "^4.7" + "doctrine/annotations": "^1.12.0", + "ext-intl": "*", + "laminas/laminas-captcha": "^2.11.0", + "laminas/laminas-coding-standard": "^2.3.0", + "laminas/laminas-db": "^2.13.4", + "laminas/laminas-escaper": "^2.9.0", + "laminas/laminas-eventmanager": "^3.4.0", + "laminas/laminas-filter": "^2.13.0", + "laminas/laminas-i18n": "^2.12.0", + "laminas/laminas-modulemanager": "^2.11.0", + "laminas/laminas-recaptcha": "^3.4.0", + "laminas/laminas-servicemanager": "^3.10.0", + "laminas/laminas-session": "^2.12.0", + "laminas/laminas-text": "^2.9.0", + "laminas/laminas-validator": "^2.15.1", + "laminas/laminas-view": "^2.14.0", + "phpspec/prophecy-phpunit": "^2.0.1", + "phpunit/phpunit": "^9.5.10", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.13.1" }, "suggest": { - "laminas/laminas-captcha": "^2.9, required for using CAPTCHA form elements", - "laminas/laminas-code": "^3.5, required to use laminas-form annotations support", - "laminas/laminas-eventmanager": "^3.3, reuired for laminas-form annotations support", - "laminas/laminas-i18n": "^2.10, required when using laminas-form view helpers", - "laminas/laminas-recaptcha": "^3.2, in order to use the ReCaptcha form element", - "laminas/laminas-servicemanager": "^3.4.1, required to use the form factories or provide services", - "laminas/laminas-view": "^2.11.4, required for using the laminas-form view helpers" + "doctrine/annotations": "^1.12, required to use laminas-form annotations support", + "laminas/laminas-captcha": "^2.11, required for using CAPTCHA form elements", + "laminas/laminas-eventmanager": "^3.4, reuired for laminas-form annotations support", + "laminas/laminas-i18n": "^2.12, required when using laminas-form view helpers", + "laminas/laminas-recaptcha": "^3.4, in order to use the ReCaptcha form element", + "laminas/laminas-servicemanager": "^3.10, required to use the form factories or provide services", + "laminas/laminas-view": "^2.14, required for using the laminas-form view helpers" }, "type": "library", "extra": { @@ -3663,7 +2539,7 @@ "type": "community_bridge" } ], - "time": "2022-02-01T07:18:59+00:00" + "time": "2022-01-28T15:58:45+00:00" }, { "name": "laminas/laminas-http", @@ -3732,34 +2608,37 @@ }, { "name": "laminas/laminas-hydrator", - "version": "3.2.1", + "version": "4.3.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-hydrator.git", - "reference": "41aaccb9a0b8e25b1742f78427aa90504a6eb1cd" + "reference": "cc5ea6b42d318dbac872d94e8dca2d3013a37ab5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-hydrator/zipball/41aaccb9a0b8e25b1742f78427aa90504a6eb1cd", - "reference": "41aaccb9a0b8e25b1742f78427aa90504a6eb1cd", + "url": "https://api.github.com/repos/laminas/laminas-hydrator/zipball/cc5ea6b42d318dbac872d94e8dca2d3013a37ab5", + "reference": "cc5ea6b42d318dbac872d94e8dca2d3013a37ab5", "shasum": "" }, "require": { "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0", + "webmozart/assert": "^1.10" }, - "replace": { - "zendframework/zend-hydrator": "^3.0.2" + "conflict": { + "zendframework/zend-hydrator": "*" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-eventmanager": "^3.2.1", "laminas/laminas-modulemanager": "^2.8", "laminas/laminas-serializer": "^2.9", "laminas/laminas-servicemanager": "^3.3.2", - "phpunit/phpunit": "~9.3.0", - "vimeo/psalm": "^3.16" + "phpbench/phpbench": "^1.0", + "phpunit/phpunit": "~9.5.5", + "psalm/plugin-phpunit": "^0.16.1", + "psr/cache": "1.0.1", + "vimeo/psalm": "^4.8.1" }, "suggest": { "laminas/laminas-eventmanager": "^3.2, to support aggregate hydrator usage", @@ -3802,20 +2681,20 @@ "type": "community_bridge" } ], - "time": "2021-06-28T15:12:05+00:00" + "time": "2021-09-09T09:55:00+00:00" }, { "name": "laminas/laminas-i18n", - "version": "2.14.0", + "version": "2.15.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-i18n.git", - "reference": "1fa15c41b683bedb2a846af54491868ddc73db38" + "reference": "1654fcd6cd27c01a902b47fe71fa583ad227268c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/1fa15c41b683bedb2a846af54491868ddc73db38", - "reference": "1fa15c41b683bedb2a846af54491868ddc73db38", + "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/1654fcd6cd27c01a902b47fe71fa583ad227268c", + "reference": "1654fcd6cd27c01a902b47fe71fa583ad227268c", "shasum": "" }, "require": { @@ -3824,6 +2703,7 @@ "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { + "laminas/laminas-view": "<2.20.0", "phpspec/prophecy": "<1.9.0", "zendframework/zend-i18n": "*" }, @@ -3837,7 +2717,7 @@ "laminas/laminas-filter": "^2.10.0", "laminas/laminas-servicemanager": "^3.7.0", "laminas/laminas-validator": "^2.14.0", - "laminas/laminas-view": "^2.12.0", + "laminas/laminas-view": "^2.20.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.3", "psalm/plugin-phpunit": "^0.16.1", @@ -3889,7 +2769,7 @@ "type": "community_bridge" } ], - "time": "2022-02-21T20:41:26+00:00" + "time": "2022-04-01T10:47:19+00:00" }, { "name": "laminas/laminas-inputfilter", @@ -4655,37 +3535,39 @@ }, { "name": "laminas/laminas-servicemanager", - "version": "3.10.0", + "version": "3.11.2", "source": { "type": "git", "url": "https://github.com/laminas/laminas-servicemanager.git", - "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1" + "reference": "8a1f4d53ec93b2e18174f6f186922ef44d11a75a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/e52b985909e0940bf22d34f322eb3f48bbef6bd1", - "reference": "e52b985909e0940bf22d34f322eb3f48bbef6bd1", + "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/8a1f4d53ec93b2e18174f6f186922ef44d11a75a", + "reference": "8a1f4d53ec93b2e18174f6f186922ef44d11a75a", "shasum": "" }, "require": { - "container-interop/container-interop": "^1.2", "laminas/laminas-stdlib": "^3.2.1", "php": "~7.4.0 || ~8.0.0 || ~8.1.0", "psr/container": "^1.0" }, "conflict": { + "ext-psr": "*", "laminas/laminas-code": "<3.3.1", "zendframework/zend-code": "<3.3.1", "zendframework/zend-servicemanager": "*" }, "provide": { - "container-interop/container-interop-implementation": "^1.2", "psr/container-implementation": "^1.0" }, + "replace": { + "container-interop/container-interop": "^1.2.0" + }, "require-dev": { "composer/package-versions-deprecated": "^1.0", - "laminas/laminas-coding-standard": "~2.2.1", - "laminas/laminas-container-config-test": "^0.3", + "laminas/laminas-coding-standard": "~2.3.0", + "laminas/laminas-container-config-test": "^0.6", "laminas/laminas-dependency-plugin": "^2.1.2", "mikey179/vfsstream": "^1.6.10@alpha", "ocramius/proxy-manager": "^2.11", @@ -4704,6 +3586,9 @@ ], "type": "library", "autoload": { + "files": [ + "src/autoload.php" + ], "psr-4": { "Laminas\\ServiceManager\\": "src/" } @@ -4737,7 +3622,7 @@ "type": "community_bridge" } ], - "time": "2021-09-18T20:19:36+00:00" + "time": "2022-04-07T17:21:25+00:00" }, { "name": "laminas/laminas-stdlib", @@ -4948,24 +3833,30 @@ }, { "name": "laminas/laminas-view", - "version": "2.19.1", + "version": "2.20.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-view.git", - "reference": "5f2ed1af896543e986090afb6433e32409c99d4d" + "reference": "2cd6973a3e042be3d244260fe93f435668f5c2b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-view/zipball/5f2ed1af896543e986090afb6433e32409c99d4d", - "reference": "5f2ed1af896543e986090afb6433e32409c99d4d", + "url": "https://api.github.com/repos/laminas/laminas-view/zipball/2cd6973a3e042be3d244260fe93f435668f5c2b4", + "reference": "2cd6973a3e042be3d244260fe93f435668f5c2b4", "shasum": "" }, "require": { + "container-interop/container-interop": "^1.2", + "ext-dom": "*", + "ext-filter": "*", "ext-json": "*", + "laminas/laminas-escaper": "^2.5", "laminas/laminas-eventmanager": "^3.4", "laminas/laminas-json": "^3.3", + "laminas/laminas-servicemanager": "^3.10", "laminas/laminas-stdlib": "^3.6", - "php": "^7.4 || ~8.0.0 || ~8.1.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0", + "psr/container": "^1 || ^2" }, "conflict": { "container-interop/container-interop": "<1.2", @@ -4975,11 +3866,9 @@ "zendframework/zend-view": "*" }, "require-dev": { - "ext-dom": "*", "laminas/laminas-authentication": "^2.5", "laminas/laminas-coding-standard": "~2.3.0", "laminas/laminas-console": "^2.6", - "laminas/laminas-escaper": "^2.5", "laminas/laminas-feed": "^2.15", "laminas/laminas-filter": "^2.13.0", "laminas/laminas-http": "^2.15", @@ -4992,7 +3881,6 @@ "laminas/laminas-paginator": "^2.11.0", "laminas/laminas-permissions-acl": "^2.6", "laminas/laminas-router": "^3.0.1", - "laminas/laminas-servicemanager": "^3.4", "laminas/laminas-uri": "^2.5", "phpspec/prophecy": "^1.12", "phpspec/prophecy-phpunit": "^2.0", @@ -5048,7 +3936,7 @@ "type": "community_bridge" } ], - "time": "2022-01-12T16:20:05+00:00" + "time": "2022-02-22T13:52:44+00:00" }, { "name": "laminas/laminas-zendframework-bridge", @@ -5370,16 +4258,16 @@ }, { "name": "symfony/console", - "version": "v5.4.5", + "version": "v5.4.7", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad" + "reference": "900275254f0a1a2afff1ab0e11abd5587a10e1d6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/d8111acc99876953f52fe16d4c50eb60940d49ad", - "reference": "d8111acc99876953f52fe16d4c50eb60940d49ad", + "url": "https://api.github.com/repos/symfony/console/zipball/900275254f0a1a2afff1ab0e11abd5587a10e1d6", + "reference": "900275254f0a1a2afff1ab0e11abd5587a10e1d6", "shasum": "" }, "require": { @@ -5449,7 +4337,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.5" + "source": "https://github.com/symfony/console/tree/v5.4.7" }, "funding": [ { @@ -5465,20 +4353,20 @@ "type": "tidelift" } ], - "time": "2022-02-24T12:45:35+00:00" + "time": "2022-03-31T17:09:19+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v2.5.0", + "version": "v2.5.1", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8" + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/6f981ee24cf69ee7ce9736146d1c57c2780598a8", - "reference": "6f981ee24cf69ee7ce9736146d1c57c2780598a8", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, "require": { @@ -5516,7 +4404,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.1" }, "funding": [ { @@ -5532,7 +4420,7 @@ "type": "tidelift" } ], - "time": "2021-07-12T14:48:14+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/polyfill-ctype", @@ -6028,22 +4916,22 @@ }, { "name": "symfony/service-contracts", - "version": "v2.5.0", + "version": "v2.5.1", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc" + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", - "reference": "1ab11b933cd6bc5464b08e81e2c5b07dec58b0fc", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/24d9dc654b83e91aa59f9d167b131bc3b5bea24c", + "reference": "24d9dc654b83e91aa59f9d167b131bc3b5bea24c", "shasum": "" }, "require": { "php": ">=7.2.5", "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1" + "symfony/deprecation-contracts": "^2.1|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -6091,7 +4979,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.0" + "source": "https://github.com/symfony/service-contracts/tree/v2.5.1" }, "funding": [ { @@ -6107,7 +4995,7 @@ "type": "tidelift" } ], - "time": "2021-11-04T16:48:04+00:00" + "time": "2022-03-13T20:07:29+00:00" }, { "name": "symfony/string", @@ -6314,74 +5202,6 @@ } ], "packages-dev": [ - { - "name": "alcaeus/mongo-php-adapter", - "version": "1.2.2", - "source": { - "type": "git", - "url": "https://github.com/alcaeus/mongo-php-adapter.git", - "reference": "0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/alcaeus/mongo-php-adapter/zipball/0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1", - "reference": "0e99bf5ea15f8e9b7ddb3a6dc38c11aa95330ca1", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "ext-hash": "*", - "ext-mongodb": "^1.2.0", - "mongodb/mongodb": "^1.0.1", - "php": "^5.6 || ^7.0 || ^8.0" - }, - "provide": { - "ext-mongo": "1.6.14" - }, - "require-dev": { - "squizlabs/php_codesniffer": "^3.2", - "symfony/phpunit-bridge": "^4.4.16 || ^5.2" - }, - "type": "library", - "extra": { - "branch-version": "1.x" - }, - "autoload": { - "files": [ - "lib/Mongo/functions.php" - ], - "psr-0": { - "Mongo": "lib/Mongo" - }, - "psr-4": { - "Alcaeus\\MongoDbAdapter\\": "lib/Alcaeus/MongoDbAdapter" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "alcaeus", - "email": "alcaeus@alcaeus.org" - }, - { - "name": "Olivier Lechevalier", - "email": "olivier.lechevalier@gmail.com" - } - ], - "description": "Adapter to provide ext-mongo interface on top of mongo-php-library", - "keywords": [ - "database", - "mongodb" - ], - "support": { - "issues": "https://github.com/alcaeus/mongo-php-adapter/issues", - "source": "https://github.com/alcaeus/mongo-php-adapter/tree/1.2.2" - }, - "time": "2022-01-11T15:05:50+00:00" - }, { "name": "amphp/amp", "version": "v2.6.2", @@ -6694,16 +5514,16 @@ }, { "name": "composer/semver", - "version": "3.3.0", + "version": "3.3.2", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b" + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b", - "reference": "f79c90ad4e9b41ac4dfc5d77bf398cf61fbd718b", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, "require": { @@ -6755,7 +5575,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.3.0" + "source": "https://github.com/composer/semver/tree/3.3.2" }, "funding": [ { @@ -6771,7 +5591,7 @@ "type": "tidelift" } ], - "time": "2022-03-15T08:35:57+00:00" + "time": "2022-04-01T19:23:25+00:00" }, { "name": "composer/xdebug-handler", @@ -6951,6 +5771,96 @@ }, "time": "2019-12-04T15:06:13+00:00" }, + { + "name": "doctrine/common", + "version": "3.3.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/common.git", + "reference": "c824e95d4c83b7102d8bc60595445a6f7d540f96" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/common/zipball/c824e95d4c83b7102d8bc60595445a6f7d540f96", + "reference": "c824e95d4c83b7102d8bc60595445a6f7d540f96", + "shasum": "" + }, + "require": { + "doctrine/persistence": "^2.0 || ^3.0", + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.4.1", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5.20 || ^8.5 || ^9.0", + "squizlabs/php_codesniffer": "^3.0", + "symfony/phpunit-bridge": "^4.0.5", + "vimeo/psalm": "^4.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "lib/Doctrine/Common" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, + { + "name": "Roman Borschel", + "email": "roman@code-factory.org" + }, + { + "name": "Benjamin Eberlei", + "email": "kontakt@beberlei.de" + }, + { + "name": "Jonathan Wage", + "email": "jonwage@gmail.com" + }, + { + "name": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com" + } + ], + "description": "PHP Doctrine Common project is a library that provides additional functionality that other Doctrine projects depend on such as better reflection support, proxies and much more.", + "homepage": "https://www.doctrine-project.org/projects/common.html", + "keywords": [ + "common", + "doctrine", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/common/issues", + "source": "https://github.com/doctrine/common/tree/3.3.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fcommon", + "type": "tidelift" + } + ], + "time": "2022-02-05T18:28:51+00:00" + }, { "name": "doctrine/dbal", "version": "2.13.8", @@ -7060,192 +5970,56 @@ ], "time": "2022-03-09T15:25:46+00:00" }, - { - "name": "doctrine/deprecations", - "version": "v0.5.3", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "9504165960a1f83cc1480e2be1dd0a0478561314" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/9504165960a1f83cc1480e2be1dd0a0478561314", - "reference": "9504165960a1f83cc1480e2be1dd0a0478561314", - "shasum": "" - }, - "require": { - "php": "^7.1|^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^6.0|^7.0|^8.0", - "phpunit/phpunit": "^7.0|^8.0|^9.0", - "psr/log": "^1.0" - }, - "suggest": { - "psr/log": "Allows logging deprecations via PSR-3 logger implementation" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "A small layer on top of trigger_error(E_USER_DEPRECATED) or PSR-3 logging with options to disable all deprecations or selectively for packages.", - "homepage": "https://www.doctrine-project.org/", - "support": { - "issues": "https://github.com/doctrine/deprecations/issues", - "source": "https://github.com/doctrine/deprecations/tree/v0.5.3" - }, - "time": "2021-03-21T12:59:47+00:00" - }, - { - "name": "doctrine/doctrine-mongo-odm-module", - "version": "2.0.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/DoctrineMongoODMModule.git", - "reference": "1cdbb69c33e1da5827297fe89d91407745f4adea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineMongoODMModule/zipball/1cdbb69c33e1da5827297fe89d91407745f4adea", - "reference": "1cdbb69c33e1da5827297fe89d91407745f4adea", - "shasum": "" - }, - "require": { - "alcaeus/mongo-php-adapter": "^1.1", - "doctrine/doctrine-module": "^4.0", - "doctrine/mongodb-odm": "^1.3", - "laminas/laminas-hydrator": "^3.0.2", - "laminas/laminas-mvc": "^3.1.1", - "laminas/laminas-servicemanager": "^3.4", - "laminas/laminas-stdlib": "^3.2.1", - "php": "^7.2" - }, - "require-dev": { - "doctrine/coding-standard": "^7.0.2", - "laminas/laminas-console": "^2.8", - "laminas/laminas-i18n": "^2.10.1", - "laminas/laminas-log": "^2.12", - "laminas/laminas-modulemanager": "^2.8.4", - "laminas/laminas-mvc-console": "^1.2", - "laminas/laminas-serializer": "^2.9.1", - "laminas/laminas-session": "^2.9.1", - "laminas/laminas-view": "^2.11.4", - "phpunit/phpunit": "^8.5.2" - }, - "type": "library", - "extra": { - "laminas": { - "module": "DoctrineMongoODMModule" - } - }, - "autoload": { - "psr-4": { - "DoctrineMongoODMModule\\": "src/DoctrineMongoODMModule/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kyle Spraggs", - "email": "theman@spiffyjr.me" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com" - }, - { - "name": "Evan Coury", - "email": "me@evancoury.com" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@hotmail.com" - }, - { - "name": "Tim Roediger", - "email": "superdweebie@gmail.com" - }, - { - "name": "Maciej Malarz", - "email": "malarzm@gmail.com" - }, - { - "name": "Andreas Braun", - "email": "alcaeus@alcaeus.org" - }, - { - "name": "Tom H Anderson", - "email": "tom.h.anderson@gmail.com" - } - ], - "description": "Laminas Module which provides Doctrine MongoDB ODM functionality", - "homepage": "https://www.doctrine-project.org/", - "keywords": [ - "doctrine", - "laminas", - "module", - "mongodb", - "odm" - ], - "support": { - "issues": "https://github.com/doctrine/DoctrineMongoODMModule/issues", - "source": "https://github.com/doctrine/DoctrineMongoODMModule/tree/2.0.2" - }, - "time": "2020-07-21T08:27:53+00:00" - }, { "name": "doctrine/doctrine-orm-module", - "version": "4.0.2", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/doctrine/DoctrineORMModule.git", - "reference": "2da90be662cffb23ac3970bf2b933a06b8745f1b" + "reference": "fe2985380bb35aef7940eb437f3b3d7197ea9c74" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineORMModule/zipball/2da90be662cffb23ac3970bf2b933a06b8745f1b", - "reference": "2da90be662cffb23ac3970bf2b933a06b8745f1b", + "url": "https://api.github.com/repos/doctrine/DoctrineORMModule/zipball/fe2985380bb35aef7940eb437f3b3d7197ea9c74", + "reference": "fe2985380bb35aef7940eb437f3b3d7197ea9c74", "shasum": "" }, - "require": { - "composer/package-versions-deprecated": "^1.11", - "doctrine/dbal": "^2.10", - "doctrine/doctrine-module": "^4.0", - "doctrine/orm": "^2.6.4", - "doctrine/persistence": "^1.3.3||^2.0", - "php": "^7.3 || ^8.0", - "symfony/console": "^5.0" + "require": { + "container-interop/container-interop": "^1.2.0", + "doctrine/dbal": "^2.13.7 || ^3.3.2", + "doctrine/doctrine-laminas-hydrator": "^3.0.0", + "doctrine/doctrine-module": "^5.1.0", + "doctrine/event-manager": "^1.1.1", + "doctrine/orm": "^2.11.1", + "doctrine/persistence": "^2.3.0", + "ext-json": "*", + "laminas/laminas-eventmanager": "^3.4.0", + "laminas/laminas-modulemanager": "^2.11.0", + "laminas/laminas-mvc": "^3.3.2", + "laminas/laminas-paginator": "^2.12.2", + "laminas/laminas-servicemanager": "^3.10.0", + "laminas/laminas-stdlib": "^3.7.1", + "php": "^7.4 || ~8.0.0 || ~8.1.0", + "symfony/console": "^5.4.3 || ^6.0.3" }, "conflict": { - "doctrine/migrations": "<3.0" + "doctrine/migrations": "<3.3" }, "require-dev": { - "doctrine/annotations": "^1.8", - "doctrine/coding-standard": "^8.0", - "doctrine/data-fixtures": "^1.2.1", - "doctrine/migrations": "^3.0", - "laminas/laminas-code": "^3.3.2", - "laminas/laminas-console": "^2.6", - "laminas/laminas-developer-tools": "^1.1", - "laminas/laminas-i18n": "^2.7.3", - "laminas/laminas-log": "^2.9", - "laminas/laminas-modulemanager": "^2.7.2", - "laminas/laminas-mvc-console": "^1.2", - "laminas/laminas-serializer": "^2.8", - "ocramius/proxy-manager": "^2.2", - "phpunit/phpunit": "^9.5", - "squizlabs/php_codesniffer": "^3.5", - "vimeo/psalm": "^4.3" + "doctrine/annotations": "^1.13.2", + "doctrine/coding-standard": "^9.0.0", + "doctrine/data-fixtures": "^1.5.2", + "doctrine/migrations": "^3.4.1", + "laminas/laminas-developer-tools": "^2.3.0", + "laminas/laminas-i18n": "^2.13.0", + "laminas/laminas-log": "^2.15.0", + "laminas/laminas-serializer": "^2.12.0", + "ocramius/proxy-manager": "^2.2.0", + "phpstan/phpstan": "^1.4.6", + "phpstan/phpstan-phpunit": "^1.0.0", + "phpunit/phpunit": "^9.5.13", + "squizlabs/php_codesniffer": "^3.6.2", + "vimeo/psalm": "^4.20.0" }, "suggest": { "doctrine/migrations": "doctrine migrations if you want to keep your schema definitions versioned", @@ -7260,7 +6034,7 @@ } }, "autoload": { - "psr-0": { + "psr-4": { "DoctrineORMModule\\": "src/" } }, @@ -7303,7 +6077,7 @@ ], "support": { "issues": "https://github.com/doctrine/DoctrineORMModule/issues", - "source": "https://github.com/doctrine/DoctrineORMModule/tree/4.0.2" + "source": "https://github.com/doctrine/DoctrineORMModule/tree/5.1.0" }, "funding": [ { @@ -7319,7 +6093,7 @@ "type": "tidelift" } ], - "time": "2021-10-18T17:01:29+00:00" + "time": "2022-02-14T13:00:11+00:00" }, { "name": "doctrine/instantiator", @@ -7391,240 +6165,62 @@ ], "time": "2022-03-03T08:28:38+00:00" }, - { - "name": "doctrine/mongodb", - "version": "1.6.4", - "source": { - "type": "git", - "url": "https://github.com/doctrine/mongodb.git", - "reference": "46b6316ae42df121df1b870b2cd4342ce7eeac80" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/mongodb/zipball/46b6316ae42df121df1b870b2cd4342ce7eeac80", - "reference": "46b6316ae42df121df1b870b2cd4342ce7eeac80", - "shasum": "" - }, - "require": { - "doctrine/common": "^2.2", - "ext-mongo": "^1.6.7", - "php": "^5.6 || ^7.0" - }, - "require-dev": { - "jmikola/geojson": "^1.0", - "phpunit/phpunit": "^5.7 || ^6.0" - }, - "suggest": { - "alcaeus/mongo-php-adapter": "Allows usage of PHP 7", - "jmikola/geojson": "Support GeoJSON geometry objects in 2dsphere queries" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\MongoDB": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jonathan H. Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Jeremy Mikola", - "email": "jmikola@gmail.com" - }, - { - "name": "Bulat Shakirzyanov", - "email": "mallluhuct@gmail.com" - }, - { - "name": "Kris Wallsmith", - "email": "kris.wallsmith@gmail.com" - }, - { - "name": "Maciej Malarz", - "email": "malarzm@gmail.com" - }, - { - "name": "Andreas Braun", - "email": "alcaeus@alcaeus.org" - } - ], - "description": "Doctrine MongoDB Abstraction Layer", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "mongodb", - "persistence" - ], - "support": { - "issues": "https://github.com/doctrine/mongodb/issues", - "source": "https://github.com/doctrine/mongodb/tree/1.6.x" - }, - "abandoned": true, - "time": "2019-07-11T05:36:15+00:00" - }, - { - "name": "doctrine/mongodb-odm", - "version": "1.3.7", - "source": { - "type": "git", - "url": "https://github.com/doctrine/mongodb-odm.git", - "reference": "d91c17bd2eeda0ca2a5576bea93e2468573e0d9f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/mongodb-odm/zipball/d91c17bd2eeda0ca2a5576bea93e2468573e0d9f", - "reference": "d91c17bd2eeda0ca2a5576bea93e2468573e0d9f", - "shasum": "" - }, - "require": { - "doctrine/annotations": "~1.2", - "doctrine/cache": "~1.0", - "doctrine/collections": "~1.1", - "doctrine/common": "^2.5.0", - "doctrine/inflector": "~1.0", - "doctrine/instantiator": "^1.0.1", - "doctrine/mongodb": "^1.6.4", - "php": "^5.6 || ^7.0", - "symfony/console": "~2.3|~3.0|^4.0|^5.0" - }, - "require-dev": { - "phpbench/phpbench": "^0.13.0", - "phpunit/phpunit": "^5.7.21|^7.5", - "symfony/yaml": "~2.3|~3.0|^4.0" - }, - "suggest": { - "alcaeus/mongo-php-adapter": "Allows usage of PHP 7", - "symfony/yaml": "Enables the YAML metadata mapping driver" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.2.x-dev" - } - }, - "autoload": { - "psr-0": { - "Doctrine\\ODM\\MongoDB": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Bulat Shakirzyanov", - "email": "mallluhuct@gmail.com" - }, - { - "name": "Kris Wallsmith", - "email": "kris.wallsmith@gmail.com" - }, - { - "name": "Jonathan H. Wage", - "email": "jonwage@gmail.com" - }, - { - "name": "Jeremy Mikola", - "email": "jmikola@gmail.com" - }, - { - "name": "Maciej Malarz", - "email": "malarzm@gmail.com" - }, - { - "name": "Andreas Braun", - "email": "alcaeus@alcaeus.org" - } - ], - "description": "Doctrine MongoDB Object Document Mapper", - "homepage": "http://www.doctrine-project.org", - "keywords": [ - "database", - "mongodb", - "odm", - "persistence" - ], - "support": { - "issues": "https://github.com/doctrine/mongodb-odm/issues", - "source": "https://github.com/doctrine/mongodb-odm/tree/1.3.7" - }, - "funding": [ - { - "url": "https://www.doctrine-project.org/sponsorship.html", - "type": "custom" - }, - { - "url": "https://www.patreon.com/phpdoctrine", - "type": "patreon" - }, - { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fmongodb-odm", - "type": "tidelift" - } - ], - "time": "2020-04-22T21:21:59+00:00" - }, { "name": "doctrine/orm", - "version": "2.7.5", + "version": "2.12.0", "source": { "type": "git", "url": "https://github.com/doctrine/orm.git", - "reference": "01187c9260cd085529ddd1273665217cae659640" + "reference": "d5503644314ed825fe4b276a588458a033fa3e7c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/orm/zipball/01187c9260cd085529ddd1273665217cae659640", - "reference": "01187c9260cd085529ddd1273665217cae659640", + "url": "https://api.github.com/repos/doctrine/orm/zipball/d5503644314ed825fe4b276a588458a033fa3e7c", + "reference": "d5503644314ed825fe4b276a588458a033fa3e7c", "shasum": "" }, "require": { - "composer/package-versions-deprecated": "^1.8", - "doctrine/annotations": "^1.11.1", - "doctrine/cache": "^1.9.1", + "composer-runtime-api": "^2", + "doctrine/cache": "^1.12.1 || ^2.1.1", "doctrine/collections": "^1.5", - "doctrine/common": "^2.11 || ^3.0", - "doctrine/dbal": "^2.9.3", + "doctrine/common": "^3.0.3", + "doctrine/dbal": "^2.13.1 || ^3.2", + "doctrine/deprecations": "^0.5.3", "doctrine/event-manager": "^1.1", - "doctrine/inflector": "^1.0", + "doctrine/inflector": "^1.4 || ^2.0", "doctrine/instantiator": "^1.3", - "doctrine/lexer": "^1.0", - "doctrine/persistence": "^1.3.3 || ^2.0", - "ext-pdo": "*", - "php": "^7.1", - "symfony/console": "^3.0|^4.0|^5.0" + "doctrine/lexer": "^1.2.3", + "doctrine/persistence": "^2.4 || ^3", + "ext-ctype": "*", + "php": "^7.1 || ^8.0", + "psr/cache": "^1 || ^2 || ^3", + "symfony/console": "^3.0 || ^4.0 || ^5.0 || ^6.0", + "symfony/polyfill-php72": "^1.23", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "doctrine/annotations": "<1.13 || >= 2.0" }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.12.18", - "phpunit/phpunit": "^8.0", - "symfony/yaml": "^3.4|^4.0|^5.0", - "vimeo/psalm": "^3.11" + "doctrine/annotations": "^1.13", + "doctrine/coding-standard": "^9.0", + "phpbench/phpbench": "^0.16.10 || ^1.0", + "phpstan/phpstan": "~1.4.10 || 1.5.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.4", + "psr/log": "^1 || ^2 || ^3", + "squizlabs/php_codesniffer": "3.6.2", + "symfony/cache": "^4.4 || ^5.4 || ^6.0", + "symfony/yaml": "^3.4 || ^4.0 || ^5.0 || ^6.0", + "vimeo/psalm": "4.22.0" }, "suggest": { + "symfony/cache": "Provides cache support for Setup Tool with doctrine/cache 2.0", "symfony/yaml": "If you want to use YAML Metadata Mapping Driver" }, "bin": [ "bin/doctrine" ], "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7.x-dev" - } - }, "autoload": { "psr-4": { "Doctrine\\ORM\\": "lib/Doctrine/ORM" @@ -7664,9 +6260,9 @@ ], "support": { "issues": "https://github.com/doctrine/orm/issues", - "source": "https://github.com/doctrine/orm/tree/2.7.5" + "source": "https://github.com/doctrine/orm/tree/2.12.0" }, - "time": "2020-12-03T08:52:14+00:00" + "time": "2022-04-19T18:34:28+00:00" }, { "name": "felixfbecker/advanced-json-rpc", @@ -7715,16 +6311,16 @@ }, { "name": "felixfbecker/language-server-protocol", - "version": "1.5.1", + "version": "v1.5.2", "source": { "type": "git", "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730" + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/9d846d1f5cf101deee7a61c8ba7caa0a975cd730", - "reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", "shasum": "" }, "require": { @@ -7765,9 +6361,9 @@ ], "support": { "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/1.5.1" + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" }, - "time": "2021-02-22T14:02:09+00:00" + "time": "2022-03-02T22:36:06+00:00" }, { "name": "jean85/pretty-package-versions", @@ -7830,16 +6426,16 @@ }, { "name": "laminas-api-tools/api-tools-admin", - "version": "1.10.3", + "version": "1.10.4", "source": { "type": "git", "url": "https://github.com/laminas-api-tools/api-tools-admin.git", - "reference": "6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef" + "reference": "e094bf3413b5e21f1ecd86f1162121bbdea633b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin/zipball/6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef", - "reference": "6bbe152523a9a3f5dfa00b31b5a149c3bd6970ef", + "url": "https://api.github.com/repos/laminas-api-tools/api-tools-admin/zipball/e094bf3413b5e21f1ecd86f1162121bbdea633b2", + "reference": "e094bf3413b5e21f1ecd86f1162121bbdea633b2", "shasum": "" }, "require": { @@ -7927,7 +6523,7 @@ "type": "community_bridge" } ], - "time": "2022-01-14T20:50:09+00:00" + "time": "2022-04-20T08:38:35+00:00" }, { "name": "laminas-api-tools/api-tools-admin-ui", @@ -8064,35 +6660,29 @@ }, { "name": "laminas/laminas-code", - "version": "3.5.1", + "version": "4.5.1", "source": { "type": "git", "url": "https://github.com/laminas/laminas-code.git", - "reference": "b549b70c0bb6e935d497f84f750c82653326ac77" + "reference": "6fd96d4d913571a2cd056a27b123fa28cb90ac4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/b549b70c0bb6e935d497f84f750c82653326ac77", - "reference": "b549b70c0bb6e935d497f84f750c82653326ac77", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/6fd96d4d913571a2cd056a27b123fa28cb90ac4e", + "reference": "6fd96d4d913571a2cd056a27b123fa28cb90ac4e", "shasum": "" }, "require": { - "laminas/laminas-eventmanager": "^3.3", - "laminas/laminas-zendframework-bridge": "^1.1", - "php": "^7.3 || ~8.0.0" - }, - "conflict": { - "phpspec/prophecy": "<1.9.0" - }, - "replace": { - "zendframework/zend-code": "^3.4.1" + "php": ">=7.4, <8.2" }, "require-dev": { - "doctrine/annotations": "^1.10.4", + "doctrine/annotations": "^1.13.2", "ext-phar": "*", - "laminas/laminas-coding-standard": "^1.0.0", - "laminas/laminas-stdlib": "^3.3.0", - "phpunit/phpunit": "^9.4.2" + "laminas/laminas-coding-standard": "^2.3.0", + "laminas/laminas-stdlib": "^3.6.1", + "phpunit/phpunit": "^9.5.10", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.13.1" }, "suggest": { "doctrine/annotations": "Doctrine\\Common\\Annotations >=1.0 for annotation features", @@ -8100,6 +6690,9 @@ }, "type": "library", "autoload": { + "files": [ + "polyfill/ReflectionEnumPolyfill.php" + ], "psr-4": { "Laminas\\Code\\": "src/" } @@ -8112,7 +6705,8 @@ "homepage": "https://laminas.dev", "keywords": [ "code", - "laminas" + "laminas", + "laminasframework" ], "support": { "chat": "https://laminas.dev/chat", @@ -8128,7 +6722,7 @@ "type": "community_bridge" } ], - "time": "2020-11-30T20:16:31+00:00" + "time": "2021-12-19T18:06:55+00:00" }, { "name": "laminas/laminas-coding-standard", @@ -8339,22 +6933,22 @@ }, { "name": "laminas/laminas-serializer", - "version": "2.12.0", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-serializer.git", - "reference": "2826fd71f202569c169456a4b84297da9ff630cd" + "reference": "aa72a694d79f01ef1252b276ca9930158c3b877d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/2826fd71f202569c169456a4b84297da9ff630cd", - "reference": "2826fd71f202569c169456a4b84297da9ff630cd", + "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/aa72a694d79f01ef1252b276ca9930158c3b877d", + "reference": "aa72a694d79f01ef1252b276ca9930158c3b877d", "shasum": "" }, "require": { "laminas/laminas-json": "^3.1", "laminas/laminas-stdlib": "^3.2", - "php": "^7.3 || ~8.0.0 || ~8.1.0" + "php": "^7.4 || ~8.0.0 || ~8.1.0" }, "conflict": { "zendframework/zend-serializer": "*" @@ -8405,7 +6999,7 @@ "type": "community_bridge" } ], - "time": "2021-12-06T04:52:05+00:00" + "time": "2022-04-11T19:50:04+00:00" }, { "name": "laminas/laminas-test", @@ -8942,16 +7536,16 @@ }, { "name": "phpdocumentor/type-resolver", - "version": "1.6.0", + "version": "1.6.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706" + "reference": "77a32518733312af16a44300404e945338981de3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/93ebd0014cab80c4ea9f5e297ea48672f1b87706", - "reference": "93ebd0014cab80c4ea9f5e297ea48672f1b87706", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3", + "reference": "77a32518733312af16a44300404e945338981de3", "shasum": "" }, "require": { @@ -8986,9 +7580,9 @@ "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", "support": { "issues": "https://github.com/phpDocumentor/TypeResolver/issues", - "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.0" + "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1" }, - "time": "2022-01-04T19:58:01+00:00" + "time": "2022-03-15T21:29:03+00:00" }, { "name": "phpspec/prophecy", @@ -9111,35 +7705,30 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.2.0", + "version": "1.4.4", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e" + "reference": "d8e9fd97ca11f2f24fc1aafbcfb1f78bce762267" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/dbc093d7af60eff5cd575d2ed761b15ed40bd08e", - "reference": "dbc093d7af60eff5cd575d2ed761b15ed40bd08e", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/d8e9fd97ca11f2f24fc1aafbcfb1f78bce762267", + "reference": "d8e9fd97ca11f2f24fc1aafbcfb1f78bce762267", "shasum": "" }, "require": { - "php": "^7.1 || ^8.0" + "php": "^7.2 || ^8.0" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.0", + "phpstan/phpstan": "^1.5", "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.5", "symfony/process": "^5.2" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, "autoload": { "psr-4": { "PHPStan\\PhpDocParser\\": [ @@ -9154,9 +7743,9 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.2.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.4.4" }, - "time": "2021-09-16T20:46:02+00:00" + "time": "2022-04-14T12:24:06+00:00" }, { "name": "phpunit/php-code-coverage", @@ -9478,16 +8067,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.19", + "version": "9.5.20", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807" + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/35ea4b7f3acabb26f4bb640f8c30866c401da807", - "reference": "35ea4b7f3acabb26f4bb640f8c30866c401da807", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/12bc8879fb65aef2138b26fc633cb1e3620cffba", + "reference": "12bc8879fb65aef2138b26fc633cb1e3620cffba", "shasum": "" }, "require": { @@ -9565,7 +8154,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.19" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.20" }, "funding": [ { @@ -9577,7 +8166,7 @@ "type": "github" } ], - "time": "2022-03-15T09:57:31+00:00" + "time": "2022-04-01T12:37:26+00:00" }, { "name": "psalm/plugin-phpunit", @@ -10055,16 +8644,16 @@ }, { "name": "sebastian/environment", - "version": "5.1.3", + "version": "5.1.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac" + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/388b6ced16caa751030f6a69e588299fa09200ac", - "reference": "388b6ced16caa751030f6a69e588299fa09200ac", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/1b5dff7bb151a4db11d49d90e5408e4e938270f7", + "reference": "1b5dff7bb151a4db11d49d90e5408e4e938270f7", "shasum": "" }, "require": { @@ -10106,7 +8695,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.3" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.4" }, "funding": [ { @@ -10114,7 +8703,7 @@ "type": "github" } ], - "time": "2020-09-28T05:52:38+00:00" + "time": "2022-04-03T09:37:03+00:00" }, { "name": "sebastian/exporter", @@ -10655,32 +9244,32 @@ }, { "name": "slevomat/coding-standard", - "version": "7.0.19", + "version": "7.1", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37" + "reference": "b521bd358b5f7a7d69e9637fd139e036d8adeb6f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", - "reference": "bef66a43815bbf9b5f49775e9ded3f7c6ba0cc37", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/b521bd358b5f7a7d69e9637fd139e036d8adeb6f", + "reference": "b521bd358b5f7a7d69e9637fd139e036d8adeb6f", "shasum": "" }, "require": { "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2 || ^0.7", - "php": "^7.1 || ^8.0", - "phpstan/phpdoc-parser": "^1.0.0", + "php": "^7.2 || ^8.0", + "phpstan/phpdoc-parser": "^1.4.1", "squizlabs/php_codesniffer": "^3.6.2" }, "require-dev": { "phing/phing": "2.17.2", "php-parallel-lint/php-parallel-lint": "1.3.2", - "phpstan/phpstan": "1.4.6", + "phpstan/phpstan": "1.4.10|1.5.2", "phpstan/phpstan-deprecation-rules": "1.0.0", - "phpstan/phpstan-phpunit": "1.0.0", + "phpstan/phpstan-phpunit": "1.0.0|1.1.0", "phpstan/phpstan-strict-rules": "1.1.0", - "phpunit/phpunit": "7.5.20|8.5.21|9.5.16" + "phpunit/phpunit": "7.5.20|8.5.21|9.5.19" }, "type": "phpcodesniffer-standard", "extra": { @@ -10700,7 +9289,7 @@ "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", "support": { "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/7.0.19" + "source": "https://github.com/slevomat/coding-standard/tree/7.1" }, "funding": [ { @@ -10712,7 +9301,7 @@ "type": "tidelift" } ], - "time": "2022-03-01T18:01:41+00:00" + "time": "2022-03-29T12:44:16+00:00" }, { "name": "squizlabs/php_codesniffer", @@ -10911,6 +9500,82 @@ ], "time": "2022-03-02T12:42:23+00:00" }, + { + "name": "symfony/polyfill-php72", + "version": "v1.25.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "9a142215a36a3888e30d0a9eeea9766764e96976" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/9a142215a36a3888e30d0a9eeea9766764e96976", + "reference": "9a142215a36a3888e30d0a9eeea9766764e96976", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.23-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php72\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2021-05-27T09:17:38+00:00" + }, { "name": "symfony/yaml", "version": "v5.4.3", diff --git a/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php b/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php index 68bc60b7..d1e2b2e7 100644 --- a/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php +++ b/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php @@ -46,23 +46,4 @@ public function testORMAutodiscoveryEntitiesWithFields(): void $this->assertEquals('Product', $result[2]['service_name']); $this->assertCount(1, $result[2]['fields']); } - - public function testODMAutodiscoveryEntitiesWithFields(): void - { - $this->setApplicationConfig( - include __DIR__ . '/../../../config/ODM/application.config.php' - ); - - $model = new DoctrineAutodiscoveryModel([]); - $model->setServiceLocator($this->getApplicationServiceLocator()); - - $result = $model->fetchFields(null, null, 'doctrine.documentmanager.odm_default'); - - $this->assertIsArray($result); - $this->assertCount(1, $result); - - $this->assertEquals(Meta::class, $result[0]['entity_class']); - $this->assertEquals('Meta', $result[0]['service_name']); - $this->assertCount(2, $result[0]['fields']); - } } diff --git a/test/src/Server/Event/Listener/CollectionListenerTest.php b/test/src/Server/Event/Listener/CollectionListenerTest.php index e352efa5..125447a9 100644 --- a/test/src/Server/Event/Listener/CollectionListenerTest.php +++ b/test/src/Server/Event/Listener/CollectionListenerTest.php @@ -6,10 +6,12 @@ use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Instantiator\InstantiatorInterface; +use Doctrine\ORM\EntityManager; use Doctrine\ORM\Mapping\ClassMetadata; use Laminas\ApiTools\Doctrine\Server\Event\Listener\CollectionListener; use Laminas\Hydrator\HydratorInterface; use LaminasTestApiToolsDb\Entity\Artist; +use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; use PHPUnit_Framework_MockObject_MockObject; use ReflectionMethod; @@ -19,19 +21,22 @@ class CollectionListenerTest extends TestCase { /** * @dataProvider trueFalseProvider + * * @param bool $withEntityFactory + * * @return void */ public function testProcessNewEntity($withEntityFactory) { $artist = $this->getMockBuilder(Artist::class)->getMock(); - $data = []; + $data = []; - /** @var ObjectManager|PHPUnit_Framework_MockObject_MockObject $om */ - $om = $this->getMockBuilder(ObjectManager::class)->getMock(); + /** @var EntityManager|MockObject $om */ + $om = $this->getMockBuilder(EntityManager::class) + ->disableOriginalConstructor()->getMock(); $classMetadata = $this->getMockBuilder(ClassMetadata::class) - ->disableOriginalConstructor() - ->getMock(); + ->disableOriginalConstructor() + ->getMock(); $classMetadata->expects(self::once()) ->method('getIdentifierFieldNames') ->with(Artist::class) @@ -53,7 +58,8 @@ public function testProcessNewEntity($withEntityFactory) if ($withEntityFactory) { /** @var InstantiatorInterface|PHPUnit_Framework_MockObject_MockObject $entityFactory */ - $entityFactory = $this->getMockBuilder(InstantiatorInterface::class)->getMock(); + $entityFactory = $this->getMockBuilder(InstantiatorInterface::class) + ->getMock(); $entityFactory->expects(self::once()) ->method('instantiate') @@ -66,7 +72,9 @@ public function testProcessNewEntity($withEntityFactory) $listener = new CollectionListener($entityFactory); $listener->setObjectManager($om); - $hydratorMapProperty = new ReflectionProperty($listener, 'entityHydratorMap'); + $hydratorMapProperty = new ReflectionProperty( + $listener, 'entityHydratorMap' + ); $hydratorMapProperty->setAccessible(true); $hydratorMapProperty->setValue($listener, [Artist::class => $hydrator]); diff --git a/test/src/Server/ODM/CRUD/CRUDTest.php b/test/src/Server/ODM/CRUD/CRUDTest.php deleted file mode 100644 index a53c2955..00000000 --- a/test/src/Server/ODM/CRUD/CRUDTest.php +++ /dev/null @@ -1,490 +0,0 @@ -setApplicationConfig( - include __DIR__ . '/../../../../config/ODM/application.config.php' - ); - - $this->buildODMApi(); - } - - protected function tearDown(): void - { - $this->clearData(); - - parent::tearDown(); - } - - protected function buildODMApi(): void - { - $serviceManager = $this->getApplication()->getServiceManager(); - - /** @var DoctrineRestServiceResource $resource */ - $resource = $serviceManager->get(DoctrineRestServiceResource::class); - - $metaResourceDefinition = [ - 'objectManager' => 'doctrine.documentmanager.odm_default', - 'serviceName' => 'Meta', - 'entityClass' => Meta::class, - 'routeIdentifierName' => 'meta_id', - 'entityIdentifierName' => 'id', - 'routeMatch' => '/test/meta', - ]; - - $this->setModuleName($resource, 'LaminasTestApiToolsDbMongoApi'); - $metaEntity = $resource->create($metaResourceDefinition); - - $this->assertInstanceOf(DoctrineRestServiceEntity::class, $metaEntity); - - $this->reset(); - - $serviceManager = $this->getApplication()->getServiceManager(); - $this->dm = $serviceManager->get('doctrine.documentmanager.odm_default'); - } - - protected function clearData(): void - { - $config = $this->getApplication()->getConfig(); - $config = $config['doctrine']['connection']['odm_default']; - - $connection = new MongoClient($config['connectionString']); - $db = $connection->{$config['dbname']}; - $collection = $db->meta; - $collection->remove(); - } - - public function testCreate(): void - { - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - - $this->dispatch( - '/test/meta', - Request::METHOD_POST, - [ - 'name' => 'MetaOne', - 'createdAt' => '2016-08-21 23:04:19', - ] - ); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(201); - $this->assertEquals('MetaOne', $body['name']); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_CREATE_PRE, - DoctrineResourceEvent::EVENT_CREATE_POST, - ]); - } - - public function testCreateWithListenerThatReturnsApiProblem(): void - { - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_CREATE_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestCreateFailure'); - } - ); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - - $this->dispatch( - '/test/meta', - Request::METHOD_POST, - ['name' => 'Meta ODM', 'createdAt' => '2016-08-21 23:09:58'] - ); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestCreateFailure', $body['detail']); - } - - public function testCreateByExplicitlySettingEntityFactoryInConstructor(): void - { - /** @var InstantiatorInterface|PHPUnit_Framework_MockObject_MockObject $entityFactoryMock */ - $entityFactoryMock = $this->getMockBuilder(InstantiatorInterface::class)->getMock(); - $entityFactoryMock->expects(self::once()) - ->method('instantiate') - ->with(Meta::class) - ->willReturnCallback(function ($class) { - return new $class(); - }); - - /** @var ServiceManager $sm */ - $sm = $this->getApplication()->getServiceManager(); - - $config = $sm->get('config'); - $resourceName = 'LaminasTestApiToolsDbMongoApi\V1\Rest\Meta\MetaResource'; - $resourceConfig = $config['api-tools']['doctrine-connected'][$resourceName]; - $resourceConfig['entity_factory'] = 'ResourceInstantiator'; - $config['api-tools']['doctrine-connected'][$resourceName] = $resourceConfig; - - $sm->setAllowOverride(true); - $sm->setService('config', $config); - $sm->setAllowOverride(false); - - $sm->setService( - 'ResourceInstantiator', - $entityFactoryMock - ); - - // dispatch a request to create a meta document (similar to testCreate()) - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - - $this->dispatch( - '/test/meta', - Request::METHOD_POST, - [ - 'name' => 'MetaOne', - 'createdAt' => '2016-08-21 23:04:19', - ] - ); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(201); - $this->assertEquals('MetaOne', $body['name']); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_CREATE_PRE, - DoctrineResourceEvent::EVENT_CREATE_POST, - ]); - } - - public function testFetch(): void - { - $meta = $this->createMeta('Meta Fetch'); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_GET); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(200); - $this->assertEquals('Meta Fetch', $body['name']); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_FETCH_PRE, - DoctrineResourceEvent::EVENT_FETCH_POST, - ]); - } - - public function testFetchWithListenerThatReturnsApiProblem(): void - { - $meta = $this->createMeta('Meta Fetch ApiProblem'); - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_FETCH_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestFetchFailure'); - } - ); - - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestFetchFailure', $body['detail']); - } - - public function testFetchAll(): void - { - $meta1 = $this->createMeta('Meta 1'); - $meta2 = $this->createMeta('Meta 2'); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_GET); - - $this->dispatch('/test/meta'); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(200); - $this->assertEquals(2, $body['total_items']); - $this->assertCount(2, $body['_embedded']['meta']); - $this->assertEquals($meta1->getId(), $body['_embedded']['meta'][0]['id']); - $this->assertEquals($meta2->getId(), $body['_embedded']['meta'][1]['id']); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_FETCH_ALL_PRE, - DoctrineResourceEvent::EVENT_FETCH_ALL_POST, - ]); - } - - public function testFetchAllEmptyCollection(): void - { - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_GET); - - $this->dispatch('/test/meta'); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(200); - $this->assertEquals(0, $body['total_items']); - $this->assertCount(0, $body['_embedded']['meta']); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_FETCH_ALL_PRE, - DoctrineResourceEvent::EVENT_FETCH_ALL_POST, - ]); - } - - public function testFetchAllWithListenerThatReturnsApiProblem(): void - { - $this->createMeta('Meta FetchAll ApiProblem'); - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_FETCH_ALL_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestFetchAllFailure'); - } - ); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - - $this->dispatch('/test/meta'); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestFetchAllFailure', $body['detail']); - } - - public function testPatch(): void - { - $meta = $this->createMeta('Meta Patch'); - $this->getRequest()->getHeaders()->addHeaders([ - 'Accept' => 'application/json', - 'Content-type' => 'application/json', - ]); - $this->getRequest()->setMethod(Request::METHOD_PATCH); - $this->getRequest()->setContent(json_encode(['name' => 'Meta Patch Edit'])); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(200); - $this->assertEquals('Meta Patch Edit', $body['name']); - $this->assertEquals($meta->getId(), $body['id']); - $foundEntity = $this->dm->getRepository(Meta::class)->find($meta->getId()); - $this->assertEquals('Meta Patch Edit', $foundEntity->getName()); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_PATCH_PRE, - DoctrineResourceEvent::EVENT_PATCH_POST, - ]); - } - - public function testPatchWithListenerThatReturnsApiProblem(): void - { - $meta = $this->createMeta('Meta Patch ApiProblem'); - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_PATCH_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestPatchFailure'); - } - ); - $this->getRequest()->getHeaders()->addHeaders([ - 'Accept' => 'application/json', - 'Content-type' => 'application/json', - ]); - $this->getRequest()->setMethod(Request::METHOD_PATCH); - $this->getRequest()->setContent(json_encode(['name' => 'MetaTenPatchEdit'])); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestPatchFailure', $body['detail']); - } - - public function testPut(): void - { - $meta = $this->createMeta('Meta Put'); - $this->getRequest()->getHeaders()->addHeaders([ - 'Accept' => 'application/json', - 'Content-type' => 'application/json', - ]); - $this->getRequest()->setMethod(Request::METHOD_PUT); - $this->getRequest()->setContent(json_encode([ - 'name' => 'Meta Put Edit', - 'createdAt' => '2016-08-22 00:08:19', - ])); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(200); - $this->assertEquals('Meta Put Edit', $body['name']); - $foundEntity = $this->dm->getRepository(Meta::class)->find($meta->getId()); - $this->assertEquals('Meta Put Edit', $foundEntity->getName()); - $this->assertEquals('2016-08-22 00:08:19', $foundEntity->getCreatedAt()->format('Y-m-d H:i:s')); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_UPDATE_PRE, - DoctrineResourceEvent::EVENT_UPDATE_POST, - ]); - } - - public function testPutWithListenerThatReturnsApiProblem(): void - { - $meta = $this->createMeta('Meta Put ApiProblem'); - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_UPDATE_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestPutFailure'); - } - ); - $this->getRequest()->getHeaders()->addHeaders([ - 'Accept' => 'application/json', - 'Content-type' => 'application/json', - ]); - $this->getRequest()->setMethod(Request::METHOD_PUT); - $this->getRequest()->setContent(json_encode([ - 'name' => 'Meta Put Edit', - 'createdAt' => '2016-08-21 22:10:19', - ])); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestPutFailure', $body['detail']); - } - - public function testDelete(): void - { - $meta = $this->createMeta('Meta Delete'); - $id = $meta->getId(); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_DELETE); - - $this->dispatch('/test/meta/' . $id); - - $this->assertResponseStatusCode(204); - $this->assertNull($this->dm->getRepository(Meta::class)->find($id)); - $this->validateTriggeredEvents([ - DoctrineResourceEvent::EVENT_DELETE_PRE, - DoctrineResourceEvent::EVENT_DELETE_POST, - ]); - } - - public function testDeleteWithListenerThatReturnsApiProblem(): void - { - $meta = $this->createMeta('Meta Delete ApiProblem'); - $sharedEvents = $this->getApplication()->getEventManager()->getSharedManager(); - $sharedEvents->attach( - DoctrineResource::class, - DoctrineResourceEvent::EVENT_DELETE_PRE, - function (DoctrineResourceEvent $e) { - $e->stopPropagation(); - return new ApiProblem(400, 'LaminasTestDeleteFailure'); - } - ); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_DELETE); - - $this->dispatch('/test/meta/' . $meta->getId()); - $body = json_decode($this->getResponse()->getBody(), true); - - $this->assertResponseStatusCode(400); - $this->assertInstanceOf(ApiProblemResponse::class, $this->getResponse()); - $this->assertEquals('LaminasTestDeleteFailure', $body['detail']); - $foundEntity = $this->dm->getRepository(Meta::class)->find($meta->getId()); - $this->assertEquals($meta->getId(), $foundEntity->getId()); - } - - public function testDeleteEntityNotFound(): void - { - $meta = $this->createMeta(); - $id = $meta->getId() . '0'; - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_DELETE); - - $this->dispatch('/test/meta/' . $id); - - $this->assertResponseStatusCode(404); - $this->validateTriggeredEvents([]); - $this->assertNull($this->dm->getRepository(Meta::class)->find($id)); - } - - public function testDeleteEntityDeleted(): void - { - $meta = $this->createMeta(); - $id = $meta->getId(); - $this->dm->remove($meta); - $this->dm->flush(); - $this->getRequest()->getHeaders()->addHeaderLine('Accept', 'application/json'); - $this->getRequest()->setMethod(Request::METHOD_DELETE); - - $this->dispatch('/test/meta/' . $id); - - $this->assertResponseStatusCode(404); - $this->validateTriggeredEvents([]); - $this->assertNull($this->dm->getRepository(Meta::class)->find($id)); - } - - /** - * @param array $expectedEvents - */ - protected function validateTriggeredEvents(array $expectedEvents): void - { - $serviceManager = $this->getApplication()->getServiceManager(); - $eventCatcher = $serviceManager->get(EventCatcher::class); - - $this->assertEquals($expectedEvents, $eventCatcher->getCaughtEvents()); - } - - /** - * @param null|string $name - * @return Meta - */ - protected function createMeta($name = null) - { - $meta = new Meta(); - $meta->setName($name ?: 'Meta Name'); - $meta->setCreatedAt(new DateTime()); - $this->dm->persist($meta); - $this->dm->flush(); - - return $meta; - } -} diff --git a/test/src/Server/Validator/NoObjectExistsFactoryTest.php b/test/src/Server/Validator/NoObjectExistsFactoryTest.php index 80e700e9..ec6a0d9a 100644 --- a/test/src/Server/Validator/NoObjectExistsFactoryTest.php +++ b/test/src/Server/Validator/NoObjectExistsFactoryTest.php @@ -4,8 +4,8 @@ namespace LaminasTest\ApiTools\Doctrine\Server\Validator; -use Doctrine\Common\Persistence\ObjectRepository; use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityRepository; use DoctrineModule\Validator\NoObjectExists as NoObjectExistsOrigin; use Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists; use Laminas\ServiceManager\ServiceManager; @@ -24,7 +24,7 @@ class NoObjectExistsFactoryTest extends TestCase /** @var ValidatorPluginManager */ private $validators; - /** @var ObjectProphecy|ObjectRepository */ + /** @var ObjectProphecy|EntityRepository */ private $objectRepository; protected function setUp(): void @@ -34,7 +34,7 @@ protected function setUp(): void $config = include __DIR__ . '/../../../../config/server.config.php'; $validatorsConfig = $config['validators']; - $this->objectRepository = $this->prophesize(ObjectRepository::class); + $this->objectRepository = $this->prophesize(EntityRepository::class); $this->serviceManager = $this->prophesize(ServiceManager::class); $this->validators = new ValidatorPluginManager($this->serviceManager->reveal(), $validatorsConfig); diff --git a/test/src/Server/Validator/ObjectExistsFactoryTest.php b/test/src/Server/Validator/ObjectExistsFactoryTest.php index 7d6c4764..e198bfea 100644 --- a/test/src/Server/Validator/ObjectExistsFactoryTest.php +++ b/test/src/Server/Validator/ObjectExistsFactoryTest.php @@ -4,8 +4,8 @@ namespace LaminasTest\ApiTools\Doctrine\Server\Validator; -use Doctrine\Common\Persistence\ObjectRepository; use Doctrine\ORM\EntityManager; +use Doctrine\ORM\EntityRepository; use DoctrineModule\Validator\ObjectExists as ObjectExistsOrigin; use Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists; use Laminas\ServiceManager\ServiceManager; @@ -24,7 +24,7 @@ class ObjectExistsFactoryTest extends TestCase /** @var ValidatorPluginManager */ private $validators; - /** @var ObjectProphecy|ObjectRepository */ + /** @var ObjectProphecy|EntityRepository */ private $objectRepository; protected function setUp(): void @@ -34,7 +34,7 @@ protected function setUp(): void $config = include __DIR__ . '/../../../../config/server.config.php'; $validatorsConfig = $config['validators']; - $this->objectRepository = $this->prophesize(ObjectRepository::class); + $this->objectRepository = $this->prophesize(EntityRepository::class); $this->serviceManager = $this->prophesize(ServiceManager::class); $this->validators = new ValidatorPluginManager($this->serviceManager->reveal(), $validatorsConfig); From bfadae4cf52016430c5ec27348644380a688d8dd Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Wed, 20 Apr 2022 15:05:05 +0300 Subject: [PATCH 08/12] #28 Fixed composer.json file. --- composer.json | 1 - composer.lock | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4a948d1e..4e976833 100644 --- a/composer.json +++ b/composer.json @@ -42,7 +42,6 @@ "api-skeletons/doctrine-orm-hydration-module": "^1.0" }, "require-dev": { - "doctrine/common": "^2.1", "doctrine/dbal": "^2.10", "doctrine/doctrine-module": "^5.1", "doctrine/doctrine-orm-module": "^5.1", diff --git a/composer.lock b/composer.lock index c5ccb0a9..a2674fa8 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": "fa85af391aba04e7ed2a7bdad8c5babb", + "content-hash": "467fd0c0256522faa64d4ec75a64cb8a", "packages": [ { "name": "api-skeletons/doctrine-orm-hydration-module", From 41484ce19bed8ba394779045c501933d97d52840 Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Sat, 14 May 2022 19:06:09 +0300 Subject: [PATCH 09/12] #29 Fixed cs-fix and psalm issues. --- composer.json | 11 +-- composer.lock | 2 +- config/admin.config.php | 90 +++++++++---------- config/server.config.php | 30 +++---- psalm.xml.dist | 1 - ...DoctrineAutodiscoveryControllerFactory.php | 9 +- .../DoctrineAutodiscoveryModelFactory.php | 9 +- .../Model/DoctrineMetadataServiceResource.php | 3 +- ...DoctrineMetadataServiceResourceFactory.php | 4 +- src/Admin/Model/DoctrineRestServiceModel.php | 3 +- ...DoctrineRestServiceModelFactoryFactory.php | 4 +- .../DoctrineRestServiceResourceFactory.php | 4 +- .../DoctrineRpcServiceModelFactoryFactory.php | 4 +- .../Model/DoctrineRpcServiceResource.php | 3 +- .../DoctrineRpcServiceResourceFactory.php | 4 +- src/Admin/Model/NewDoctrineServiceEntity.php | 4 + src/Server/Event/DoctrineResourceEvent.php | 10 +-- .../Event/Listener/CollectionListener.php | 40 +++++---- .../Paginator/Adapter/DoctrineOdmAdapter.php | 65 -------------- .../CreateFilter/AbstractCreateFilter.php | 4 - .../Query/Provider/AbstractQueryProvider.php | 11 +-- src/Server/Query/Provider/DefaultOdm.php | 44 --------- src/Server/Query/Provider/DefaultOrm.php | 5 +- .../Query/Provider/QueryProviderInterface.php | 5 +- src/Server/Resource/DoctrineResource.php | 30 +++---- .../Resource/DoctrineResourceFactory.php | 22 ++--- .../Validator/NoObjectExistsFactory.php | 9 +- src/Server/Validator/ObjectExistsFactory.php | 7 +- ...rineAutodiscoveryControllerFactoryTest.php | 6 +- .../DoctrineAutodiscoveryModelFactoryTest.php | 6 +- .../Model/DoctrineAutodiscoveryModelTest.php | 1 - ...DoctrineRestServiceResourceFactoryTest.php | 6 +- ...trineRpcServiceModelFactoryFactoryTest.php | 6 +- .../DoctrineRpcServiceResourceFactoryTest.php | 6 +- .../Event/Listener/CollectionListenerTest.php | 19 ++-- test/src/Server/ORM/CRUD/CRUDTest.php | 6 +- .../Validator/NoObjectExistsFactoryTest.php | 2 +- .../Validator/ObjectExistsFactoryTest.php | 2 +- 38 files changed, 172 insertions(+), 325 deletions(-) delete mode 100644 src/Server/Paginator/Adapter/DoctrineOdmAdapter.php delete mode 100644 src/Server/Query/Provider/DefaultOdm.php diff --git a/composer.json b/composer.json index 4e976833..120d006f 100644 --- a/composer.json +++ b/composer.json @@ -33,13 +33,15 @@ }, "require": { "php": "^7.4 || ~8.0.0", + "ext-json": "*", + "api-skeletons/doctrine-orm-hydration-module": "^1.0", "laminas-api-tools/api-tools": "^1.3", "laminas-api-tools/api-tools-rest": "^1.3.2", - "laminas/laminas-hydrator": "^3.0 || ^4.0", + "laminas/laminas-hydrator": "^4.0", + "laminas/laminas-servicemanager": "^3.11.2", "laminas/laminas-stdlib": "^3.3", "laminas/laminas-view": "^2.11.3", - "laminas/laminas-zendframework-bridge": "^1.0", - "api-skeletons/doctrine-orm-hydration-module": "^1.0" + "laminas/laminas-zendframework-bridge": "^1.0" }, "require-dev": { "doctrine/dbal": "^2.10", @@ -48,13 +50,12 @@ "laminas-api-tools/api-tools-admin": "^1.5.7", "laminas-api-tools/api-tools-hal": "^1.6.1", "laminas/laminas-coding-standard": "~2.3.0", - "laminas/laminas-form": "^2.9.2 || ^3.1.1", + "laminas/laminas-form": "^3.1.1", "laminas/laminas-i18n": "^2.7.3", "laminas/laminas-log": "^2.9.1", "laminas/laminas-mvc": "^2.7.13 || ^3.0.2", "laminas/laminas-serializer": "^2.8.0", "laminas/laminas-test": "^2.6.1 || ^3.0.1", - "mongodb/mongodb": "^1.1.0", "phpspec/prophecy-phpunit": "^2.0", "phpunit/phpunit": "^9.3", "psalm/plugin-phpunit": "^0.16.1", diff --git a/composer.lock b/composer.lock index a2674fa8..dc04fc8c 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": "467fd0c0256522faa64d4ec75a64cb8a", + "content-hash": "d1cede8038d94eb86f6e789c173c8902", "packages": [ { "name": "api-skeletons/doctrine-orm-hydration-module", diff --git a/config/admin.config.php b/config/admin.config.php index cfbd92b2..26b130dd 100644 --- a/config/admin.config.php +++ b/config/admin.config.php @@ -4,14 +4,12 @@ namespace Laminas\ApiTools\Doctrine\Admin; -use Laminas\ApiTools\Doctrine\Server; -use ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineMetadataServiceResource; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineRestServiceModelFactory; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineRestServiceResource; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineRpcServiceModelFactory; -use ZF\Apigility\Doctrine\Admin\Model\DoctrineRpcServiceResource; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineMetadataServiceResource; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRestServiceModelFactory; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRestServiceResource; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRpcServiceModelFactory; +use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRpcServiceResource; return [ 'router' => [ @@ -21,7 +19,7 @@ 'options' => [ 'route' => '/api-tools/api/module[/:name]/doctrine-rpc[/:controller_service_name]', 'defaults' => [ - 'controller' => Controller\DoctrineRpcService::class, + 'controller' => 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRpcService', ], ], 'may_terminate' => true, @@ -41,7 +39,7 @@ 'options' => [ 'route' => '/api-tools/api/doctrine[/:object_manager_alias]/metadata[/:name]', 'defaults' => [ - 'controller' => Controller\DoctrineMetadataService::class, + 'controller' => 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineMetadataService', ], ], 'may_terminate' => true, @@ -51,7 +49,7 @@ 'options' => [ 'route' => '/api-tools/api/module/:name/:version/autodiscovery/doctrine/:object_manager_alias', 'defaults' => [ - 'controller' => Controller\DoctrineAutodiscovery::class, + 'controller' => 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery', 'action' => 'discover', ], ], @@ -61,70 +59,70 @@ 'service_manager' => [ // Legacy Zend Framework aliases 'aliases' => [ - DoctrineAutodiscoveryModel::class => Model\DoctrineAutodiscoveryModel::class, - DoctrineMetadataServiceResource::class => Model\DoctrineMetadataServiceResource::class, - DoctrineRestServiceModelFactory::class => Model\DoctrineRestServiceModelFactory::class, - DoctrineRestServiceResource::class => Model\DoctrineRestServiceResource::class, - DoctrineRpcServiceModelFactory::class => Model\DoctrineRpcServiceModelFactory::class, - DoctrineRpcServiceResource::class => Model\DoctrineRpcServiceResource::class, + DoctrineAutodiscoveryModel::class => DoctrineAutodiscoveryModel::class, + DoctrineMetadataServiceResource::class => DoctrineMetadataServiceResource::class, + DoctrineRestServiceModelFactory::class => DoctrineRestServiceModelFactory::class, + DoctrineRestServiceResource::class => DoctrineRestServiceResource::class, + DoctrineRpcServiceModelFactory::class => DoctrineRpcServiceModelFactory::class, + DoctrineRpcServiceResource::class => DoctrineRpcServiceResource::class, ], 'factories' => [ - Model\DoctrineAutodiscoveryModel::class => Model\DoctrineAutodiscoveryModelFactory::class, - Model\DoctrineMetadataServiceResource::class => Model\DoctrineMetadataServiceResourceFactory::class, - Model\DoctrineRestServiceModelFactory::class => Model\DoctrineRestServiceModelFactoryFactory::class, - Model\DoctrineRestServiceResource::class => Model\DoctrineRestServiceResourceFactory::class, - Model\DoctrineRpcServiceModelFactory::class => Model\DoctrineRpcServiceModelFactoryFactory::class, - Model\DoctrineRpcServiceResource::class => Model\DoctrineRpcServiceResourceFactory::class, + DoctrineAutodiscoveryModel::class => Model\DoctrineAutodiscoveryModelFactory::class, + DoctrineMetadataServiceResource::class => Model\DoctrineMetadataServiceResourceFactory::class, + DoctrineRestServiceModelFactory::class => Model\DoctrineRestServiceModelFactoryFactory::class, + DoctrineRestServiceResource::class => Model\DoctrineRestServiceResourceFactory::class, + DoctrineRpcServiceModelFactory::class => Model\DoctrineRpcServiceModelFactoryFactory::class, + DoctrineRpcServiceResource::class => Model\DoctrineRpcServiceResourceFactory::class, ], ], 'controllers' => [ // Legacy Zend Framework aliases 'aliases' => [ - DoctrineAutodiscovery::class => Controller\DoctrineAutodiscovery::class, + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery', ], 'factories' => [ - Controller\DoctrineAutodiscovery::class => Controller\DoctrineAutodiscoveryControllerFactory::class, + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => Controller\DoctrineAutodiscoveryControllerFactory::class, ], ], 'api-tools-content-negotiation' => [ 'controllers' => [ - Controller\DoctrineAutodiscovery::class => 'Json', - Controller\DoctrineRestService::class => 'HalJson', - Controller\DoctrineRpcService::class => 'HalJson', - Controller\DoctrineMetadataService::class => 'HalJson', + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => 'Json', + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRestService' => 'HalJson', + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRpcService' => 'HalJson', + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineMetadataService' => 'HalJson', ], 'accept_whitelist' => [ - Controller\DoctrineAutodiscovery::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineRpcService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRpcService' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineRestService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRestService' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineMetadataService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineMetadataService' => [ 'application/json', 'application/*+json', ], ], 'content_type_whitelist' => [ - Controller\DoctrineAutodiscovery::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineRpcService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRpcService' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineRestService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRestService' => [ 'application/json', 'application/*+json', ], - Controller\DoctrineMetadataService::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineMetadataService' => [ 'application/json', 'application/*+json', ], @@ -153,8 +151,8 @@ ], ], 'api-tools-rest' => [ - Controller\DoctrineRpcService::class => [ - 'listener' => Model\DoctrineRpcServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRpcService' => [ + 'listener' => DoctrineRpcServiceResource::class, 'route_name' => 'api-tools-doctrine-rpc-service', 'entity_class' => Model\DoctrineRpcServiceEntity::class, 'route_identifier_name' => 'controller_service_name', @@ -163,8 +161,8 @@ 'collection_name' => 'doctrine-rpc', 'collection_query_whitelist' => ['version'], ], - Controller\DoctrineRestService::class => [ - 'listener' => Model\DoctrineRestServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineRestService' => [ + 'listener' => DoctrineRestServiceResource::class, 'route_name' => 'api-tools-doctrine-service', 'entity_class' => Model\DoctrineRestServiceEntity::class, 'route_identifier_name' => 'controller_service_name', @@ -173,8 +171,8 @@ 'collection_name' => 'doctrine', 'collection_query_whitelist' => ['version'], ], - Controller\DoctrineMetadataService::class => [ - 'listener' => Model\DoctrineMetadataServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineMetadataService' => [ + 'listener' => DoctrineMetadataServiceResource::class, 'route_name' => 'api-tools-doctrine-metadata-service', 'entity_class' => Model\DoctrineMetadataServiceEntity::class, 'route_identifier_name' => 'name', @@ -185,17 +183,17 @@ ], ], 'api-tools-rpc' => [ - Controller\DoctrineAutodiscovery::class => [ + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => [ 'http_methods' => ['GET'], 'route_name' => 'api-tools-doctrine-autodiscovery', ], ], 'validator_metadata' => [ - Server\Validator\ObjectExists::class => [ + 'ZF\Apigility\Doctrine\Server\Validator\ObjectExists' => [ 'entity_class' => 'string', 'fields' => 'string', ], - Server\Validator\NoObjectExists::class => [ + 'ZF\Apigility\Doctrine\Server\Validator\NoObjectExists' => [ 'entity_class' => 'string', 'fields' => 'string', ], diff --git a/config/server.config.php b/config/server.config.php index 544c260f..53b98aef 100644 --- a/config/server.config.php +++ b/config/server.config.php @@ -4,12 +4,9 @@ namespace Laminas\ApiTools\Doctrine\Server; +use Laminas\ApiTools\Doctrine\Server\Query\CreateFilter\DefaultCreateFilter; +use Laminas\ApiTools\Doctrine\Server\Query\Provider\DefaultOrm; use Laminas\ServiceManager\Factory\InvokableFactory; -use ZF\Apigility\Doctrine\Server\Query\CreateFilter\DefaultCreateFilter; -use ZF\Apigility\Doctrine\Server\Query\Provider\DefaultOdm; -use ZF\Apigility\Doctrine\Server\Query\Provider\DefaultOrm; -use ZF\Apigility\Doctrine\Server\Validator\NoObjectExists; -use ZF\Apigility\Doctrine\Server\Validator\ObjectExists; return [ 'service_manager' => [ @@ -30,27 +27,24 @@ ], 'api-tools-doctrine-query-provider' => [ 'aliases' => [ - 'default_odm' => Query\Provider\DefaultOdm::class, - 'default_orm' => Query\Provider\DefaultOrm::class, + 'default_orm' => DefaultOrm::class, // Legacy Zend Framework aliases - DefaultOdm::class => Query\Provider\DefaultOdm::class, - DefaultOrm::class => Query\Provider\DefaultOrm::class, + DefaultOrm::class => DefaultOrm::class, ], 'factories' => [ - Query\Provider\DefaultOdm::class => InvokableFactory::class, - Query\Provider\DefaultOrm::class => InvokableFactory::class, + DefaultOrm::class => InvokableFactory::class, ], ], 'api-tools-doctrine-query-create-filter' => [ 'aliases' => [ - 'default' => Query\CreateFilter\DefaultCreateFilter::class, + 'default' => DefaultCreateFilter::class, // Legacy Zend Framework aliases - DefaultCreateFilter::class => Query\CreateFilter\DefaultCreateFilter::class, + DefaultCreateFilter::class => DefaultCreateFilter::class, ], 'factories' => [ - Query\CreateFilter\DefaultCreateFilter::class => InvokableFactory::class, + DefaultCreateFilter::class => InvokableFactory::class, ], ], 'view_manager' => [ @@ -61,12 +55,12 @@ 'validators' => [ // Legacy Zend Framework aliases 'aliases' => [ - NoObjectExists::class => Validator\NoObjectExists::class, - ObjectExists::class => Validator\ObjectExists::class, + 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists', + 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists', ], 'factories' => [ - Validator\NoObjectExists::class => Validator\NoObjectExistsFactory::class, - Validator\ObjectExists::class => Validator\ObjectExistsFactory::class, + 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists' => Validator\NoObjectExistsFactory::class, + 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists' => Validator\ObjectExistsFactory::class, ], ], ]; diff --git a/psalm.xml.dist b/psalm.xml.dist index 58035a27..14d35ab2 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -1,6 +1,5 @@ getServiceLocator() ?: $container; - } - return $this($container, DoctrineAutodiscoveryController::class); } } diff --git a/src/Admin/Model/DoctrineAutodiscoveryModelFactory.php b/src/Admin/Model/DoctrineAutodiscoveryModelFactory.php index 55066f38..2fbb2cec 100644 --- a/src/Admin/Model/DoctrineAutodiscoveryModelFactory.php +++ b/src/Admin/Model/DoctrineAutodiscoveryModelFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; use function sprintf; @@ -14,7 +14,7 @@ class DoctrineAutodiscoveryModelFactory /** * @return DoctrineAutodiscoveryModel */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { if (! $container->has('config')) { throw new ServiceNotCreatedException(sprintf( @@ -23,7 +23,10 @@ public function __invoke(ContainerInterface $container) )); } - $instance = new DoctrineAutodiscoveryModel($container->get('config')); + /** @var array $config */ + $config = $container->get('config'); + + $instance = new DoctrineAutodiscoveryModel($config); $instance->setServiceLocator($container); return $instance; diff --git a/src/Admin/Model/DoctrineMetadataServiceResource.php b/src/Admin/Model/DoctrineMetadataServiceResource.php index 16893a63..46579f96 100644 --- a/src/Admin/Model/DoctrineMetadataServiceResource.php +++ b/src/Admin/Model/DoctrineMetadataServiceResource.php @@ -10,6 +10,7 @@ use Laminas\ApiTools\ApiProblem\ApiProblem; use Laminas\ApiTools\Rest\AbstractResourceListener; use Laminas\ServiceManager\ServiceManager; +use Laminas\Stdlib\Parameters; class DoctrineMetadataServiceResource extends AbstractResourceListener { @@ -74,7 +75,7 @@ public function fetch($entityClassName) /** * Fetch metadata for all REST services * - * @param array $params + * @param Parameters|array $params * @return RestServiceEntity[]|ApiProblem */ public function fetchAll($params = []) diff --git a/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php b/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php index dd2b6d92..3adc6d4f 100644 --- a/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php @@ -4,14 +4,14 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; class DoctrineMetadataServiceResourceFactory { /** * @return DoctrineMetadataServiceResource */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { $instance = new DoctrineMetadataServiceResource(); $instance->setServiceManager($container); diff --git a/src/Admin/Model/DoctrineRestServiceModel.php b/src/Admin/Model/DoctrineRestServiceModel.php index 10040b6d..cfe18bbf 100644 --- a/src/Admin/Model/DoctrineRestServiceModel.php +++ b/src/Admin/Model/DoctrineRestServiceModel.php @@ -211,11 +211,12 @@ public function setEventManager(EventManagerInterface $events) * * Lazy instantiates one if none currently registered * + * @psalm-suppress DocblockTypeContradiction * @return EventManagerInterface */ public function getEventManager() { - if (! $this->events) { + if (empty($this->events)) { $this->setEventManager(new EventManager()); } diff --git a/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php b/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php index 21b87478..c9732361 100644 --- a/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php +++ b/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -18,7 +18,7 @@ class DoctrineRestServiceModelFactoryFactory /** * @return DoctrineRestServiceModelFactory */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { if ( ! $container->has(ModulePathSpec::class) diff --git a/src/Admin/Model/DoctrineRestServiceResourceFactory.php b/src/Admin/Model/DoctrineRestServiceResourceFactory.php index e98de324..5db824ee 100644 --- a/src/Admin/Model/DoctrineRestServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineRestServiceResourceFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -16,7 +16,7 @@ class DoctrineRestServiceResourceFactory /** * @return DoctrineRestServiceResource */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { if ( ! $container->has(DoctrineRestServiceModelFactory::class) diff --git a/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php b/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php index 07970659..c23280ac 100644 --- a/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php +++ b/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -17,7 +17,7 @@ class DoctrineRpcServiceModelFactoryFactory /** * @return DoctrineRpcServiceModelFactory */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { if ( ! $container->has(ModulePathSpec::class) diff --git a/src/Admin/Model/DoctrineRpcServiceResource.php b/src/Admin/Model/DoctrineRpcServiceResource.php index f0453c16..cc8b16e8 100644 --- a/src/Admin/Model/DoctrineRpcServiceResource.php +++ b/src/Admin/Model/DoctrineRpcServiceResource.php @@ -7,6 +7,7 @@ use Exception; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; +use Laminas\ApiTools\Admin\Model\RpcServiceEntity; use Laminas\ApiTools\Admin\Model\RpcServiceModel; use Laminas\ApiTools\Admin\Model\RpcServiceResource; use Laminas\ApiTools\ApiProblem\ApiProblem; @@ -61,7 +62,7 @@ public function getModel() * Create a new Doctrine RPC service * * @param array|object $data - * @return DoctrineRpcServiceEntity|ApiProblem + * @return RpcServiceEntity|ApiProblem|false * @throws CreationException */ public function create($data) diff --git a/src/Admin/Model/DoctrineRpcServiceResourceFactory.php b/src/Admin/Model/DoctrineRpcServiceResourceFactory.php index 7c21aedf..56366a72 100644 --- a/src/Admin/Model/DoctrineRpcServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineRpcServiceResourceFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -17,7 +17,7 @@ class DoctrineRpcServiceResourceFactory * @return DoctrineRpcServiceResource * @throws ServiceNotCreatedException When missing required dependencies. */ - public function __invoke(ContainerInterface $container) + public function __invoke(containerinterface $container) { if ( ! $container->has(DoctrineRpcServiceModelFactory::class) diff --git a/src/Admin/Model/NewDoctrineServiceEntity.php b/src/Admin/Model/NewDoctrineServiceEntity.php index 5d264358..8df71847 100644 --- a/src/Admin/Model/NewDoctrineServiceEntity.php +++ b/src/Admin/Model/NewDoctrineServiceEntity.php @@ -32,6 +32,10 @@ public function exchangeArray(array $data) { parent::exchangeArray($data); + /** + * @var string $key + * @var mixed $value + */ foreach ($data as $key => $value) { $key = strtolower($key); $key = str_replace('_', '', $key); diff --git a/src/Server/Event/DoctrineResourceEvent.php b/src/Server/Event/DoctrineResourceEvent.php index 98376039..9eb93b3c 100644 --- a/src/Server/Event/DoctrineResourceEvent.php +++ b/src/Server/Event/DoctrineResourceEvent.php @@ -48,20 +48,16 @@ class DoctrineResourceEvent extends Event /** @var ObjectManager */ protected $objectManager; - /** - * @return ObjectManager - */ public function getObjectManager(): ObjectManager { return $this->objectManager; } - /** - * @return $this - */ - public function setObjectManager(ObjectManager $objectManager): void + public function setObjectManager(ObjectManager $objectManager): DoctrineResourceEvent { $this->objectManager = $objectManager; + + return $this; } /** diff --git a/src/Server/Event/Listener/CollectionListener.php b/src/Server/Event/Listener/CollectionListener.php index 9db2925d..32507a2c 100644 --- a/src/Server/Event/Listener/CollectionListener.php +++ b/src/Server/Event/Listener/CollectionListener.php @@ -4,13 +4,15 @@ namespace Laminas\ApiTools\Doctrine\Server\Event\Listener; -use Doctrine\Persistence\Mapping\ClassMetadata; -use Doctrine\Persistence\ObjectManager; +use ApiSkeletons\DoctrineORMHydrationModule\Service\DoctrineHydratorFactory; use Doctrine\Instantiator\InstantiatorInterface; +use Doctrine\Laminas\Hydrator\DoctrineObject; use Doctrine\ORM\Internal\Hydration\AbstractHydrator; -use DoctrineModule\Stdlib\Hydrator\DoctrineObject; +use Doctrine\Persistence\Mapping\ClassMetadata; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Doctrine\Server\Event\DoctrineResourceEvent; use Laminas\ApiTools\Doctrine\Server\Exception\InvalidArgumentException; +use Laminas\ApiTools\Rest\Exception\CreationException; use Laminas\EventManager\EventManagerInterface; use Laminas\EventManager\ListenerAggregateInterface; use Laminas\Hydrator\HydratorInterface; @@ -19,7 +21,6 @@ use Laminas\InputFilter\InputInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayObject; -use ApiSkeletons\DoctrineORMHydrationModule\Service\DoctrineHydratorFactory; use Traversable; use function array_key_exists; @@ -120,7 +121,7 @@ public function handleCollections(DoctrineResourceEvent $event) } /** - * @param object|string $entity + * @param class-string|object $entity * @param array $data * @return mixed */ @@ -135,14 +136,23 @@ protected function iterateEntity($entity, $data, InputFilterInterface $inputFilt if ($this->validateAssociationData($association, $data)) { foreach ($data[$association] as &$subEntityData) { $associationTargetClass = $metadata->getAssociationTargetClass($association); + if (empty($associationTargetClass)) { + throw new CreationException('associationTargetClass is required and must exist'); + } + // Handle nested / subresource by recursion if ( $this ->getEntityCollectionValuedAssociations($associationTargetClass, $subEntityData, true) ->count() > 0 ) { + $subresourceAssociationTargetClass = $metadata->getAssociationTargetClass($association); + if (empty($subresourceAssociationTargetClass)) { + throw new CreationException('subresourceAssociationTargetClass is required and must exist'); + } + $subEntityData = $this->iterateEntity( - $metadata->getAssociationTargetClass($association), + $subresourceAssociationTargetClass, $subEntityData, $this->getAssociatedEntityInputFilter($association, $inputFilter) ); @@ -200,7 +210,7 @@ protected function processEntity($targetEntityClassName, $data) /** * Retrieve the Doctrine MetaData for whichever entity we are currently processing * - * @param string|object $entity + * @param class-string|object $entity * @return ClassMetadata */ protected function getClassMetadata($entity) @@ -208,11 +218,9 @@ protected function getClassMetadata($entity) if (is_object($entity)) { $entity = get_class($entity); } + if (! array_key_exists($entity, $this->classMetadataMap)) { $metadata = $this->getObjectManager()->getClassMetadata($entity); - if (! $metadata || ! $metadata instanceof ClassMetadata) { - throw new InvalidArgumentException('Metadata could not be found for requested entity'); - } $this->classMetadataMap[$entity] = $metadata; } @@ -221,7 +229,7 @@ protected function getClassMetadata($entity) } /** - * @param string|object $entity + * @param class-string|object $entity * @param null|array $data * @param bool $stripEmptyAssociations * @return ArrayObject @@ -396,20 +404,16 @@ public function setObjectData($objectData) return $this; } - /** - * @return ObjectManager - */ public function getObjectManager(): ObjectManager { return $this->objectManager; } - /** - * @return $this - */ - public function setObjectManager(ObjectManager $objectManager): void + public function setObjectManager(ObjectManager $objectManager): CollectionListener { $this->objectManager = $objectManager; + + return $this; } /** diff --git a/src/Server/Paginator/Adapter/DoctrineOdmAdapter.php b/src/Server/Paginator/Adapter/DoctrineOdmAdapter.php deleted file mode 100644 index 849096ac..00000000 --- a/src/Server/Paginator/Adapter/DoctrineOdmAdapter.php +++ /dev/null @@ -1,65 +0,0 @@ -setQueryBuilder($queryBuilder); - } - - /** - * @param Builder $queryBuilder - * @return void - */ - public function setQueryBuilder($queryBuilder) - { - $this->queryBuilder = $queryBuilder; - } - - /** - * @return Builder - */ - public function getQueryBuilder() - { - return $this->queryBuilder; - } - - /** - * @param int $offset - * @param int $itemCountPerPage - * @return array - */ - public function getItems($offset, $itemCountPerPage) - { - $queryBuilder = $this->getQueryBuilder(); - $queryBuilder->skip($offset); - $queryBuilder->limit($itemCountPerPage); - - return $queryBuilder->getQuery()->execute()->toArray(); - } - - /** - * {@inheritDoc} - */ - public function count() - { - $queryBuilder = clone $this->getQueryBuilder(); - $queryBuilder->skip(0); - $queryBuilder->limit(null); - - return $queryBuilder->getQuery()->execute()->count(); - } -} diff --git a/src/Server/Query/CreateFilter/AbstractCreateFilter.php b/src/Server/Query/CreateFilter/AbstractCreateFilter.php index 22138cd7..27230310 100644 --- a/src/Server/Query/CreateFilter/AbstractCreateFilter.php +++ b/src/Server/Query/CreateFilter/AbstractCreateFilter.php @@ -22,8 +22,6 @@ abstract public function filter(ResourceEvent $event, $entityClass, $data); /** * Set the object manager - * - * @return void */ public function setObjectManager(ObjectManager $objectManager): void { @@ -32,8 +30,6 @@ public function setObjectManager(ObjectManager $objectManager): void /** * Get the object manager - * - * @return ObjectManager */ public function getObjectManager(): ObjectManager { diff --git a/src/Server/Query/Provider/AbstractQueryProvider.php b/src/Server/Query/Provider/AbstractQueryProvider.php index 62f7c134..c3b2303d 100644 --- a/src/Server/Query/Provider/AbstractQueryProvider.php +++ b/src/Server/Query/Provider/AbstractQueryProvider.php @@ -4,9 +4,8 @@ namespace Laminas\ApiTools\Doctrine\Server\Query\Provider; -use Doctrine\Persistence\ObjectManager; -use Doctrine\ODM\MongoDB\Query\Builder; use Doctrine\ORM\QueryBuilder; +use Doctrine\Persistence\ObjectManager; use DoctrineModule\Persistence\ObjectManagerAwareInterface; use Laminas\ApiTools\Doctrine\Server\Paginator\Adapter\DoctrineOrmAdapter; use Laminas\ApiTools\Rest\ResourceEvent; @@ -19,8 +18,6 @@ abstract class AbstractQueryProvider implements ObjectManagerAwareInterface, Que /** * Set the object manager - * - * @return void */ public function setObjectManager(ObjectManager $objectManager): void { @@ -29,8 +26,6 @@ public function setObjectManager(ObjectManager $objectManager): void /** * Get the object manager - * - * @return ObjectManager */ public function getObjectManager(): ObjectManager { @@ -40,12 +35,12 @@ public function getObjectManager(): ObjectManager /** * @param string $entityClass * @param array $parameters - * @return mixed This will return an ORM or ODM Query\Builder + * @return mixed This will return an ORM QueryBuilder */ abstract public function createQuery(ResourceEvent $event, $entityClass, $parameters); /** - * @param QueryBuilder|Builder $queryBuilder + * @param QueryBuilder $queryBuilder * @return AdapterInterface */ public function getPaginatedQuery($queryBuilder) diff --git a/src/Server/Query/Provider/DefaultOdm.php b/src/Server/Query/Provider/DefaultOdm.php deleted file mode 100644 index d0ee2441..00000000 --- a/src/Server/Query/Provider/DefaultOdm.php +++ /dev/null @@ -1,44 +0,0 @@ -getObjectManager()->createQueryBuilder(); - $queryBuilder->find($entityClass); - - return $queryBuilder; - } - - /** - * @param Builder $queryBuilder - * @return DoctrineOdmAdapter - */ - public function getPaginatedQuery($queryBuilder) - { - return new DoctrineOdmAdapter($queryBuilder); - } - - /** - * @param class-string $entityClass - * @return int - */ - public function getCollectionTotal($entityClass) - { - $queryBuilder = $this->getObjectManager()->createQueryBuilder(); - $queryBuilder->find($entityClass); - return $queryBuilder->getQuery()->execute()->count(); - } -} diff --git a/src/Server/Query/Provider/DefaultOrm.php b/src/Server/Query/Provider/DefaultOrm.php index c7041aaa..93aab42f 100644 --- a/src/Server/Query/Provider/DefaultOrm.php +++ b/src/Server/Query/Provider/DefaultOrm.php @@ -4,6 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Server\Query\Provider; +use Doctrine\ORM\QueryBuilder; use Laminas\ApiTools\Rest\ResourceEvent; class DefaultOrm extends AbstractQueryProvider @@ -11,10 +12,10 @@ class DefaultOrm extends AbstractQueryProvider /** * @param string $entityClass * @param array $parameters - * @return mixed This will return an ORM or ODM Query\Builder */ - public function createQuery(ResourceEvent $event, $entityClass, $parameters) + public function createQuery(ResourceEvent $event, $entityClass, $parameters): QueryBuilder { + /** @var QueryBuilder $queryBuilder */ $queryBuilder = $this->getObjectManager()->createQueryBuilder(); $queryBuilder ->select('row') diff --git a/src/Server/Query/Provider/QueryProviderInterface.php b/src/Server/Query/Provider/QueryProviderInterface.php index 0ceba444..05434645 100644 --- a/src/Server/Query/Provider/QueryProviderInterface.php +++ b/src/Server/Query/Provider/QueryProviderInterface.php @@ -4,7 +4,6 @@ namespace Laminas\ApiTools\Doctrine\Server\Query\Provider; -use Doctrine\MongoDB\Query\Builder; use Doctrine\ORM\QueryBuilder; use DoctrineModule\Persistence\ObjectManagerAwareInterface; use Laminas\ApiTools\Rest\ResourceEvent; @@ -15,7 +14,7 @@ interface QueryProviderInterface extends ObjectManagerAwareInterface /** * @param string $entityClass * @param array $parameters - * @return mixed This will return an ORM or ODM Query\Builder + * @return mixed This will return an ORM QueryBuilder */ public function createQuery(ResourceEvent $event, $entityClass, $parameters); @@ -24,7 +23,7 @@ public function createQuery(ResourceEvent $event, $entityClass, $parameters); * In order to provide a single QueryProvider service this is * included in this interface. * - * @param QueryBuilder|Builder $queryBuilder + * @param QueryBuilder $queryBuilder * @return AdapterInterface */ public function getPaginatedQuery($queryBuilder); diff --git a/src/Server/Resource/DoctrineResource.php b/src/Server/Resource/DoctrineResource.php index 5b871a18..14b68b11 100644 --- a/src/Server/Resource/DoctrineResource.php +++ b/src/Server/Resource/DoctrineResource.php @@ -5,13 +5,12 @@ namespace Laminas\ApiTools\Doctrine\Server\Resource; use Doctrine\Common\Collections\ArrayCollection; -use Doctrine\Persistence\ObjectManager; use Doctrine\Instantiator\InstantiatorInterface; -use Doctrine\ODM\MongoDB\Query\Builder as MongoDBQueryBuilder; +use Doctrine\Laminas\Hydrator\DoctrineObject; use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\NoResultException; +use Doctrine\Persistence\ObjectManager; use DoctrineModule\Persistence\ObjectManagerAwareInterface; -use DoctrineModule\Stdlib\Hydrator; use Laminas\ApiTools\ApiProblem\ApiProblem; use Laminas\ApiTools\Doctrine\Server\Event\DoctrineResourceEvent; use Laminas\ApiTools\Doctrine\Server\Exception\InvalidArgumentException; @@ -29,6 +28,7 @@ use Laminas\Hydrator\HydratorAwareInterface; use Laminas\Hydrator\HydratorInterface; use Laminas\Mvc\ModuleRouteListener; +use Laminas\Stdlib\Parameters; use ReflectionClass; use Traversable; @@ -159,8 +159,6 @@ public function getEventManager() /** * Set the object manager - * - * @return void */ public function setObjectManager(ObjectManager $objectManager): void { @@ -294,22 +292,16 @@ public function getMultiKeyDelimiter() return $this->multiKeyDelimiter; } - /** - * @return $this - */ public function setHydrator(HydratorInterface $hydrator): void { $this->hydrator = $hydrator; } - /** - * @return HydratorInterface - */ public function getHydrator(): HydratorInterface { if (! $this->hydrator) { // FIXME: find a way to test this line from a created API. Shouldn't all created API's have a hydrator? - $this->hydrator = new Hydrator\DoctrineObject($this->getObjectManager(), $this->getEntityClass()); + $this->hydrator = new DoctrineObject($this->getObjectManager(), $this->getEntityClass()); } return $this->hydrator; @@ -502,14 +494,14 @@ public function fetch($id) /** * Fetch all or a subset of resources * - * @param array $data + * @param Parameters|array $data * @return ApiProblem|mixed */ public function fetchAll($data = []) { // Build query $queryProvider = $this->getQueryProvider('fetch_all'); - $queryBuilder = $queryProvider->createQuery($this->getEvent(), $this->getEntityClass(), $data); + $queryBuilder = $queryProvider->createQuery($this->getEvent(), $this->getEntityClass(), (array) $data); if ($queryBuilder instanceof ApiProblem) { return $queryBuilder; @@ -652,7 +644,7 @@ public function update($id, $data) * It is also possible to throw Exceptions, which will result in an ApiProblem eventually. * * @param string $name - * @param object $entity + * @param mixed $entity * @param mixed $data The original data supplied to the resource method, if any * @return ResponseCollection */ @@ -697,7 +689,9 @@ protected function findEntity($id, $method, $data = null) $criteria[$identifier] = $ids[$index]; } - $classMetaData = $this->getObjectManager()->getClassMetadata($this->getEntityClass()); + /** @var class-string $entityClass */ + $entityClass = $this->getEntityClass(); + $classMetaData = $this->getObjectManager()->getClassMetadata($entityClass); $routeMatch = $this->getEvent()->getRouteMatch(); $associationMappings = $classMetaData->getAssociationNames(); $fieldNames = $classMetaData->getFieldNames(); @@ -735,13 +729,9 @@ protected function findEntity($id, $method, $data = null) // Add criteria foreach ($criteria as $key => $value) { - if ($queryBuilder instanceof MongoDBQueryBuilder) { - $queryBuilder->field($key)->equals($value); - } else { $parameterName = 'a' . md5((string) rand()); $queryBuilder->andwhere($queryBuilder->expr()->eq('row.' . $key, ":$parameterName")); $queryBuilder->setParameter($parameterName, $value, $classMetaData->getTypeOfField($key)); - } } try { diff --git a/src/Server/Resource/DoctrineResourceFactory.php b/src/Server/Resource/DoctrineResourceFactory.php index cbd7de39..e966797c 100644 --- a/src/Server/Resource/DoctrineResourceFactory.php +++ b/src/Server/Resource/DoctrineResourceFactory.php @@ -4,17 +4,16 @@ namespace Laminas\ApiTools\Doctrine\Server\Resource; -use Doctrine\Persistence\ObjectManager; -use Doctrine\ODM\MongoDB\DocumentManager; use Doctrine\ORM\EntityManager; -use Interop\Container\ContainerInterface; +use Doctrine\Persistence\ObjectManager; use Laminas\ApiTools\Doctrine\Server\Query\CreateFilter\QueryCreateFilterInterface; use Laminas\ApiTools\Hal\Plugin\Hal; use Laminas\Hydrator\HydratorInterface; -use Laminas\ServiceManager\AbstractFactoryInterface; +use Laminas\ServiceManager\Factory\AbstractFactoryInterface; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; use Laminas\ServiceManager\Exception\ServiceNotFoundException; use Laminas\ServiceManager\ServiceLocatorInterface; +use Psr\Container\ContainerInterface; use RuntimeException; use function class_exists; @@ -172,7 +171,7 @@ protected function getResourceClassFromConfig($config, $requestedName) * @param string $requestedName * @return bool */ - protected function isValidConfig(array $config, $requestedName, ContainerInterface $container) + protected function isValidConfig(array $config, $requestedName, containerinterface $container) { if ( ! isset($config['object_manager']) @@ -213,7 +212,7 @@ protected function normalizeClassname($className) * @return HydratorInterface */ protected function loadHydrator( - ContainerInterface $container, + containerinterface $container, array $doctrineConnectedConfig, array $doctrineHydratorConfig ) { @@ -249,7 +248,7 @@ protected function loadHydrator( * @param ObjectManager $objectManager * @return QueryCreateFilterInterface */ - protected function loadQueryCreateFilter(ContainerInterface $container, array $config, $objectManager) + protected function loadQueryCreateFilter(containerinterface $container, array $config, $objectManager) { $createFilterManager = $container->get('LaminasApiToolsDoctrineQueryCreateFilterManager'); $filterManagerAlias = $config['query_create_filter'] ?? 'default'; @@ -269,7 +268,7 @@ protected function loadQueryCreateFilter(ContainerInterface $container, array $c * @return array * @throws ServiceNotCreatedException */ - protected function loadQueryProviders(ContainerInterface $serviceLocator, array $config, $objectManager) + protected function loadQueryProviders(containerinterface $serviceLocator, array $config, $objectManager) { $queryProviders = []; $queryManager = $serviceLocator->get('LaminasApiToolsDoctrineQueryProviderManager'); @@ -280,11 +279,6 @@ class_exists(EntityManager::class) && $objectManager instanceof EntityManager ) { $queryProviders['default'] = $queryManager->get('default_orm'); - } elseif ( - class_exists(DocumentManager::class) - && $objectManager instanceof DocumentManager - ) { - $queryProviders['default'] = $queryManager->get('default_odm'); } else { throw new ServiceNotCreatedException('No valid doctrine module is found for objectManager.'); } @@ -308,7 +302,7 @@ class_exists(DocumentManager::class) * @param array $config * @return array */ - protected function loadConfiguredListeners(ContainerInterface $container, array $config) + protected function loadConfiguredListeners(containerinterface $container, array $config) { if (! isset($config['listeners'])) { return []; diff --git a/src/Server/Validator/NoObjectExistsFactory.php b/src/Server/Validator/NoObjectExistsFactory.php index 8ee07e48..1270c912 100644 --- a/src/Server/Validator/NoObjectExistsFactory.php +++ b/src/Server/Validator/NoObjectExistsFactory.php @@ -6,11 +6,10 @@ use Doctrine\ORM\EntityManager; use DoctrineModule\Validator\NoObjectExists; -use Interop\Container\ContainerInterface; -use Laminas\ServiceManager\AbstractPluginManager; -use Laminas\ServiceManager\FactoryInterface; +use Laminas\ServiceManager\Factory\FactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayUtils; +use Psr\Container\ContainerInterface; class NoObjectExistsFactory implements FactoryInterface { @@ -48,10 +47,6 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $ */ public function createService(ServiceLocatorInterface $container) { - if ($container instanceof AbstractPluginManager) { - $container = $container->getServiceLocator() ?: $container; - } - return $this($container, NoObjectExists::class, $this->options); } diff --git a/src/Server/Validator/ObjectExistsFactory.php b/src/Server/Validator/ObjectExistsFactory.php index d6f2c2c8..9774db06 100644 --- a/src/Server/Validator/ObjectExistsFactory.php +++ b/src/Server/Validator/ObjectExistsFactory.php @@ -6,11 +6,10 @@ use Doctrine\ORM\EntityManager; use DoctrineModule\Validator\ObjectExists; -use Interop\Container\ContainerInterface; -use Laminas\ServiceManager\AbstractPluginManager; use Laminas\ServiceManager\FactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayUtils; +use Psr\Container\ContainerInterface; class ObjectExistsFactory implements FactoryInterface { @@ -48,10 +47,6 @@ public function __invoke(ContainerInterface $container, $requestedName, ?array $ */ public function createService(ServiceLocatorInterface $container) { - if ($container instanceof AbstractPluginManager) { - $container = $container->getServiceLocator() ?: $container; - } - return $this($container, ObjectExists::class, $this->options); } diff --git a/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php b/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php index c46d4b21..d2aa8644 100644 --- a/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php +++ b/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Controller; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscoveryController; use Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscoveryControllerFactory; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; @@ -19,7 +19,7 @@ class DoctrineAutodiscoveryControllerFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ContainerInterface */ + /** @var ProphecyInterface|containerinterface */ private $container; /** @var DoctrineAutodiscoveryModel */ @@ -30,7 +30,7 @@ protected function setUp(): void parent::setUp(); $this->model = $this->prophesize(DoctrineAutodiscoveryModel::class)->reveal(); - $this->container = $this->prophesize(ContainerInterface::class); + $this->container = $this->prophesize(containerinterface::class); $this->container->get(DoctrineAutodiscoveryModel::class)->willReturn($this->model); } diff --git a/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php b/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php index 6033643d..e63c8202 100644 --- a/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php +++ b/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModelFactory; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -19,7 +19,7 @@ class DoctrineAutodiscoveryModelFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ServiceLocatorInterface|ContainerInterface */ + /** @var ProphecyInterface|ServiceLocatorInterface|containerinterface */ private $container; protected function setUp(): void @@ -27,7 +27,7 @@ protected function setUp(): void parent::setUp(); $this->container = $this->prophesize(ServiceLocatorInterface::class); - $this->container->willImplement(ContainerInterface::class); + $this->container->willImplement(containerinterface::class); } public function testFactoryRaisesExceptionIfConfigServiceIsMissing(): void diff --git a/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php b/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php index d1e2b2e7..75356479 100644 --- a/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php +++ b/test/src/Admin/Model/DoctrineAutodiscoveryModelTest.php @@ -9,7 +9,6 @@ use LaminasTestApiToolsDb\Entity\Album; use LaminasTestApiToolsDb\Entity\Artist; use LaminasTestApiToolsDb\Entity\Product; -use LaminasTestApiToolsDbMongo\Document\Meta; use function strcasecmp; use function usort; diff --git a/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php b/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php index cfc5aef5..9df69dc3 100644 --- a/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRestServiceModelFactory; @@ -21,14 +21,14 @@ class DoctrineRestServiceResourceFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ContainerInterface */ + /** @var ProphecyInterface|containerinterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(ContainerInterface::class); + $this->container = $this->prophesize(containerinterface::class); } /** diff --git a/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php b/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php index d149d2fb..56c9ac36 100644 --- a/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -23,14 +23,14 @@ class DoctrineRpcServiceModelFactoryFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ContainerInterface */ + /** @var ProphecyInterface|containerinterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(ContainerInterface::class); + $this->container = $this->prophesize(containerinterface::class); } /** @psalm-return array}> */ diff --git a/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php b/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php index d8058efb..2f0126e5 100644 --- a/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use Interop\Container\ContainerInterface; +use interop\container\containerinterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRpcServiceModelFactory; @@ -22,14 +22,14 @@ class DoctrineRpcServiceResourceFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ContainerInterface */ + /** @var ProphecyInterface|containerinterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(ContainerInterface::class); + $this->container = $this->prophesize(containerinterface::class); } /** @psalm-return array}> */ diff --git a/test/src/Server/Event/Listener/CollectionListenerTest.php b/test/src/Server/Event/Listener/CollectionListenerTest.php index 125447a9..6642320e 100644 --- a/test/src/Server/Event/Listener/CollectionListenerTest.php +++ b/test/src/Server/Event/Listener/CollectionListenerTest.php @@ -4,7 +4,6 @@ namespace LaminasTest\ApiTools\Doctrine\Server\Event\Listener; -use Doctrine\Common\Persistence\ObjectManager; use Doctrine\Instantiator\InstantiatorInterface; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Mapping\ClassMetadata; @@ -13,7 +12,6 @@ use LaminasTestApiToolsDb\Entity\Artist; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; -use PHPUnit_Framework_MockObject_MockObject; use ReflectionMethod; use ReflectionProperty; @@ -21,19 +19,16 @@ class CollectionListenerTest extends TestCase { /** * @dataProvider trueFalseProvider - * * @param bool $withEntityFactory - * * @return void */ public function testProcessNewEntity($withEntityFactory) { $artist = $this->getMockBuilder(Artist::class)->getMock(); - $data = []; + $data = []; - /** @var EntityManager|MockObject $om */ - $om = $this->getMockBuilder(EntityManager::class) - ->disableOriginalConstructor()->getMock(); + /** @var EntityManager&MockObject $om */ + $om = $this->createMock(EntityManager::class); $classMetadata = $this->getMockBuilder(ClassMetadata::class) ->disableOriginalConstructor() ->getMock(); @@ -57,9 +52,8 @@ public function testProcessNewEntity($withEntityFactory) ->with($data, self::isInstanceOf(Artist::class)); if ($withEntityFactory) { - /** @var InstantiatorInterface|PHPUnit_Framework_MockObject_MockObject $entityFactory */ - $entityFactory = $this->getMockBuilder(InstantiatorInterface::class) - ->getMock(); + /** @var InstantiatorInterface&MockObject $entityFactory */ + $entityFactory = $this->createMock(InstantiatorInterface::class); $entityFactory->expects(self::once()) ->method('instantiate') @@ -73,7 +67,8 @@ public function testProcessNewEntity($withEntityFactory) $listener->setObjectManager($om); $hydratorMapProperty = new ReflectionProperty( - $listener, 'entityHydratorMap' + $listener, + 'entityHydratorMap' ); $hydratorMapProperty->setAccessible(true); $hydratorMapProperty->setValue($listener, [Artist::class => $hydrator]); diff --git a/test/src/Server/ORM/CRUD/CRUDTest.php b/test/src/Server/ORM/CRUD/CRUDTest.php index 9c67001a..2d3f1abd 100644 --- a/test/src/Server/ORM/CRUD/CRUDTest.php +++ b/test/src/Server/ORM/CRUD/CRUDTest.php @@ -28,7 +28,7 @@ use LaminasTestApiToolsDbApi\V1\Rest\Artist\ArtistResource; use LaminasTestApiToolsGeneral\Listener\EventCatcher; use PHPUnit\Framework\Assert; -use PHPUnit_Framework_MockObject_MockObject; +use PHPUnit\Framework\MockObject\MockObject; use function in_array; use function json_decode; @@ -333,8 +333,8 @@ public function testFetchByCustomIdFieldWithInvalidIdValue(): void public function testCreateByExplicitlySettingEntityFactoryInConstructor(): void { - /** @var InstantiatorInterface|PHPUnit_Framework_MockObject_MockObject $entityFactoryMock */ - $entityFactoryMock = $this->getMockBuilder(InstantiatorInterface::class)->getMock(); + /** @var InstantiatorInterface&MockObject $entityFactoryMock */ + $entityFactoryMock = $this->createMock(InstantiatorInterface::class); $entityFactoryMock->expects(self::once()) ->method('instantiate') ->with(Artist::class) diff --git a/test/src/Server/Validator/NoObjectExistsFactoryTest.php b/test/src/Server/Validator/NoObjectExistsFactoryTest.php index ec6a0d9a..00b5d985 100644 --- a/test/src/Server/Validator/NoObjectExistsFactoryTest.php +++ b/test/src/Server/Validator/NoObjectExistsFactoryTest.php @@ -24,7 +24,7 @@ class NoObjectExistsFactoryTest extends TestCase /** @var ValidatorPluginManager */ private $validators; - /** @var ObjectProphecy|EntityRepository */ + /** @var ObjectProphecy> */ private $objectRepository; protected function setUp(): void diff --git a/test/src/Server/Validator/ObjectExistsFactoryTest.php b/test/src/Server/Validator/ObjectExistsFactoryTest.php index e198bfea..d3796a28 100644 --- a/test/src/Server/Validator/ObjectExistsFactoryTest.php +++ b/test/src/Server/Validator/ObjectExistsFactoryTest.php @@ -24,7 +24,7 @@ class ObjectExistsFactoryTest extends TestCase /** @var ValidatorPluginManager */ private $validators; - /** @var ObjectProphecy|EntityRepository */ + /** @var ObjectProphecy> */ private $objectRepository; protected function setUp(): void From 96367b562aa14a2ff4ec58fa5baee15ae361418e Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Sun, 15 May 2022 00:46:36 +0300 Subject: [PATCH 10/12] #29 Fixed legacy aliases. --- config/admin.config.php | 16 ++++++++-------- config/server.config.php | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/config/admin.config.php b/config/admin.config.php index 26b130dd..35ade5c7 100644 --- a/config/admin.config.php +++ b/config/admin.config.php @@ -59,12 +59,12 @@ 'service_manager' => [ // Legacy Zend Framework aliases 'aliases' => [ - DoctrineAutodiscoveryModel::class => DoctrineAutodiscoveryModel::class, - DoctrineMetadataServiceResource::class => DoctrineMetadataServiceResource::class, - DoctrineRestServiceModelFactory::class => DoctrineRestServiceModelFactory::class, - DoctrineRestServiceResource::class => DoctrineRestServiceResource::class, - DoctrineRpcServiceModelFactory::class => DoctrineRpcServiceModelFactory::class, - DoctrineRpcServiceResource::class => DoctrineRpcServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineAutodiscoveryModel' => DoctrineAutodiscoveryModel::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineMetadataServiceResource' => DoctrineMetadataServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineRestServiceModelFactory' => DoctrineRestServiceModelFactory::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineRestServiceResource' => DoctrineRestServiceResource::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineRpcServiceModelFactory' => DoctrineRpcServiceModelFactory::class, + 'ZF\Apigility\Doctrine\Admin\Model\DoctrineRpcServiceResource' => DoctrineRpcServiceResource::class, ], 'factories' => [ DoctrineAutodiscoveryModel::class => Model\DoctrineAutodiscoveryModelFactory::class, @@ -78,10 +78,10 @@ 'controllers' => [ // Legacy Zend Framework aliases 'aliases' => [ - 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery', + 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => 'Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscovery', ], 'factories' => [ - 'ZF\Apigility\Doctrine\Admin\Controller\DoctrineAutodiscovery' => Controller\DoctrineAutodiscoveryControllerFactory::class, + 'Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscovery' => Controller\DoctrineAutodiscoveryControllerFactory::class, ], ], 'api-tools-content-negotiation' => [ diff --git a/config/server.config.php b/config/server.config.php index 53b98aef..c7fe3f8a 100644 --- a/config/server.config.php +++ b/config/server.config.php @@ -30,7 +30,7 @@ 'default_orm' => DefaultOrm::class, // Legacy Zend Framework aliases - DefaultOrm::class => DefaultOrm::class, + 'ZF\Apigility\Doctrine\Server\Query\Provider\DefaultOrm' => DefaultOrm::class, ], 'factories' => [ DefaultOrm::class => InvokableFactory::class, @@ -41,7 +41,7 @@ 'default' => DefaultCreateFilter::class, // Legacy Zend Framework aliases - DefaultCreateFilter::class => DefaultCreateFilter::class, + 'ZF\Apigility\Doctrine\Server\Query\CreateFilter\DefaultCreateFilter' => DefaultCreateFilter::class, ], 'factories' => [ DefaultCreateFilter::class => InvokableFactory::class, @@ -55,8 +55,8 @@ 'validators' => [ // Legacy Zend Framework aliases 'aliases' => [ - 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists', - 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists', + 'ZF\Apigility\Doctrine\Server\Validator\NoObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists', + 'ZF\Apigility\Doctrine\Server\Validator\ObjectExists' => 'Laminas\ApiTools\Doctrine\Server\Validator\ObjectExists', ], 'factories' => [ 'Laminas\ApiTools\Doctrine\Server\Validator\NoObjectExists' => Validator\NoObjectExistsFactory::class, From 5760ca9070f3519ce1a2f82f1264d3556d691630 Mon Sep 17 00:00:00 2001 From: andyo Date: Thu, 28 Jul 2022 22:19:04 -0600 Subject: [PATCH 11/12] Apply review changes Signed-off-by: andyo --- composer.json | 4 +--- psalm.xml.dist | 1 + .../DoctrineAutodiscoveryControllerFactory.php | 2 +- .../Model/DoctrineAutodiscoveryModelFactory.php | 4 ++-- .../DoctrineMetadataServiceResourceFactory.php | 4 ++-- src/Admin/Model/DoctrineRestServiceModel.php | 2 +- .../DoctrineRestServiceModelFactoryFactory.php | 4 ++-- .../Model/DoctrineRestServiceResourceFactory.php | 4 ++-- .../DoctrineRpcServiceModelFactoryFactory.php | 4 ++-- .../Model/DoctrineRpcServiceResourceFactory.php | 4 ++-- src/Server/Resource/DoctrineResourceFactory.php | 14 +++++++------- src/Server/Validator/NoObjectExistsFactory.php | 2 +- src/Server/Validator/ObjectExistsFactory.php | 2 +- .../DoctrineAutodiscoveryControllerFactoryTest.php | 14 +++++++------- .../DoctrineAutodiscoveryModelFactoryTest.php | 6 +++--- .../DoctrineRestServiceResourceFactoryTest.php | 6 +++--- .../DoctrineRpcServiceModelFactoryFactoryTest.php | 6 +++--- .../DoctrineRpcServiceResourceFactoryTest.php | 6 +++--- 18 files changed, 44 insertions(+), 45 deletions(-) diff --git a/composer.json b/composer.json index 120d006f..2b661faf 100644 --- a/composer.json +++ b/composer.json @@ -64,9 +64,7 @@ }, "conflict": { "doctrine/dbal": "<2.12.0", - "doctrine/orm": "<2.6.3", - "doctrine/doctrine-module": "<4.0", - "doctrine/doctrine-orm-module": "<4.0" + "doctrine/orm": "<2.6.3" }, "suggest": { "api-skeletons/zf-doctrine-hydrator": "Hydrator strategies for Doctrine in Laminas API Tools", diff --git a/psalm.xml.dist b/psalm.xml.dist index 14d35ab2..82864d62 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -1,5 +1,6 @@ has('config')) { throw new ServiceNotCreatedException(sprintf( diff --git a/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php b/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php index 3adc6d4f..dd2b6d92 100644 --- a/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineMetadataServiceResourceFactory.php @@ -4,14 +4,14 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; class DoctrineMetadataServiceResourceFactory { /** * @return DoctrineMetadataServiceResource */ - public function __invoke(containerinterface $container) + public function __invoke(ContainerInterface $container) { $instance = new DoctrineMetadataServiceResource(); $instance->setServiceManager($container); diff --git a/src/Admin/Model/DoctrineRestServiceModel.php b/src/Admin/Model/DoctrineRestServiceModel.php index cfe18bbf..399b44a2 100644 --- a/src/Admin/Model/DoctrineRestServiceModel.php +++ b/src/Admin/Model/DoctrineRestServiceModel.php @@ -216,7 +216,7 @@ public function setEventManager(EventManagerInterface $events) */ public function getEventManager() { - if (empty($this->events)) { + if (! $this->events) { $this->setEventManager(new EventManager()); } diff --git a/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php b/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php index c9732361..21b87478 100644 --- a/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php +++ b/src/Admin/Model/DoctrineRestServiceModelFactoryFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -18,7 +18,7 @@ class DoctrineRestServiceModelFactoryFactory /** * @return DoctrineRestServiceModelFactory */ - public function __invoke(containerinterface $container) + public function __invoke(ContainerInterface $container) { if ( ! $container->has(ModulePathSpec::class) diff --git a/src/Admin/Model/DoctrineRestServiceResourceFactory.php b/src/Admin/Model/DoctrineRestServiceResourceFactory.php index 5db824ee..e98de324 100644 --- a/src/Admin/Model/DoctrineRestServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineRestServiceResourceFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -16,7 +16,7 @@ class DoctrineRestServiceResourceFactory /** * @return DoctrineRestServiceResource */ - public function __invoke(containerinterface $container) + public function __invoke(ContainerInterface $container) { if ( ! $container->has(DoctrineRestServiceModelFactory::class) diff --git a/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php b/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php index c23280ac..07970659 100644 --- a/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php +++ b/src/Admin/Model/DoctrineRpcServiceModelFactoryFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -17,7 +17,7 @@ class DoctrineRpcServiceModelFactoryFactory /** * @return DoctrineRpcServiceModelFactory */ - public function __invoke(containerinterface $container) + public function __invoke(ContainerInterface $container) { if ( ! $container->has(ModulePathSpec::class) diff --git a/src/Admin/Model/DoctrineRpcServiceResourceFactory.php b/src/Admin/Model/DoctrineRpcServiceResourceFactory.php index 56366a72..7c21aedf 100644 --- a/src/Admin/Model/DoctrineRpcServiceResourceFactory.php +++ b/src/Admin/Model/DoctrineRpcServiceResourceFactory.php @@ -4,7 +4,7 @@ namespace Laminas\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -17,7 +17,7 @@ class DoctrineRpcServiceResourceFactory * @return DoctrineRpcServiceResource * @throws ServiceNotCreatedException When missing required dependencies. */ - public function __invoke(containerinterface $container) + public function __invoke(ContainerInterface $container) { if ( ! $container->has(DoctrineRpcServiceModelFactory::class) diff --git a/src/Server/Resource/DoctrineResourceFactory.php b/src/Server/Resource/DoctrineResourceFactory.php index e966797c..cae2fc31 100644 --- a/src/Server/Resource/DoctrineResourceFactory.php +++ b/src/Server/Resource/DoctrineResourceFactory.php @@ -6,14 +6,14 @@ use Doctrine\ORM\EntityManager; use Doctrine\Persistence\ObjectManager; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Doctrine\Server\Query\CreateFilter\QueryCreateFilterInterface; use Laminas\ApiTools\Hal\Plugin\Hal; use Laminas\Hydrator\HydratorInterface; -use Laminas\ServiceManager\Factory\AbstractFactoryInterface; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; use Laminas\ServiceManager\Exception\ServiceNotFoundException; +use Laminas\ServiceManager\Factory\AbstractFactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; -use Psr\Container\ContainerInterface; use RuntimeException; use function class_exists; @@ -171,7 +171,7 @@ protected function getResourceClassFromConfig($config, $requestedName) * @param string $requestedName * @return bool */ - protected function isValidConfig(array $config, $requestedName, containerinterface $container) + protected function isValidConfig(array $config, $requestedName, ContainerInterface $container) { if ( ! isset($config['object_manager']) @@ -212,7 +212,7 @@ protected function normalizeClassname($className) * @return HydratorInterface */ protected function loadHydrator( - containerinterface $container, + ContainerInterface $container, array $doctrineConnectedConfig, array $doctrineHydratorConfig ) { @@ -248,7 +248,7 @@ protected function loadHydrator( * @param ObjectManager $objectManager * @return QueryCreateFilterInterface */ - protected function loadQueryCreateFilter(containerinterface $container, array $config, $objectManager) + protected function loadQueryCreateFilter(ContainerInterface $container, array $config, $objectManager) { $createFilterManager = $container->get('LaminasApiToolsDoctrineQueryCreateFilterManager'); $filterManagerAlias = $config['query_create_filter'] ?? 'default'; @@ -268,7 +268,7 @@ protected function loadQueryCreateFilter(containerinterface $container, array $c * @return array * @throws ServiceNotCreatedException */ - protected function loadQueryProviders(containerinterface $serviceLocator, array $config, $objectManager) + protected function loadQueryProviders(ContainerInterface $serviceLocator, array $config, $objectManager) { $queryProviders = []; $queryManager = $serviceLocator->get('LaminasApiToolsDoctrineQueryProviderManager'); @@ -302,7 +302,7 @@ class_exists(EntityManager::class) * @param array $config * @return array */ - protected function loadConfiguredListeners(containerinterface $container, array $config) + protected function loadConfiguredListeners(ContainerInterface $container, array $config) { if (! isset($config['listeners'])) { return []; diff --git a/src/Server/Validator/NoObjectExistsFactory.php b/src/Server/Validator/NoObjectExistsFactory.php index 1270c912..d9e51b1e 100644 --- a/src/Server/Validator/NoObjectExistsFactory.php +++ b/src/Server/Validator/NoObjectExistsFactory.php @@ -9,7 +9,7 @@ use Laminas\ServiceManager\Factory\FactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayUtils; -use Psr\Container\ContainerInterface; +use Interop\Container\ContainerInterface; class NoObjectExistsFactory implements FactoryInterface { diff --git a/src/Server/Validator/ObjectExistsFactory.php b/src/Server/Validator/ObjectExistsFactory.php index 9774db06..fd951928 100644 --- a/src/Server/Validator/ObjectExistsFactory.php +++ b/src/Server/Validator/ObjectExistsFactory.php @@ -9,7 +9,7 @@ use Laminas\ServiceManager\FactoryInterface; use Laminas\ServiceManager\ServiceLocatorInterface; use Laminas\Stdlib\ArrayUtils; -use Psr\Container\ContainerInterface; +use Interop\Container\ContainerInterface; class ObjectExistsFactory implements FactoryInterface { diff --git a/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php b/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php index d2aa8644..79d11e51 100644 --- a/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php +++ b/test/src/Admin/Controller/DoctrineAutodiscoveryControllerFactoryTest.php @@ -4,11 +4,11 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Controller; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscoveryController; use Laminas\ApiTools\Doctrine\Admin\Controller\DoctrineAutodiscoveryControllerFactory; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; -use Laminas\ServiceManager\AbstractPluginManager; +use Laminas\ServiceManager\ServiceLocatorInterface; use LaminasTest\ApiTools\Doctrine\DeprecatedAssertionsTrait; use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; @@ -19,7 +19,7 @@ class DoctrineAutodiscoveryControllerFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|containerinterface */ + /** @var ProphecyInterface|ContainerInterface */ private $container; /** @var DoctrineAutodiscoveryModel */ @@ -30,7 +30,7 @@ protected function setUp(): void parent::setUp(); $this->model = $this->prophesize(DoctrineAutodiscoveryModel::class)->reveal(); - $this->container = $this->prophesize(containerinterface::class); + $this->container = $this->prophesize(ContainerInterface::class); $this->container->get(DoctrineAutodiscoveryModel::class)->willReturn($this->model); } @@ -45,11 +45,11 @@ public function testInvokableFactoryReturnsDoctrineAutodiscoveryController(): vo public function testLegacyFactoryReturnsDoctrineAutodiscoveryController(): void { - $controllers = $this->prophesize(AbstractPluginManager::class); - $controllers->getServiceLocator()->willReturn($this->container->reveal()); + $this->container = $this->prophesize(ServiceLocatorInterface::class); + $this->container->get(DoctrineAutodiscoveryModel::class)->willReturn($this->model); $factory = new DoctrineAutodiscoveryControllerFactory(); - $controller = $factory->createService($controllers->reveal()); + $controller = $factory->createService($this->container->reveal()); $this->assertInstanceOf(DoctrineAutodiscoveryController::class, $controller); $this->assertAttributeSame($this->model, 'model', $controller); diff --git a/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php b/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php index e63c8202..6033643d 100644 --- a/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php +++ b/test/src/Admin/Model/DoctrineAutodiscoveryModelFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineAutodiscoveryModelFactory; use Laminas\ServiceManager\Exception\ServiceNotCreatedException; @@ -19,7 +19,7 @@ class DoctrineAutodiscoveryModelFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|ServiceLocatorInterface|containerinterface */ + /** @var ProphecyInterface|ServiceLocatorInterface|ContainerInterface */ private $container; protected function setUp(): void @@ -27,7 +27,7 @@ protected function setUp(): void parent::setUp(); $this->container = $this->prophesize(ServiceLocatorInterface::class); - $this->container->willImplement(containerinterface::class); + $this->container->willImplement(ContainerInterface::class); } public function testFactoryRaisesExceptionIfConfigServiceIsMissing(): void diff --git a/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php b/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php index 9df69dc3..cfc5aef5 100644 --- a/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRestServiceResourceFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRestServiceModelFactory; @@ -21,14 +21,14 @@ class DoctrineRestServiceResourceFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|containerinterface */ + /** @var ProphecyInterface|ContainerInterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(containerinterface::class); + $this->container = $this->prophesize(ContainerInterface::class); } /** diff --git a/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php b/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php index 56c9ac36..d149d2fb 100644 --- a/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRpcServiceModelFactoryFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\ModuleModel; use Laminas\ApiTools\Admin\Model\ModulePathSpec; use Laminas\ApiTools\Configuration\ConfigResourceFactory; @@ -23,14 +23,14 @@ class DoctrineRpcServiceModelFactoryFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|containerinterface */ + /** @var ProphecyInterface|ContainerInterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(containerinterface::class); + $this->container = $this->prophesize(ContainerInterface::class); } /** @psalm-return array}> */ diff --git a/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php b/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php index 2f0126e5..d8058efb 100644 --- a/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php +++ b/test/src/Admin/Model/DoctrineRpcServiceResourceFactoryTest.php @@ -4,7 +4,7 @@ namespace LaminasTest\ApiTools\Doctrine\Admin\Model; -use interop\container\containerinterface; +use Interop\Container\ContainerInterface; use Laminas\ApiTools\Admin\Model\DocumentationModel; use Laminas\ApiTools\Admin\Model\InputFilterModel; use Laminas\ApiTools\Doctrine\Admin\Model\DoctrineRpcServiceModelFactory; @@ -22,14 +22,14 @@ class DoctrineRpcServiceResourceFactoryTest extends TestCase use DeprecatedAssertionsTrait; use ProphecyTrait; - /** @var ProphecyInterface|containerinterface */ + /** @var ProphecyInterface|ContainerInterface */ private $container; protected function setUp(): void { parent::setUp(); - $this->container = $this->prophesize(containerinterface::class); + $this->container = $this->prophesize(ContainerInterface::class); } /** @psalm-return array}> */ From 5381ab8f1e0abeceda2c54f708da7155fa8c5f8e Mon Sep 17 00:00:00 2001 From: Maxim Gasumyants Date: Mon, 15 Jul 2024 03:37:49 +0300 Subject: [PATCH 12/12] Added PHP versions. --- composer.json | 190 +++++++++++++++++++++++++------------------------- 1 file changed, 95 insertions(+), 95 deletions(-) diff --git a/composer.json b/composer.json index 2b661faf..b58608a1 100644 --- a/composer.json +++ b/composer.json @@ -1,98 +1,98 @@ { - "name": "laminas-api-tools/api-tools-doctrine", - "description": "Laminas API Tools Doctrine module", - "license": "BSD-3-Clause", - "keywords": [ - "laminas", - "api-tools", - "api", - "doctrine" - ], - "homepage": "https://api-tools.getlaminas.org", - "support": { - "docs": "https://api-tools.getlaminas.org/documentation", - "issues": "https://github.com/laminas-api-tools/api-tools-doctrine/issues", - "source": "https://github.com/laminas-api-tools/api-tools-doctrine", - "rss": "https://github.com/laminas-api-tools/api-tools-doctrine/releases.atom", - "chat": "https://laminas.dev/chat", - "forum": "https://discourse.laminas.dev" - }, - "config": { - "sort-packages": true, - "allow-plugins": { - "dealerdirect/phpcodesniffer-composer-installer": true - } - }, - "extra": { - "laminas": { - "module": [ - "Laminas\\ApiTools\\Doctrine\\Admin", - "Laminas\\ApiTools\\Doctrine\\Server" - ] - } - }, - "require": { - "php": "^7.4 || ~8.0.0", - "ext-json": "*", - "api-skeletons/doctrine-orm-hydration-module": "^1.0", - "laminas-api-tools/api-tools": "^1.3", - "laminas-api-tools/api-tools-rest": "^1.3.2", - "laminas/laminas-hydrator": "^4.0", - "laminas/laminas-servicemanager": "^3.11.2", - "laminas/laminas-stdlib": "^3.3", - "laminas/laminas-view": "^2.11.3", - "laminas/laminas-zendframework-bridge": "^1.0" - }, - "require-dev": { - "doctrine/dbal": "^2.10", - "doctrine/doctrine-module": "^5.1", - "doctrine/doctrine-orm-module": "^5.1", - "laminas-api-tools/api-tools-admin": "^1.5.7", - "laminas-api-tools/api-tools-hal": "^1.6.1", - "laminas/laminas-coding-standard": "~2.3.0", - "laminas/laminas-form": "^3.1.1", - "laminas/laminas-i18n": "^2.7.3", - "laminas/laminas-log": "^2.9.1", - "laminas/laminas-mvc": "^2.7.13 || ^3.0.2", - "laminas/laminas-serializer": "^2.8.0", - "laminas/laminas-test": "^2.6.1 || ^3.0.1", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.16.1", - "symfony/yaml": "^2.3 || ^3.0 || ^4.0 || ^5.0", - "vimeo/psalm": "^4.8" - }, - "conflict": { - "doctrine/dbal": "<2.12.0", - "doctrine/orm": "<2.6.3" - }, - "suggest": { - "api-skeletons/zf-doctrine-hydrator": "Hydrator strategies for Doctrine in Laminas API Tools", - "api-skeletons/zf-oauth2-doctrine": "OAuth2 Doctrine Adapter for Laminas API Tools", - "doctrine/doctrine-mongo-odm-module": "For Mongo ODM mapping", - "doctrine/doctrine-orm-module": "For ORM mapping" - }, - "autoload": { - "psr-4": { - "Laminas\\ApiTools\\Doctrine\\": "src/" - } - }, - "autoload-dev": { - "psr-4": { - "LaminasTest\\ApiTools\\Doctrine\\": "test/src/" - } - }, - "scripts": { - "check": [ - "@cs-check", - "@test" - ], - "cs-check": "phpcs", - "cs-fix": "phpcbf", - "test": "phpunit --colors=always", - "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" - }, - "replace": { - "zfcampus/zf-apigility-doctrine": "^2.3.0" + "name": "laminas-api-tools/api-tools-doctrine", + "description": "Laminas API Tools Doctrine module", + "license": "BSD-3-Clause", + "keywords": [ + "laminas", + "api-tools", + "api", + "doctrine" + ], + "homepage": "https://api-tools.getlaminas.org", + "support": { + "docs": "https://api-tools.getlaminas.org/documentation", + "issues": "https://github.com/laminas-api-tools/api-tools-doctrine/issues", + "source": "https://github.com/laminas-api-tools/api-tools-doctrine", + "rss": "https://github.com/laminas-api-tools/api-tools-doctrine/releases.atom", + "chat": "https://laminas.dev/chat", + "forum": "https://discourse.laminas.dev" + }, + "config": { + "sort-packages": true, + "allow-plugins": { + "dealerdirect/phpcodesniffer-composer-installer": true + } + }, + "extra": { + "laminas": { + "module": [ + "Laminas\\ApiTools\\Doctrine\\Admin", + "Laminas\\ApiTools\\Doctrine\\Server" + ] + } + }, + "require": { + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0", + "ext-json": "*", + "api-skeletons/doctrine-orm-hydration-module": "^1.0", + "laminas-api-tools/api-tools": "^1.3", + "laminas-api-tools/api-tools-rest": "^1.3.2", + "laminas/laminas-hydrator": "^4.0", + "laminas/laminas-servicemanager": "^3.11.2", + "laminas/laminas-stdlib": "^3.3", + "laminas/laminas-view": "^2.11.3", + "laminas/laminas-zendframework-bridge": "^1.0" + }, + "require-dev": { + "doctrine/dbal": "^2.10", + "doctrine/doctrine-module": "^5.1 || ^6.1", + "doctrine/doctrine-orm-module": "^5.1", + "laminas-api-tools/api-tools-admin": "^1.5.7", + "laminas-api-tools/api-tools-hal": "^1.6.1", + "laminas/laminas-coding-standard": "~2.3.0", + "laminas/laminas-form": "^3.1.1", + "laminas/laminas-i18n": "^2.7.3", + "laminas/laminas-log": "^2.9.1", + "laminas/laminas-mvc": "^2.7.13 || ^3.0.2", + "laminas/laminas-serializer": "^2.8.0", + "laminas/laminas-test": "^2.6.1 || ^3.0.1", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.3", + "psalm/plugin-phpunit": "^0.16.1", + "symfony/yaml": "^2.3 || ^3.0 || ^4.0 || ^5.0", + "vimeo/psalm": "^4.8" + }, + "conflict": { + "doctrine/dbal": "<2.12.0", + "doctrine/orm": "<2.6.3" + }, + "suggest": { + "api-skeletons/zf-doctrine-hydrator": "Hydrator strategies for Doctrine in Laminas API Tools", + "api-skeletons/zf-oauth2-doctrine": "OAuth2 Doctrine Adapter for Laminas API Tools", + "doctrine/doctrine-mongo-odm-module": "For Mongo ODM mapping", + "doctrine/doctrine-orm-module": "For ORM mapping" + }, + "autoload": { + "psr-4": { + "Laminas\\ApiTools\\Doctrine\\": "src/" } + }, + "autoload-dev": { + "psr-4": { + "LaminasTest\\ApiTools\\Doctrine\\": "test/src/" + } + }, + "scripts": { + "check": [ + "@cs-check", + "@test" + ], + "cs-check": "phpcs", + "cs-fix": "phpcbf", + "test": "phpunit --colors=always", + "test-coverage": "phpunit --colors=always --coverage-clover clover.xml" + }, + "replace": { + "zfcampus/zf-apigility-doctrine": "^2.3.0" + } }