From 5373ed777ed588c5495e2746f7cbf502e8ef02d5 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 13:04:38 +0000 Subject: [PATCH 01/34] chore(deps): remove Nexus dependencies --- composer.json | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/composer.json b/composer.json index fc0f5efcb..9183b85fa 100644 --- a/composer.json +++ b/composer.json @@ -1,29 +1,6 @@ { "name": "olcs/olcs-selfserve", "description": "OLCS Self Service Web Site", - "repositories": [ - { - "packagist": false - }, - { - "type": "composer", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy", - "only": [ - "olcs/olcs-logging", - "olcs/olcs-utils", - "olcs/olcs-transfer", - "olcs/olcs-auth" - ] - }, - { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS", - "type": "composer" - }, - { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy", - "type": "composer" - } - ], "require": { "php": ">=7.4", "dvsa/laminas-config-cloud-parameters": "^0.1.0", From 55192b1e3091689726630c3945abd160de263730 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 13:12:05 +0000 Subject: [PATCH 02/34] chore(deps): Remove dependency on olcs-laminas --- composer.json | 3 +- composer.lock | 530 +++++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 461 insertions(+), 72 deletions(-) diff --git a/composer.json b/composer.json index 9183b85fa..9fd075669 100644 --- a/composer.json +++ b/composer.json @@ -4,8 +4,7 @@ "require": { "php": ">=7.4", "dvsa/laminas-config-cloud-parameters": "^0.1.0", - "olcs/olcs-frontend-deps": "~4.206.0", - "olcs/olcs-laminas": "~2.5.0" + "olcs/olcs-frontend-deps": "~4.206.0" }, "require-dev": { "laminas/laminas-developer-tools": "*", diff --git a/composer.lock b/composer.lock index 1ef1f704c..656730478 100644 --- a/composer.lock +++ b/composer.lock @@ -4,14 +4,19 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "b975eab7ae08619705afc3f79137f651", + "content-hash": "2548d6f94157b0640b027a35cc3a770b", "packages": [ { "name": "brick/varexporter", "version": "0.3.8", + "source": { + "type": "git", + "url": "https://github.com/brick/varexporter.git", + "reference": "b5853edea6204ff8fa10633c3a4cccc4058410ed" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/brick/varexporter/0.3.8/brick-varexporter-0.3.8.zip", + "url": "https://api.github.com/repos/brick/varexporter/zipball/b5853edea6204ff8fa10633c3a4cccc4058410ed", "reference": "b5853edea6204ff8fa10633c3a4cccc4058410ed", "shasum": "" }, @@ -30,6 +35,7 @@ "Brick\\VarExporter\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -52,9 +58,14 @@ { "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://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/container-interop/container-interop/1.2.0/container-interop-container-interop-1.2.0.zip", + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", "shasum": "" }, @@ -67,6 +78,7 @@ "Interop\\Container\\": "src/Interop/Container/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -82,9 +94,14 @@ { "name": "doctrine/annotations", "version": "1.14.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/annotations.git", + "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/annotations/1.14.3/doctrine-annotations-1.14.3.zip", + "url": "https://api.github.com/repos/doctrine/annotations/zipball/fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", "reference": "fb0d71a7393298a7b232cbf4c8b1f73f3ec3d5af", "shasum": "" }, @@ -111,6 +128,7 @@ "Doctrine\\Common\\Annotations\\": "lib/Doctrine/Common/Annotations" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -152,9 +170,14 @@ { "name": "doctrine/cache", "version": "1.13.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "56cd022adb5514472cb144c087393c1821911d09" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/cache/1.13.0/doctrine-cache-1.13.0.zip", + "url": "https://api.github.com/repos/doctrine/cache/zipball/56cd022adb5514472cb144c087393c1821911d09", "reference": "56cd022adb5514472cb144c087393c1821911d09", "shasum": "" }, @@ -184,6 +207,7 @@ "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -245,9 +269,14 @@ { "name": "doctrine/collections", "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/collections.git", + "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/collections/1.8.0/doctrine-collections-1.8.0.zip", + "url": "https://api.github.com/repos/doctrine/collections/zipball/2b44dd4cbca8b5744327de78bafef5945c7e7b5e", "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e", "shasum": "" }, @@ -267,6 +296,7 @@ "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -404,9 +434,14 @@ { "name": "doctrine/deprecations", "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/deprecations/1.1.2/doctrine-deprecations-1.1.2.zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, @@ -431,6 +466,7 @@ "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -549,9 +585,14 @@ { "name": "doctrine/event-manager", "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/event-manager.git", + "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/event-manager/1.2.0/doctrine-event-manager-1.2.0.zip", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", "shasum": "" }, @@ -574,6 +615,7 @@ "Doctrine\\Common\\": "src" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -725,9 +767,14 @@ { "name": "doctrine/lexer", "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/lexer/1.2.3/doctrine-lexer-1.2.3.zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", "shasum": "" }, @@ -746,6 +793,7 @@ "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -795,9 +843,14 @@ { "name": "doctrine/persistence", "version": "1.3.8", + "source": { + "type": "git", + "url": "https://github.com/doctrine/persistence.git", + "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/persistence/1.3.8/doctrine-persistence-1.3.8.zip", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/7a6eac9fb6f61bba91328f15aa7547f4806ca288", "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288", "shasum": "" }, @@ -830,6 +883,7 @@ "Doctrine\\Persistence\\": "lib/Doctrine/Persistence" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -891,9 +945,14 @@ { "name": "doctrine/reflection", "version": "1.2.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/reflection.git", + "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/reflection/1.2.4/doctrine-reflection-1.2.4.zip", + "url": "https://api.github.com/repos/doctrine/reflection/zipball/6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", "shasum": "" }, @@ -918,6 +977,7 @@ "Doctrine\\Common\\": "lib/Doctrine/Common" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1485,9 +1545,14 @@ { "name": "laminas/laminas-authentication", "version": "2.6.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-authentication.git", + "reference": "0c87644aee1b2ea8b8d040f97f4345f6695d5906" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-authentication/2.6.0/laminas-laminas-authentication-2.6.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-authentication/zipball/0c87644aee1b2ea8b8d040f97f4345f6695d5906", "reference": "0c87644aee1b2ea8b8d040f97f4345f6695d5906", "shasum": "" }, @@ -1531,6 +1596,7 @@ "Laminas\\Authentication\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1553,9 +1619,14 @@ { "name": "laminas/laminas-cache", "version": "2.8.3", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-cache.git", + "reference": "8ee8877d9f7d27f73ec30d948ab3a8b1b7873514" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-cache/2.8.3/laminas-laminas-cache-2.8.3.zip", + "url": "https://api.github.com/repos/laminas/laminas-cache/zipball/8ee8877d9f7d27f73ec30d948ab3a8b1b7873514", "reference": "8ee8877d9f7d27f73ec30d948ab3a8b1b7873514", "shasum": "" }, @@ -1618,6 +1689,7 @@ "Laminas\\Cache\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1642,9 +1714,14 @@ { "name": "laminas/laminas-code", "version": "3.4.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-code.git", + "reference": "1cb8f203389ab1482bf89c0e70a04849bacd7766" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-code/3.4.1/laminas-laminas-code-3.4.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/1cb8f203389ab1482bf89c0e70a04849bacd7766", "reference": "1cb8f203389ab1482bf89c0e70a04849bacd7766", "shasum": "" }, @@ -1683,6 +1760,7 @@ "Laminas\\Code\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1705,9 +1783,14 @@ { "name": "laminas/laminas-config", "version": "3.5.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-config.git", + "reference": "e4d714780b2d0b3ad748d715fff6ab0a5f37c6a5" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-config/3.5.1/laminas-laminas-config-3.5.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-config/zipball/e4d714780b2d0b3ad748d715fff6ab0a5f37c6a5", "reference": "e4d714780b2d0b3ad748d715fff6ab0a5f37c6a5", "shasum": "" }, @@ -1743,6 +1826,7 @@ "Laminas\\Config\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1835,9 +1919,14 @@ { "name": "laminas/laminas-console", "version": "2.7.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-console.git", + "reference": "bf9a61dddf0d64ff18d2582c2529761932e8872f" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-console/2.7.0/laminas-laminas-console-2.7.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-console/zipball/bf9a61dddf0d64ff18d2582c2529761932e8872f", "reference": "bf9a61dddf0d64ff18d2582c2529761932e8872f", "shasum": "" }, @@ -1872,6 +1961,7 @@ "Laminas\\Console\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1895,9 +1985,14 @@ { "name": "laminas/laminas-crypt", "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-crypt.git", + "reference": "a058eeb2fe57824b958ac56753faff790a649e18" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-crypt/3.4.0/laminas-laminas-crypt-3.4.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/a058eeb2fe57824b958ac56753faff790a649e18", "reference": "a058eeb2fe57824b958ac56753faff790a649e18", "shasum": "" }, @@ -1925,6 +2020,7 @@ "Laminas\\Crypt\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1953,9 +2049,14 @@ { "name": "laminas/laminas-dependency-plugin", "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-dependency-plugin.git", + "reference": "73cfb63ddca9d6bfedad5e0a038f6d55063975a3" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-dependency-plugin/2.2.0/laminas-laminas-dependency-plugin-2.2.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-dependency-plugin/zipball/73cfb63ddca9d6bfedad5e0a038f6d55063975a3", "reference": "73cfb63ddca9d6bfedad5e0a038f6d55063975a3", "shasum": "" }, @@ -1981,6 +2082,7 @@ "Laminas\\DependencyPlugin\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2000,9 +2102,14 @@ { "name": "laminas/laminas-diactoros", "version": "1.8.7p2", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-diactoros.git", + "reference": "6991c1af7c8d2c8efee81b22ba97024781824aaa" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-diactoros/1.8.7p2/laminas-laminas-diactoros-1.8.7p2.zip", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/6991c1af7c8d2c8efee81b22ba97024781824aaa", "reference": "6991c1af7c8d2c8efee81b22ba97024781824aaa", "shasum": "" }, @@ -2053,6 +2160,7 @@ "Laminas\\Diactoros\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2077,9 +2185,14 @@ { "name": "laminas/laminas-escaper", "version": "2.12.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-escaper.git", + "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-escaper/2.12.0/laminas-laminas-escaper-2.12.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "shasum": "" }, @@ -2105,6 +2218,7 @@ "Laminas\\Escaper\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2133,9 +2247,14 @@ { "name": "laminas/laminas-eventmanager", "version": "2.6.4", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-eventmanager.git", + "reference": "c894f427e40b9599284bfebf76480934b78e665b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-eventmanager/2.6.4/laminas-laminas-eventmanager-2.6.4.zip", + "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/c894f427e40b9599284bfebf76480934b78e665b", "reference": "c894f427e40b9599284bfebf76480934b78e665b", "shasum": "" }, @@ -2165,6 +2284,7 @@ "Laminas\\EventManager\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2186,9 +2306,14 @@ { "name": "laminas/laminas-filter", "version": "2.9.4", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-filter.git", + "reference": "3c4476e772a062cef7531c6793377ae585d89c82" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-filter/2.9.4/laminas-laminas-filter-2.9.4.zip", + "url": "https://api.github.com/repos/laminas/laminas-filter/zipball/3c4476e772a062cef7531c6793377ae585d89c82", "reference": "3c4476e772a062cef7531c6793377ae585d89c82", "shasum": "" }, @@ -2235,6 +2360,7 @@ "Laminas\\Filter\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2257,9 +2383,14 @@ { "name": "laminas/laminas-form", "version": "2.13.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-form.git", + "reference": "b9f267b9ebac27fa804306f05241cd49d5902261" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-form/2.13.0/laminas-laminas-form-2.13.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-form/zipball/b9f267b9ebac27fa804306f05241cd49d5902261", "reference": "b9f267b9ebac27fa804306f05241cd49d5902261", "shasum": "" }, @@ -2319,6 +2450,7 @@ "Laminas\\Form\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2341,9 +2473,14 @@ { "name": "laminas/laminas-http", "version": "2.8.4", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-http.git", + "reference": "c38959d605f225baf7f94e04c62f5f432d4ea5b2" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-http/2.8.4/laminas-laminas-http-2.8.4.zip", + "url": "https://api.github.com/repos/laminas/laminas-http/zipball/c38959d605f225baf7f94e04c62f5f432d4ea5b2", "reference": "c38959d605f225baf7f94e04c62f5f432d4ea5b2", "shasum": "" }, @@ -2378,6 +2515,7 @@ "Laminas\\Http\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2401,9 +2539,14 @@ { "name": "laminas/laminas-hydrator", "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-hydrator.git", + "reference": "1ae0a72885be9d74a6af5086c052191e7cbcae83" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-hydrator/1.1.0/laminas-laminas-hydrator-1.1.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-hydrator/zipball/1ae0a72885be9d74a6af5086c052191e7cbcae83", "reference": "1ae0a72885be9d74a6af5086c052191e7cbcae83", "shasum": "" }, @@ -2444,6 +2587,7 @@ "Laminas\\Hydrator\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2465,9 +2609,14 @@ { "name": "laminas/laminas-i18n", "version": "2.14.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-i18n.git", + "reference": "1fa15c41b683bedb2a846af54491868ddc73db38" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-i18n/2.14.0/laminas-laminas-i18n-2.14.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/1fa15c41b683bedb2a846af54491868ddc73db38", "reference": "1fa15c41b683bedb2a846af54491868ddc73db38", "shasum": "" }, @@ -2518,6 +2667,7 @@ "Laminas\\I18n\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2546,9 +2696,14 @@ { "name": "laminas/laminas-inputfilter", "version": "2.10.1", + "source": { + "type": "git", + "url": "git@github.com:laminas/laminas-inputfilter.git", + "reference": "b29ce8f512c966468eee37ea4873ae5fb545d00a" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-inputfilter/2.10.1/laminas-laminas-inputfilter-2.10.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-inputfilter/zipball/b29ce8f512c966468eee37ea4873ae5fb545d00a", "reference": "b29ce8f512c966468eee37ea4873ae5fb545d00a", "shasum": "" }, @@ -2587,6 +2742,7 @@ "Laminas\\InputFilter\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2609,9 +2765,14 @@ { "name": "laminas/laminas-json", "version": "2.6.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-json.git", + "reference": "db58425b7f0eba44a7539450cc926af80915951a" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-json/2.6.1/laminas-laminas-json-2.6.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-json/zipball/db58425b7f0eba44a7539450cc926af80915951a", "reference": "db58425b7f0eba44a7539450cc926af80915951a", "shasum": "" }, @@ -2648,6 +2809,7 @@ "Laminas\\Json\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2670,9 +2832,14 @@ { "name": "laminas/laminas-loader", "version": "2.8.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-loader.git", + "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-loader/2.8.0/laminas-laminas-loader-2.8.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/d0589ec9dd48365fd95ad10d1c906efd7711c16b", "reference": "d0589ec9dd48365fd95ad10d1c906efd7711c16b", "shasum": "" }, @@ -2692,6 +2859,7 @@ "Laminas\\Loader\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2720,9 +2888,14 @@ { "name": "laminas/laminas-log", "version": "2.12.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-log.git", + "reference": "4e92d841b48868714a070b10866e94be80fc92ff" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-log/2.12.0/laminas-laminas-log-2.12.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-log/zipball/4e92d841b48868714a070b10866e94be80fc92ff", "reference": "4e92d841b48868714a070b10866e94be80fc92ff", "shasum": "" }, @@ -2773,6 +2946,7 @@ "Laminas\\Log\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2796,9 +2970,14 @@ { "name": "laminas/laminas-mail", "version": "2.14.3", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-mail.git", + "reference": "a496ab1c708b91809de211522057a6d6781bd0aa" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-mail/2.14.3/laminas-laminas-mail-2.14.3.zip", + "url": "https://api.github.com/repos/laminas/laminas-mail/zipball/a496ab1c708b91809de211522057a6d6781bd0aa", "reference": "a496ab1c708b91809de211522057a6d6781bd0aa", "shasum": "" }, @@ -2843,6 +3022,7 @@ "Laminas\\Mail\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2871,9 +3051,14 @@ { "name": "laminas/laminas-math", "version": "3.5.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-math.git", + "reference": "146d8187ab247ae152e811a6704a953d43537381" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-math/3.5.0/laminas-laminas-math-3.5.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-math/zipball/146d8187ab247ae152e811a6704a953d43537381", "reference": "146d8187ab247ae152e811a6704a953d43537381", "shasum": "" }, @@ -2904,6 +3089,7 @@ "Laminas\\Math\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2932,9 +3118,14 @@ { "name": "laminas/laminas-mime", "version": "2.10.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-mime.git", + "reference": "62a899a7c9100889c2d2386b1357003a2cb52fa9" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-mime/2.10.0/laminas-laminas-mime-2.10.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-mime/zipball/62a899a7c9100889c2d2386b1357003a2cb52fa9", "reference": "62a899a7c9100889c2d2386b1357003a2cb52fa9", "shasum": "" }, @@ -2959,6 +3150,7 @@ "Laminas\\Mime\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -2987,9 +3179,14 @@ { "name": "laminas/laminas-modulemanager", "version": "2.9.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-modulemanager.git", + "reference": "789bbd4ab391da9221f265f6bb2d594f8f11855b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-modulemanager/2.9.0/laminas-laminas-modulemanager-2.9.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-modulemanager/zipball/789bbd4ab391da9221f265f6bb2d594f8f11855b", "reference": "789bbd4ab391da9221f265f6bb2d594f8f11855b", "shasum": "" }, @@ -3031,6 +3228,7 @@ "Laminas\\ModuleManager\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3059,9 +3257,14 @@ { "name": "laminas/laminas-mvc", "version": "2.7.15", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-mvc.git", + "reference": "7e7198b03556a57fb5fd3ed919d9e1cf71500642" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-mvc/2.7.15/laminas-laminas-mvc-2.7.15.zip", + "url": "https://api.github.com/repos/laminas/laminas-mvc/zipball/7e7198b03556a57fb5fd3ed919d9e1cf71500642", "reference": "7e7198b03556a57fb5fd3ed919d9e1cf71500642", "shasum": "" }, @@ -3136,6 +3339,7 @@ "Laminas\\Mvc\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3157,9 +3361,14 @@ { "name": "laminas/laminas-navigation", "version": "2.13.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-navigation.git", + "reference": "1d29047b49ea978756e6f10921ec3e96f5bc6147" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-navigation/2.13.0/laminas-laminas-navigation-2.13.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-navigation/zipball/1d29047b49ea978756e6f10921ec3e96f5bc6147", "reference": "1d29047b49ea978756e6f10921ec3e96f5bc6147", "shasum": "" }, @@ -3205,6 +3414,7 @@ "Laminas\\Navigation\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3304,9 +3514,14 @@ { "name": "laminas/laminas-psr7bridge", "version": "0.2.2", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-psr7bridge.git", + "reference": "14780ef1d40effd59d77ab29c6d439b2af42cdfa" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-psr7bridge/0.2.2/laminas-laminas-psr7bridge-0.2.2.zip", + "url": "https://api.github.com/repos/laminas/laminas-psr7bridge/zipball/14780ef1d40effd59d77ab29c6d439b2af42cdfa", "reference": "14780ef1d40effd59d77ab29c6d439b2af42cdfa", "shasum": "" }, @@ -3336,6 +3551,7 @@ "Laminas\\Psr7Bridge\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3360,9 +3576,14 @@ { "name": "laminas/laminas-serializer", "version": "2.10.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-serializer.git", + "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-serializer/2.10.0/laminas-laminas-serializer-2.10.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", "shasum": "" }, @@ -3397,6 +3618,7 @@ "Laminas\\Serializer\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3425,9 +3647,14 @@ { "name": "laminas/laminas-servicemanager", "version": "2.7.11", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-servicemanager.git", + "reference": "841abb656c6018afebeec1f355be438426d6a3dd" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-servicemanager/2.7.11/laminas-laminas-servicemanager-2.7.11.zip", + "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/841abb656c6018afebeec1f355be438426d6a3dd", "reference": "841abb656c6018afebeec1f355be438426d6a3dd", "shasum": "" }, @@ -3462,6 +3689,7 @@ "Laminas\\ServiceManager\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3483,9 +3711,14 @@ { "name": "laminas/laminas-session", "version": "2.8.7", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-session.git", + "reference": "92cbffa0460e15425993047845c2298e81c24899" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-session/2.8.7/laminas-laminas-session-2.8.7.zip", + "url": "https://api.github.com/repos/laminas/laminas-session/zipball/92cbffa0460e15425993047845c2298e81c24899", "reference": "92cbffa0460e15425993047845c2298e81c24899", "shasum": "" }, @@ -3534,6 +3767,7 @@ "Laminas\\Session\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3556,9 +3790,14 @@ { "name": "laminas/laminas-stdlib", "version": "2.7.9", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-stdlib.git", + "reference": "2b7ee69318bf08ed094ebf0b30f860bb26ddd9f6" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-stdlib/2.7.9/laminas-laminas-stdlib-2.7.9.zip", + "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/2b7ee69318bf08ed094ebf0b30f860bb26ddd9f6", "reference": "2b7ee69318bf08ed094ebf0b30f860bb26ddd9f6", "shasum": "" }, @@ -3594,6 +3833,7 @@ "Laminas\\Stdlib\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3621,9 +3861,14 @@ { "name": "laminas/laminas-text", "version": "2.7.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-text.git", + "reference": "3601b5eacb06ed0a12f658df860cc0f9613cf4db" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-text/2.7.1/laminas-laminas-text-2.7.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-text/zipball/3601b5eacb06ed0a12f658df860cc0f9613cf4db", "reference": "3601b5eacb06ed0a12f658df860cc0f9613cf4db", "shasum": "" }, @@ -3653,6 +3898,7 @@ "Laminas\\Text\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3675,9 +3921,14 @@ { "name": "laminas/laminas-uri", "version": "2.8.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-uri.git", + "reference": "79bd4c614c8cf9a6ba715a49fca8061e84933d87" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-uri/2.8.1/laminas-laminas-uri-2.8.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-uri/zipball/79bd4c614c8cf9a6ba715a49fca8061e84933d87", "reference": "79bd4c614c8cf9a6ba715a49fca8061e84933d87", "shasum": "" }, @@ -3700,6 +3951,7 @@ "Laminas\\Uri\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3728,9 +3980,14 @@ { "name": "laminas/laminas-validator", "version": "2.11.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-validator.git", + "reference": "1c2be519684c6ec5fd6d02f36167d95292682977" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-validator/2.11.1/laminas-laminas-validator-2.11.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-validator/zipball/1c2be519684c6ec5fd6d02f36167d95292682977", "reference": "1c2be519684c6ec5fd6d02f36167d95292682977", "shasum": "" }, @@ -3785,6 +4042,7 @@ "Laminas\\Validator\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3807,9 +4065,14 @@ { "name": "laminas/laminas-view", "version": "2.11.5", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-view.git", + "reference": "16611035d7b3a6ef2c636a9268c213146123b663" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-view/2.11.5/laminas-laminas-view-2.11.5.zip", + "url": "https://api.github.com/repos/laminas/laminas-view/zipball/16611035d7b3a6ef2c636a9268c213146123b663", "reference": "16611035d7b3a6ef2c636a9268c213146123b663", "shasum": "" }, @@ -3872,6 +4135,7 @@ "Laminas\\View\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3900,9 +4164,14 @@ { "name": "laminas/laminas-xml", "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-xml.git", + "reference": "dcadeefdb6d7ed6b39d772b47e3845003d6ea60f" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-xml/1.4.0/laminas-laminas-xml-1.4.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-xml/zipball/dcadeefdb6d7ed6b39d772b47e3845003d6ea60f", "reference": "dcadeefdb6d7ed6b39d772b47e3845003d6ea60f", "shasum": "" }, @@ -3926,6 +4195,7 @@ "Laminas\\Xml\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3954,9 +4224,14 @@ { "name": "laminas/laminas-zendframework-bridge", "version": "1.6.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "e112dd2c099f4f6142c16fc65fda89a638e06885" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-zendframework-bridge/1.6.1/laminas-laminas-zendframework-bridge-1.6.1.zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/e112dd2c099f4f6142c16fc65fda89a638e06885", "reference": "e112dd2c099f4f6142c16fc65fda89a638e06885", "shasum": "" }, @@ -3983,6 +4258,7 @@ "Laminas\\ZendFrameworkBridge\\": "src//" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -4011,9 +4287,14 @@ { "name": "lm-commons/lmc-rbac-mvc", "version": "v2.6.3", + "source": { + "type": "git", + "url": "https://github.com/LM-Commons/LmcRbacMvc.git", + "reference": "dd1857a88474e2a77996b1fb858f927510762819" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/lm-commons/lmc-rbac-mvc/v2.6.3/lm-commons-lmc-rbac-mvc-v2.6.3.zip", + "url": "https://api.github.com/repos/LM-Commons/LmcRbacMvc/zipball/dd1857a88474e2a77996b1fb858f927510762819", "reference": "dd1857a88474e2a77996b1fb858f927510762819", "shasum": "" }, @@ -4056,6 +4337,7 @@ "ZfcRbac\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4091,11 +4373,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.17.1", + "version": "v4.18.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/nikic/php-parser/v4.17.1/nikic-php-parser-v4.17.1.zip", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999", + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999", "shasum": "" }, "require": { @@ -4120,6 +4407,7 @@ "PhpParser\\": "lib/PhpParser" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -4135,9 +4423,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" }, - "time": "2023-08-13T19:53:39+00:00" + "time": "2023-12-10T21:03:43+00:00" }, { "name": "olcs/olcs-auth", @@ -4297,11 +4585,16 @@ { "name": "olcs/olcs-laminas", "version": "2.5.2", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-laminas.git", + "reference": "59258281b9f56cb621cc7148af31905bc26c1d33" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS/olcs/olcs-laminas/2.5.2/olcs-olcs-laminas-2.5.2.zip", - "reference": "2905575ee2fd04fd364c9dc31289ff8aea92d912", - "shasum": "2905575ee2fd04fd364c9dc31289ff8aea92d912" + "url": "https://api.github.com/repos/dvsa/olcs-laminas/zipball/59258281b9f56cb621cc7148af31905bc26c1d33", + "reference": "59258281b9f56cb621cc7148af31905bc26c1d33", + "shasum": "" }, "require": { "laminas/laminas-authentication": "^2.5", @@ -4348,8 +4641,13 @@ "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-laminas" } }, + "notification-url": "https://packagist.org/downloads/", "description": "List of olcs laminas dependencies that are common across all repos", - "time": "2023-03-01T11:33:40+00:00" + "support": { + "issues": "https://github.com/dvsa/olcs-laminas/issues", + "source": "https://github.com/dvsa/olcs-laminas/tree/2.5.2" + }, + "time": "2023-02-28T10:26:42+00:00" }, { "name": "olcs/olcs-logging", @@ -4491,9 +4789,14 @@ { "name": "psr/cache", "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/cache.git", + "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/cache/1.0.1/psr-cache-1.0.1.zip", + "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", "shasum": "" }, @@ -4511,6 +4814,7 @@ "Psr\\Cache\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4534,9 +4838,14 @@ { "name": "psr/container", "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/container/1.1.2/psr-container-1.1.2.zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, @@ -4549,6 +4858,7 @@ "Psr\\Container\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4671,9 +4981,14 @@ { "name": "psr/http-message", "version": "1.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message.git", + "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/http-message/1.1/psr-http-message-1.1.zip", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "reference": "cb6ce4845ce34a8ad9e68117c10ee90a29919eba", "shasum": "" }, @@ -4691,6 +5006,7 @@ "Psr\\Http\\Message\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4718,9 +5034,14 @@ { "name": "psr/log", "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/log/1.1.4/psr-log-1.1.4.zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", "reference": "d49695b909c3b7628b6289db5479a1c204601f11", "shasum": "" }, @@ -4738,6 +5059,7 @@ "Psr\\Log\\": "Psr/Log/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4762,9 +5084,14 @@ { "name": "psr/simple-cache", "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/simple-cache/1.0.1/psr-simple-cache-1.0.1.zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "shasum": "" }, @@ -4782,6 +5109,7 @@ "Psr\\SimpleCache\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5395,9 +5723,14 @@ { "name": "symfony/polyfill-ctype", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-ctype/v1.28.0/symfony-polyfill-ctype-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, @@ -5428,6 +5761,7 @@ "Symfony\\Polyfill\\Ctype\\": "" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5471,9 +5805,14 @@ { "name": "symfony/polyfill-mbstring", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-mbstring/v1.28.0/symfony-polyfill-mbstring-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", "reference": "42292d99c55abe617799667f454222c54c60e229", "shasum": "" }, @@ -5504,6 +5843,7 @@ "Symfony\\Polyfill\\Mbstring\\": "" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5548,9 +5888,14 @@ { "name": "symfony/polyfill-php73", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-php73/v1.28.0/symfony-polyfill-php73-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", "shasum": "" }, @@ -5578,6 +5923,7 @@ "Resources/stubs" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5848,9 +6194,14 @@ { "name": "true/punycode", "version": "v2.1.1", + "source": { + "type": "git", + "url": "https://github.com/true/php-punycode.git", + "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/true/punycode/v2.1.1/true-punycode-v2.1.1.zip", + "url": "https://api.github.com/repos/true/php-punycode/zipball/a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", "shasum": "" }, @@ -5868,6 +6219,7 @@ "TrueBV\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5893,9 +6245,14 @@ { "name": "webimpress/safe-writer", "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/webimpress/safe-writer.git", + "reference": "9d37cc8bee20f7cb2f58f6e23e05097eab5072e6" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/webimpress/safe-writer/2.2.0/webimpress-safe-writer-2.2.0.zip", + "url": "https://api.github.com/repos/webimpress/safe-writer/zipball/9d37cc8bee20f7cb2f58f6e23e05097eab5072e6", "reference": "9d37cc8bee20f7cb2f58f6e23e05097eab5072e6", "shasum": "" }, @@ -5920,6 +6277,7 @@ "Webimpress\\SafeWriter\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-2-Clause" ], @@ -5946,9 +6304,14 @@ { "name": "zfr/rbac", "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/zf-fr/rbac.git", + "reference": "493711bfc2a637fd7c6f23b71b7b55a621c35d9d" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/zfr/rbac/1.2.0/zfr-rbac-1.2.0.zip", + "url": "https://api.github.com/repos/zf-fr/rbac/zipball/493711bfc2a637fd7c6f23b71b7b55a621c35d9d", "reference": "493711bfc2a637fd7c6f23b71b7b55a621c35d9d", "shasum": "" }, @@ -5967,6 +6330,7 @@ "Rbac\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -8577,9 +8941,14 @@ { "name": "squizlabs/php_codesniffer", "version": "3.6.2", + "source": { + "type": "git", + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/squizlabs/php_codesniffer/3.6.2/squizlabs-php_codesniffer-3.6.2.zip", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", "shasum": "" }, @@ -8602,6 +8971,7 @@ "dev-master": "3.x-dev" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -8622,6 +8992,20 @@ "source": "https://github.com/squizlabs/PHP_CodeSniffer", "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" }, + "funding": [ + { + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", + "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + } + ], "time": "2021-12-12T21:44:58+00:00" }, { @@ -8700,9 +9084,14 @@ { "name": "symfony/polyfill-php72", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-php72/v1.28.0/symfony-polyfill-php72-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179", "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179", "shasum": "" }, @@ -8727,6 +9116,7 @@ "Symfony\\Polyfill\\Php72\\": "" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], From 11748f555ef0fff7f94b3ec6712a45ed222fbf81 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 13:17:57 +0000 Subject: [PATCH 03/34] chore(deps): Remove dependency on olcs/olcs-devtools --- composer.json | 1 - composer.lock | 2788 ++----------------------------------------------- 2 files changed, 102 insertions(+), 2687 deletions(-) diff --git a/composer.json b/composer.json index 9fd075669..aada0c694 100644 --- a/composer.json +++ b/composer.json @@ -8,7 +8,6 @@ }, "require-dev": { "laminas/laminas-developer-tools": "*", - "olcs/olcs-devtools": "~4.206.0", "phpstan/phpstan": "^0.12.100", "san/san-session-toolbar": "*" }, diff --git a/composer.lock b/composer.lock index 656730478..eba93b2c8 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": "2548d6f94157b0640b027a35cc3a770b", + "content-hash": "b940e82b7b810e9ffa78269940e8a7d8", "packages": [ { "name": "brick/varexporter", @@ -6358,2728 +6358,188 @@ ], "packages-dev": [ { - "name": "composer/pcre", - "version": "3.1.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/composer/pcre/3.1.1/composer-pcre-3.1.1.zip", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "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" - } - }, - "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.1.1" - }, - "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": "2023-10-11T07:11:09+00:00" - }, - { - "name": "composer/xdebug-handler", - "version": "3.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/composer/xdebug-handler/3.0.3/composer-xdebug-handler-3.0.3.zip", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", - "shasum": "" - }, - "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Composer\\XdebugHandler\\": "src" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" - }, - "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-02-25T21:32:43+00:00" - }, - { - "name": "dms/phpunit-arraysubset-asserts", - "version": "v0.3.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/dms/phpunit-arraysubset-asserts/v0.3.1/dms-phpunit-arraysubset-asserts-v0.3.1.zip", - "reference": "e1b47df99cd0dbb3f63528adc5c990256218c707", - "shasum": "" - }, - "require": { - "php": "^5.4 || ^7.0 || ^8.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "require-dev": { - "dms/coding-standard": "^9", - "squizlabs/php_codesniffer": "^3.4" - }, - "type": "library", - "autoload": { - "files": [ - "assertarraysubset-autoload.php" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Rafael Dohms", - "email": "rdohms@gmail.com" - } - ], - "description": "This package provides ArraySubset and related asserts once deprecated in PHPUnit 8", - "support": { - "issues": "https://github.com/rdohms/phpunit-arraysubset-asserts/issues", - "source": "https://github.com/rdohms/phpunit-arraysubset-asserts/tree/v0.3.1" - }, - "time": "2021-10-17T18:50:58+00:00" - }, - { - "name": "doctrine/instantiator", - "version": "1.5.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/instantiator/1.5.0/doctrine-instantiator-1.5.0.zip", - "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^11", - "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.30 || ^5.4" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" - } - }, - "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.5.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": "2022-12-30T00:15:36+00:00" - }, - { - "name": "dvsa/coding-standards", - "version": "v2.0.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/dvsa/coding-standards/v2.0.0/dvsa-coding-standards-v2.0.0.zip", - "reference": "22da6f5cbed2a3ba619d1552727a908fbf0f2098", - "shasum": "" - }, - "require": { - "php": "^7.4|^8.0", - "squizlabs/php_codesniffer": "^3.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "To use the shared coding standards ruleset for PHP CS Fixer" - }, - "type": "library", - "autoload": { - "psr-4": { - "Dvsa\\PhpCodingStandards\\PhpCsFixer\\": "src/Profiles/DVSA/PhpCsFixer" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Shaun Hare", - "email": "shaun.hare@dvsa.gov.uk" - }, - { - "name": "Igor Stimoli", - "email": "igor.stimoli@bjss.com" - }, - { - "name": "Chris Emerson", - "email": "chris.emerson@bjss.com" - } - ], - "description": "Coding Standards used for PHP in the Driver and Vehicle Standards Agency. PSR Compliant.", - "support": { - "issues": "https://github.com/dvsa/php-coding-standards/issues", - "source": "https://github.com/dvsa/php-coding-standards/tree/v2.0.0" - }, - "time": "2022-01-17T15:41:57+00:00" - }, - { - "name": "fzaninotto/faker", - "version": "v1.9.2", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/fzaninotto/faker/v1.9.2/fzaninotto-faker-v1.9.2.zip", - "reference": "848d8125239d7dbf8ab25cb7f054f1a630e68c2e", - "shasum": "" - }, - "require": { - "php": "^5.3.3 || ^7.0" - }, - "require-dev": { - "ext-intl": "*", - "phpunit/phpunit": "^4.8.35 || ^5.7", - "squizlabs/php_codesniffer": "^2.9.2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.9-dev" - } - }, - "autoload": { - "psr-4": { - "Faker\\": "src/Faker/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "FranƧois Zaninotto" - } - ], - "description": "Faker is a PHP library that generates fake data for you.", - "keywords": [ - "data", - "faker", - "fixtures" - ], - "support": { - "issues": "https://github.com/fzaninotto/Faker/issues", - "source": "https://github.com/fzaninotto/Faker/tree/v1.9.2" - }, - "abandoned": true, - "time": "2020-12-11T09:56:16+00:00" - }, - { - "name": "hamcrest/hamcrest-php", - "version": "v2.0.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/hamcrest/hamcrest-php/v2.0.1/hamcrest-hamcrest-php-v2.0.1.zip", - "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", - "shasum": "" - }, - "require": { - "php": "^5.3|^7.0|^8.0" - }, - "replace": { - "cordoval/hamcrest-php": "*", - "davedevelopment/hamcrest-php": "*", - "kodova/hamcrest-php": "*" - }, - "require-dev": { - "phpunit/php-file-iterator": "^1.4 || ^2.0", - "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1-dev" - } - }, - "autoload": { - "classmap": [ - "hamcrest" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "description": "This is the PHP port of Hamcrest Matchers", - "keywords": [ - "test" - ], - "support": { - "issues": "https://github.com/hamcrest/hamcrest-php/issues", - "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" - }, - "time": "2020-07-09T08:09:16+00:00" - }, - { - "name": "johnkary/phpunit-speedtrap", - "version": "v3.3.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/johnkary/phpunit-speedtrap/v3.3.0/johnkary-phpunit-speedtrap-v3.3.0.zip", - "reference": "9ba81d42676da31366c85d3ff8c10a8352d02030", - "shasum": "" - }, - "require": { - "php": ">=7.1", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "psr-4": { - "JohnKary\\PHPUnit\\Listener\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Kary", - "email": "john@johnkary.net" - } - ], - "description": "Find and report on slow tests in your PHPUnit test suite", - "homepage": "https://github.com/johnkary/phpunit-speedtrap", - "keywords": [ - "phpunit", - "profile", - "slow" - ], - "support": { - "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", - "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v3.3.0" - }, - "time": "2020-12-18T16:20:16+00:00" - }, - { - "name": "laminas/laminas-developer-tools", - "version": "2.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-developer-tools/2.0.3/laminas-laminas-developer-tools-2.0.3.zip", - "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", - "shasum": "" - }, - "require": { - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-modulemanager": "^2.7", - "laminas/laminas-mvc": "^2.7 || ^3.0.1", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-view": "^2.6", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0", - "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" - }, - "replace": { - "zendframework/zend-developer-tools": "^2.0.0" - }, - "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" - }, - "suggest": { - "aist/aist-git-tools": "Show you information about current GIT repository", - "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", - "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", - "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", - "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", - "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", - "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" - }, - "type": "library", - "extra": { - "laminas": { - "module": "Laminas\\DeveloperTools" - } - }, - "autoload": { - "psr-4": { - "Laminas\\DeveloperTools\\": "src/" - } - }, - "license": [ - "BSD-3-Clause" - ], - "description": "Module for developer and debug tools for use with laminas-mvc applications.", - "homepage": "https://laminas.dev", - "keywords": [ - "debug", - "developer", - "laminas", - "module" - ], - "support": { - "chat": "https://laminas.dev/chat", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-developer-tools/issues", - "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", - "source": "https://github.com/laminas/laminas-developer-tools" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2020-11-02T03:12:47+00:00" - }, - { - "name": "mikey179/vfsstream", - "version": "v1.6.11", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/mikey179/vfsstream/v1.6.11/mikey179-vfsstream-v1.6.11.zip", - "reference": "17d16a85e6c26ce1f3e2fa9ceeacdc2855db1e9f", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.5|^5.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.6.x-dev" - } - }, - "autoload": { - "psr-0": { - "org\\bovigo\\vfs\\": "src/main/php" - } - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Frank Kleine", - "homepage": "http://frankkleine.de/", - "role": "Developer" - } - ], - "description": "Virtual file system to mock the real file system in unit tests.", - "homepage": "http://vfs.bovigo.org/", - "support": { - "issues": "https://github.com/bovigo/vfsStream/issues", - "source": "https://github.com/bovigo/vfsStream/tree/master", - "wiki": "https://github.com/bovigo/vfsStream/wiki" - }, - "time": "2022-02-23T02:02:42+00:00" - }, - { - "name": "mockery/mockery", - "version": "1.4.4", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/mockery/mockery/1.4.4/mockery-mockery-1.4.4.zip", - "reference": "e01123a0e847d52d186c5eb4b9bf58b0c6d00346", - "shasum": "" - }, - "require": { - "hamcrest/hamcrest-php": "^2.0.1", - "lib-pcre": ">=7.0", - "php": "^7.3 || ^8.0" - }, - "conflict": { - "phpunit/phpunit": "<8.0" - }, - "require-dev": { - "phpunit/phpunit": "^8.5 || ^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Mockery": "library/" - } - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "PĆ”draic Brady", - "email": "padraic.brady@gmail.com", - "homepage": "http://blog.astrumfutura.com" - }, - { - "name": "Dave Marshall", - "email": "dave.marshall@atstsolutions.co.uk", - "homepage": "http://davedevelopment.co.uk" - } - ], - "description": "Mockery is a simple yet flexible PHP mock object framework", - "homepage": "https://github.com/mockery/mockery", - "keywords": [ - "BDD", - "TDD", - "library", - "mock", - "mock objects", - "mockery", - "stub", - "test", - "test double", - "testing" - ], - "support": { - "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.4.4" - }, - "time": "2021-09-13T15:28:59+00:00" - }, - { - "name": "myclabs/deep-copy", - "version": "1.11.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/myclabs/deep-copy/1.11.1/myclabs-deep-copy-1.11.1.zip", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" - }, - "require-dev": { - "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": { - "files": [ - "src/DeepCopy/deep_copy.php" - ], - "psr-4": { - "DeepCopy\\": "src/DeepCopy/" - } - }, - "license": [ - "MIT" - ], - "description": "Create deep copies (clones) of your objects", - "keywords": [ - "clone", - "copy", - "duplicate", - "object", - "object graph" - ], - "support": { - "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", - "type": "tidelift" - } - ], - "time": "2023-03-08T13:26:56+00:00" - }, - { - "name": "olcs/olcs-devtools", - "version": "4.206.21", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS/olcs/olcs-devtools/4.206.21/olcs-olcs-devtools-4.206.21.zip", - "reference": "08058c29491b81313069fc373000d581101fede2", - "shasum": "08058c29491b81313069fc373000d581101fede2" - }, - "require": { - "dms/phpunit-arraysubset-asserts": "^0.3.1", - "dvsa/coding-standards": "^2.0.0", - "elendev/composer-push": "^1.0.3", - "fzaninotto/faker": "^1.9", - "johnkary/phpunit-speedtrap": "^3.2", - "mikey179/vfsstream": "^1.6", - "mockery/mockery": "~1.4.4", - "olcs/olcs-testhelpers": "~4.206.0", - "php": ">=7.4", - "phpmd/phpmd": "^2.11.1", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-doctrine": "^0.12", - "phpstan/phpstan-mockery": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpunit/phpcov": "8.*", - "phpunit/phpunit": "^9", - "squizlabs/php_codesniffer": "~3.6.2" - }, - "bin": [ - "bin/review", - "bin/composer-install-syms", - "bin/composer-update-syms" - ], - "type": "library", - "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-devtools/" - } - }, - "autoload": { - "psr-4": { - "Devtools\\": "src/" - } - }, - "description": "Dev tools", - "time": "2023-06-16T14:43:09+00:00" - }, - { - "name": "olcs/olcs-testhelpers", - "version": "4.206.22", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS/olcs/olcs-testhelpers/4.206.22/olcs-olcs-testhelpers-4.206.22.zip", - "reference": "ab4c0103cf90ca52c4340ea776f3349b98931c16", - "shasum": "ab4c0103cf90ca52c4340ea776f3349b98931c16" - }, - "require": { - "elendev/composer-push": "^1.0.3", - "olcs/olcs-laminas": "~2.5.0 || ~3.0.0", - "php": ">=7.4" - }, - "type": "library", - "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-testhelpers" - } - }, - "autoload": { - "psr-4": { - "Olcs\\TestHelpers\\": "src/TestHelpers/" - } - }, - "description": "OLCS Test helpers", - "time": "2023-10-18T11:28:11+00:00" - }, - { - "name": "pdepend/pdepend", - "version": "2.16.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/pdepend/pdepend/2.16.0/pdepend-pdepend-2.16.0.zip", - "reference": "8dfc0c46529e2073fa97986552f80646eedac562", - "shasum": "" - }, - "require": { - "php": ">=5.3.7", - "symfony/config": "^2.3.0|^3|^4|^5|^6.0|^7.0", - "symfony/dependency-injection": "^2.3.0|^3|^4|^5|^6.0|^7.0", - "symfony/filesystem": "^2.3.0|^3|^4|^5|^6.0|^7.0", - "symfony/polyfill-mbstring": "^1.19" - }, - "require-dev": { - "easy-doc/easy-doc": "0.0.0|^1.2.3", - "gregwar/rst": "^1.0", - "phpunit/phpunit": "^4.8.36|^5.7.27", - "squizlabs/php_codesniffer": "^2.0.0" - }, - "bin": [ - "src/bin/pdepend" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "PDepend\\": "src/main/php/PDepend" - } - }, - "license": [ - "BSD-3-Clause" - ], - "description": "Official version of pdepend to be handled with Composer", - "keywords": [ - "PHP Depend", - "PHP_Depend", - "dev", - "pdepend" - ], - "support": { - "issues": "https://github.com/pdepend/pdepend/issues", - "source": "https://github.com/pdepend/pdepend/tree/2.16.0" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", - "type": "tidelift" - } - ], - "time": "2023-11-29T08:52:35+00:00" - }, - { - "name": "phar-io/manifest", - "version": "2.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phar-io/manifest/2.0.3/phar-io-manifest-2.0.3.zip", - "reference": "97803eca37d319dfa7826cc2437fc020857acb53", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-phar": "*", - "ext-xmlwriter": "*", - "phar-io/version": "^3.0.1", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0.x-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "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/2.0.3" - }, - "time": "2021-07-20T11:28:43+00:00" - }, - { - "name": "phar-io/version", - "version": "3.2.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phar-io/version/3.2.1/phar-io-version-3.2.1.zip", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, - { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" - } - ], - "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.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" - }, - { - "name": "phpmd/phpmd", - "version": "2.14.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpmd/phpmd/2.14.1/phpmd-phpmd-2.14.1.zip", - "reference": "442fc2c34edcd5198b442d8647c7f0aec3afabe8", - "shasum": "" - }, - "require": { - "composer/xdebug-handler": "^1.0 || ^2.0 || ^3.0", - "ext-xml": "*", - "pdepend/pdepend": "^2.15.1", - "php": ">=5.3.9" - }, - "require-dev": { - "easy-doc/easy-doc": "0.0.0 || ^1.3.2", - "ext-json": "*", - "ext-simplexml": "*", - "gregwar/rst": "^1.0", - "mikey179/vfsstream": "^1.6.8", - "phpunit/phpunit": "^4.8.36 || ^5.7.27", - "squizlabs/php_codesniffer": "^2.9.2 || ^3.7.2" - }, - "bin": [ - "src/bin/phpmd" - ], - "type": "library", - "autoload": { - "psr-0": { - "PHPMD\\": "src/main/php" - } - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Manuel Pichler", - "email": "github@manuel-pichler.de", - "homepage": "https://github.com/manuelpichler", - "role": "Project Founder" - }, - { - "name": "Marc WĆ¼rth", - "email": "ravage@bluewin.ch", - "homepage": "https://github.com/ravage84", - "role": "Project Maintainer" - }, - { - "name": "Other contributors", - "homepage": "https://github.com/phpmd/phpmd/graphs/contributors", - "role": "Contributors" - } - ], - "description": "PHPMD is a spin-off project of PHP Depend and aims to be a PHP equivalent of the well known Java tool PMD.", - "homepage": "https://phpmd.org/", - "keywords": [ - "dev", - "mess detection", - "mess detector", - "pdepend", - "phpmd", - "pmd" - ], - "support": { - "irc": "irc://irc.freenode.org/phpmd", - "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.14.1" - }, - "funding": [ - { - "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", - "type": "tidelift" - } - ], - "time": "2023-09-28T13:07:44+00:00" - }, - { - "name": "phpstan/extension-installer", - "version": "1.1.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/extension-installer/1.1.0/phpstan-extension-installer-1.1.0.zip", - "reference": "66c7adc9dfa38b6b5838a9fb728b68a7d8348051", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.1 || ^2.0", - "php": "^7.1 || ^8.0", - "phpstan/phpstan": ">=0.11.6" - }, - "require-dev": { - "composer/composer": "^1.8", - "phing/phing": "^2.16.3", - "php-parallel-lint/php-parallel-lint": "^1.2.0", - "phpstan/phpstan-strict-rules": "^0.11 || ^0.12" - }, - "type": "composer-plugin", - "extra": { - "class": "PHPStan\\ExtensionInstaller\\Plugin" - }, - "autoload": { - "psr-4": { - "PHPStan\\ExtensionInstaller\\": "src/" - } - }, - "license": [ - "MIT" - ], - "description": "Composer plugin for automatic installation of PHPStan extensions", - "support": { - "issues": "https://github.com/phpstan/extension-installer/issues", - "source": "https://github.com/phpstan/extension-installer/tree/1.1.0" - }, - "time": "2020-12-13T13:06:13+00:00" - }, - { - "name": "phpstan/phpstan", - "version": "0.12.100", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan/0.12.100/phpstan-phpstan-0.12.100.zip", - "reference": "48236ddf823547081b2b153d1cd2994b784328c3", - "shasum": "" - }, - "require": { - "php": "^7.1|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.100" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2022-11-01T09:52:08+00:00" - }, - { - "name": "phpstan/phpstan-doctrine", - "version": "0.12.44", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan-doctrine/0.12.44/phpstan-phpstan-doctrine-0.12.44.zip", - "reference": "5fe9a9b15707d9bc5178fa7cf0899e904d112ccd", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.85" - }, - "conflict": { - "doctrine/collections": "<1.0", - "doctrine/common": "<2.7", - "doctrine/mongodb-odm": "<1.2", - "doctrine/orm": "<2.5", - "doctrine/persistence": "<1.3" - }, - "require-dev": { - "doctrine/annotations": "^1.11.0", - "doctrine/collections": "^1.6", - "doctrine/common": "^2.7 || ^3.0", - "doctrine/dbal": "^2.13.1", - "doctrine/mongodb-odm": "^1.3 || ^2.1", - "doctrine/orm": "^2.9.1", - "doctrine/persistence": "^1.1 || ^2.0", - "nesbot/carbon": "^2.49", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.16", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^9.5", - "ramsey/uuid-doctrine": "^1.5.0" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, - "phpstan": { - "includes": [ - "extension.neon", - "rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "license": [ - "MIT" - ], - "description": "Doctrine extensions for PHPStan", - "support": { - "issues": "https://github.com/phpstan/phpstan-doctrine/issues", - "source": "https://github.com/phpstan/phpstan-doctrine/tree/0.12.44" - }, - "time": "2021-09-01T06:46:16+00:00" - }, - { - "name": "phpstan/phpstan-mockery", - "version": "0.12.14", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan-mockery/0.12.14/phpstan-phpstan-mockery-0.12.14.zip", - "reference": "7cc74bf434b3c2190f7f4cfc08c74f7c0b65667f", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.60" - }, - "require-dev": { - "mockery/mockery": "^1.2.4", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-phpunit": "^0.12.16", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^9.5" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, - "phpstan": { - "includes": [ - "extension.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "license": [ - "MIT" - ], - "description": "PHPStan Mockery extension", - "support": { - "issues": "https://github.com/phpstan/phpstan-mockery/issues", - "source": "https://github.com/phpstan/phpstan-mockery/tree/0.12.14" - }, - "time": "2021-06-10T12:12:36+00:00" - }, - { - "name": "phpstan/phpstan-phpunit", - "version": "0.12.22", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan-phpunit/0.12.22/phpstan-phpstan-phpunit-0.12.22.zip", - "reference": "7c01ef93bf128b4ac8bdad38c54b2a4fd6b0b3cc", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0", - "phpstan/phpstan": "^0.12.92" - }, - "conflict": { - "phpunit/phpunit": "<7.0" - }, - "require-dev": { - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpstan-strict-rules": "^0.12.6", - "phpunit/phpunit": "^9.5" - }, - "type": "phpstan-extension", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - }, - "phpstan": { - "includes": [ - "extension.neon", - "rules.neon" - ] - } - }, - "autoload": { - "psr-4": { - "PHPStan\\": "src/" - } - }, - "license": [ - "MIT" - ], - "description": "PHPUnit extensions and rules for PHPStan", - "support": { - "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/0.12.22" - }, - "time": "2021-08-12T10:53:43+00:00" - }, - { - "name": "phpunit/php-code-coverage", - "version": "9.2.29", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/php-code-coverage/9.2.29/phpunit-php-code-coverage-9.2.29.zip", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-libxml": "*", - "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", - "php": ">=7.3", - "phpunit/php-file-iterator": "^3.0.3", - "phpunit/php-text-template": "^2.0.2", - "sebastian/code-unit-reverse-lookup": "^2.0.2", - "sebastian/complexity": "^2.0", - "sebastian/environment": "^5.1.2", - "sebastian/lines-of-code": "^1.0.3", - "sebastian/version": "^3.0.1", - "theseer/tokenizer": "^1.2.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcov": "PHP extension that provides line coverage", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", - "homepage": "https://github.com/sebastianbergmann/php-code-coverage", - "keywords": [ - "coverage", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-09-19T04:57:46+00:00" - }, - { - "name": "phpunit/php-file-iterator", - "version": "3.0.6", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/php-file-iterator/3.0.6/phpunit-php-file-iterator-3.0.6.zip", - "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "FilterIterator implementation that filters files based on a list of suffixes.", - "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", - "keywords": [ - "filesystem", - "iterator" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2021-12-02T12:48:52+00:00" - }, - { - "name": "phpunit/php-invoker", - "version": "3.1.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/php-invoker/3.1.1/phpunit-php-invoker-3.1.1.zip", - "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "ext-pcntl": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-pcntl": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Invoke callables with a timeout", - "homepage": "https://github.com/sebastianbergmann/php-invoker/", - "keywords": [ - "process" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:58:55+00:00" - }, - { - "name": "phpunit/php-text-template", - "version": "2.0.4", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/php-text-template/2.0.4/phpunit-php-text-template-2.0.4.zip", - "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Simple template engine.", - "homepage": "https://github.com/sebastianbergmann/php-text-template/", - "keywords": [ - "template" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T05:33:50+00:00" - }, - { - "name": "phpunit/php-timer", - "version": "5.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/php-timer/5.0.3/phpunit-php-timer-5.0.3.zip", - "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Utility class for timing", - "homepage": "https://github.com/sebastianbergmann/php-timer/", - "keywords": [ - "timer" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:16:10+00:00" - }, - { - "name": "phpunit/phpcov", - "version": "8.2.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/phpcov/8.2.1/phpunit-phpcov-8.2.1.zip", - "reference": "8ec45dde34a84914a0ace355fbd6d7af2242c9a4", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2", - "phpunit/php-file-iterator": "^3.0", - "phpunit/phpunit": "^9.3", - "sebastian/cli-parser": "^1.0", - "sebastian/diff": "^4.0", - "sebastian/version": "^3.0" - }, - "bin": [ - "phpcov" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "8.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "CLI frontend for php-code-coverage", - "homepage": "https://github.com/sebastianbergmann/phpcov", - "support": { - "issues": "https://github.com/sebastianbergmann/phpcov/issues", - "source": "https://github.com/sebastianbergmann/phpcov/tree/8.2.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-03-24T12:07:05+00:00" - }, - { - "name": "phpunit/phpunit", - "version": "9.6.14", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpunit/phpunit/9.6.14/phpunit-phpunit-9.6.14.zip", - "reference": "43653e6ad7adc22e7b667dd561bf8fcb74c10cf0", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.3.1 || ^2", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=7.3", - "phpunit/php-code-coverage": "^9.2.28", - "phpunit/php-file-iterator": "^3.0.5", - "phpunit/php-invoker": "^3.1.1", - "phpunit/php-text-template": "^2.0.3", - "phpunit/php-timer": "^5.0.2", - "sebastian/cli-parser": "^1.0.1", - "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.8", - "sebastian/diff": "^4.0.3", - "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.5", - "sebastian/global-state": "^5.0.1", - "sebastian/object-enumerator": "^4.0.3", - "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.2", - "sebastian/version": "^3.0.2" - }, - "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files", - "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "9.6-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.14" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2023-12-01T06:10:48+00:00" - }, - { - "name": "san/san-session-toolbar", - "version": "1.0.12", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/san/san-session-toolbar/1.0.12/san-san-session-toolbar-1.0.12.zip", - "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0", - "zendframework/zend-json": "^2.5 || ^3.0", - "zendframework/zend-session": "^2.8.4" - }, - "require-dev": { - "container-interop/container-interop": "^1.1", - "zendframework/zend-developer-tools": "^1.0.0 || ^1.1.0", - "zendframework/zend-i18n": "^2.5", - "zendframework/zend-log": "^2.5", - "zendframework/zend-serializer": "^2.5", - "zendframework/zend-test": "^2.5", - "zendframework/zend-view": "^2.5" - }, - "suggest": { - "ext-xdebug": "For better output format of session data, Xdebug should already installed", - "zendframework/zend-mvc-plugin-flashmessenger": "^1.0 for zend-mvc ^3.0 usage to be able to use flashMessenger" - }, - "type": "library", - "autoload": { - "psr-4": { - "SanSessionToolbar\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Abdul Malik Ikhsan", - "email": "samsonasik@gmail.com", - "homepage": "http://samsonasik.wordpress.com", - "role": "Developer" - } - ], - "description": "ZF2/ZF3 Session Toolbar for ZendDeveloperTools ", - "homepage": "https://github.com/samsonasik/SanSessionToolbar", - "keywords": [ - "session", - "zf2", - "zf3" - ], - "support": { - "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", - "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" - }, - "time": "2018-01-31T23:17:00+00:00" - }, - { - "name": "sebastian/cli-parser", - "version": "1.0.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/cli-parser/1.0.1/sebastian-cli-parser-1.0.1.zip", - "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for parsing CLI options", - "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:08:49+00:00" - }, - { - "name": "sebastian/code-unit", - "version": "1.0.8", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/code-unit/1.0.8/sebastian-code-unit-1.0.8.zip", - "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the PHP code units", - "homepage": "https://github.com/sebastianbergmann/code-unit", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:08:54+00:00" - }, - { - "name": "sebastian/code-unit-reverse-lookup", - "version": "2.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/code-unit-reverse-lookup/2.0.3/sebastian-code-unit-reverse-lookup-2.0.3.zip", - "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Looks up which function or method a line of code belongs to", - "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", - "support": { - "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T05:30:19+00:00" - }, - { - "name": "sebastian/comparator", - "version": "4.0.8", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/comparator/4.0.8/sebastian-comparator-4.0.8.zip", - "reference": "fa0f136dd2334583309d32b62544682ee972b51a", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/diff": "^4.0", - "sebastian/exporter": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - } - ], - "description": "Provides the functionality to compare PHP values for equality", - "homepage": "https://github.com/sebastianbergmann/comparator", - "keywords": [ - "comparator", - "compare", - "equality" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T12:41:17+00:00" - }, - { - "name": "sebastian/complexity", - "version": "2.0.2", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/complexity/2.0.2/sebastian-complexity-2.0.2.zip", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.7", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for calculating the complexity of PHP code units", - "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T15:52:27+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.5", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/diff/4.0.5/sebastian-diff-4.0.5.zip", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-05-07T05:35:17+00:00" - }, - { - "name": "sebastian/environment", - "version": "5.1.5", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/environment/5.1.5/sebastian-environment-5.1.5.zip", - "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-posix": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.1-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "http://www.github.com/sebastianbergmann/environment", - "keywords": [ - "Xdebug", - "environment", - "hhvm" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:03:51+00:00" - }, - { - "name": "sebastian/exporter", - "version": "4.0.5", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/exporter/4.0.5/sebastian-exporter-4.0.5.zip", - "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-mbstring": "*", - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Volker Dusch", - "email": "github@wallbash.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - }, - { - "name": "Bernhard Schussek", - "email": "bschussek@gmail.com" - } - ], - "description": "Provides the functionality to export PHP variables for visualization", - "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.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2022-09-14T06:03:37+00:00" - }, - { - "name": "sebastian/global-state", - "version": "5.0.6", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/global-state/5.0.6/sebastian-global-state-5.0.6.zip", - "reference": "bde739e7565280bda77be70044ac1047bc007e34", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "ext-dom": "*", - "phpunit/phpunit": "^9.3" - }, - "suggest": { - "ext-uopz": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Snapshotting of global state", - "homepage": "http://www.github.com/sebastianbergmann/global-state", - "keywords": [ - "global state" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-08-02T09:26:13+00:00" - }, - { - "name": "sebastian/lines-of-code", - "version": "1.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/lines-of-code/1.0.3/sebastian-lines-of-code-1.0.3.zip", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "shasum": "" - }, - "require": { - "nikic/php-parser": "^4.6", - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for counting the lines of code in PHP source code", - "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-11-28T06:42:11+00:00" - }, - { - "name": "sebastian/object-enumerator", - "version": "4.0.4", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/object-enumerator/4.0.4/sebastian-object-enumerator-4.0.4.zip", - "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", - "shasum": "" - }, - "require": { - "php": ">=7.3", - "sebastian/object-reflector": "^2.0", - "sebastian/recursion-context": "^4.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Traverses array structures and object graphs to enumerate all referenced objects", - "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:12:34+00:00" - }, - { - "name": "sebastian/object-reflector", - "version": "2.0.4", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/object-reflector/2.0.4/sebastian-object-reflector-2.0.4.zip", - "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Allows reflection of object attributes, including inherited and non-public ones", - "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-10-26T13:14:26+00:00" - }, - { - "name": "sebastian/recursion-context", - "version": "4.0.5", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/recursion-context/4.0.5/sebastian-recursion-context-4.0.5.zip", - "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Jeff Welch", - "email": "whatthejeff@gmail.com" - }, - { - "name": "Adam Harvey", - "email": "aharvey@php.net" - } - ], - "description": "Provides functionality to recursively process PHP variables", - "homepage": "https://github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:07:39+00:00" - }, - { - "name": "sebastian/resource-operations", - "version": "3.0.3", + "name": "laminas/laminas-developer-tools", + "version": "2.0.3", "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/resource-operations/3.0.3/sebastian-resource-operations-3.0.3.zip", - "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-developer-tools/2.0.3/laminas-laminas-developer-tools-2.0.3.zip", + "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", "shasum": "" }, "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - } - ], - "description": "Provides a list of PHP built-in functions that operate on resources", - "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "support": { - "issues": "https://github.com/sebastianbergmann/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2020-09-28T06:45:17+00:00" - }, - { - "name": "sebastian/type", - "version": "3.2.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/type/3.2.1/sebastian-type-3.2.1.zip", - "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", - "shasum": "" + "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", + "laminas/laminas-modulemanager": "^2.7", + "laminas/laminas-mvc": "^2.7 || ^3.0.1", + "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", + "laminas/laminas-stdlib": "^2.7 || ^3.0", + "laminas/laminas-view": "^2.6", + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^5.6 || ^7.0", + "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" }, - "require": { - "php": ">=7.3" + "replace": { + "zendframework/zend-developer-tools": "^2.0.0" }, "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.2-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", - "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-02-03T06:13:03+00:00" - }, - { - "name": "sebastian/version", - "version": "3.0.2", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/sebastian/version/3.0.2/sebastian-version-3.0.2.zip", - "reference": "c6c1022351a901512170118436c764e473f6de8c", - "shasum": "" + "laminas/laminas-coding-standard": "~1.0.0", + "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" }, - "require": { - "php": ">=7.3" + "suggest": { + "aist/aist-git-tools": "Show you information about current GIT repository", + "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", + "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", + "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", + "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", + "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", + "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "3.0-dev" + "laminas": { + "module": "Laminas\\DeveloperTools" } }, "autoload": { - "classmap": [ - "src/" - ] + "psr-4": { + "Laminas\\DeveloperTools\\": "src/" + } }, "license": [ "BSD-3-Clause" ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } + "description": "Module for developer and debug tools for use with laminas-mvc applications.", + "homepage": "https://laminas.dev", + "keywords": [ + "debug", + "developer", + "laminas", + "module" ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + "chat": "https://laminas.dev/chat", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-developer-tools/issues", + "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", + "source": "https://github.com/laminas/laminas-developer-tools" }, "funding": [ { - "url": "https://github.com/sebastianbergmann", - "type": "github" + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" } ], - "time": "2020-09-28T06:39:44+00:00" + "time": "2020-11-02T03:12:47+00:00" }, { - "name": "squizlabs/php_codesniffer", - "version": "3.6.2", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a" - }, + "name": "phpstan/phpstan", + "version": "0.12.100", "dist": { "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5e4e71592f69da17871dba6e80dd51bce74a351a", - "reference": "5e4e71592f69da17871dba6e80dd51bce74a351a", + "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan/0.12.100/phpstan-phpstan-0.12.100.zip", + "reference": "48236ddf823547081b2b153d1cd2994b784328c3", "shasum": "" }, "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" + "php": "^7.1|^8.0" }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "conflict": { + "phpstan/phpstan-shim": "*" }, "bin": [ - "bin/phpcs", - "bin/phpcbf" + "phpstan", + "phpstan.phar" ], "type": "library", "extra": { "branch-alias": { - "dev-master": "3.x-dev" + "dev-master": "0.12-dev" } }, - "notification-url": "https://packagist.org/downloads/", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "lead" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards" + "MIT" ], + "description": "PHPStan - PHP Static Analysis Tool", "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.100" }, "funding": [ { - "url": "https://github.com/PHPCSStandards", + "url": "https://github.com/ondrejmirtes", "type": "github" }, { - "url": "https://github.com/jrfnl", + "url": "https://github.com/phpstan", "type": "github" }, { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" } ], - "time": "2021-12-12T21:44:58+00:00" + "time": "2022-11-01T09:52:08+00:00" }, { - "name": "symfony/config", - "version": "v5.4.31", + "name": "san/san-session-toolbar", + "version": "1.0.12", "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/config/v5.4.31/symfony-config-v5.4.31.zip", - "reference": "dd5ea39de228813aba0c23c3a4153da2a4cf3cd9", + "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/san/san-session-toolbar/1.0.12/san-san-session-toolbar-1.0.12.zip", + "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/filesystem": "^4.4|^5.0|^6.0", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-php80": "^1.16", - "symfony/polyfill-php81": "^1.22" - }, - "conflict": { - "symfony/finder": "<4.4" + "php": "^5.6 || ^7.0", + "zendframework/zend-json": "^2.5 || ^3.0", + "zendframework/zend-session": "^2.8.4" }, "require-dev": { - "symfony/event-dispatcher": "^4.4|^5.0|^6.0", - "symfony/finder": "^4.4|^5.0|^6.0", - "symfony/messenger": "^4.4|^5.0|^6.0", - "symfony/service-contracts": "^1.1|^2|^3", - "symfony/yaml": "^4.4|^5.0|^6.0" + "container-interop/container-interop": "^1.1", + "zendframework/zend-developer-tools": "^1.0.0 || ^1.1.0", + "zendframework/zend-i18n": "^2.5", + "zendframework/zend-log": "^2.5", + "zendframework/zend-serializer": "^2.5", + "zendframework/zend-test": "^2.5", + "zendframework/zend-view": "^2.5" }, "suggest": { - "symfony/yaml": "To use the yaml reference dumper" + "ext-xdebug": "For better output format of session data, Xdebug should already installed", + "zendframework/zend-mvc-plugin-flashmessenger": "^1.0 for zend-mvc ^3.0 usage to be able to use flashMessenger" }, "type": "library", "autoload": { "psr-4": { - "Symfony\\Component\\Config\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "SanSessionToolbar\\": "src/" + } }, "license": [ "MIT" ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "Abdul Malik Ikhsan", + "email": "samsonasik@gmail.com", + "homepage": "http://samsonasik.wordpress.com", + "role": "Developer" } ], - "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", - "homepage": "https://symfony.com", + "description": "ZF2/ZF3 Session Toolbar for ZendDeveloperTools ", + "homepage": "https://github.com/samsonasik/SanSessionToolbar", + "keywords": [ + "session", + "zf2", + "zf3" + ], "support": { - "source": "https://github.com/symfony/config/tree/v5.4.31" + "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", + "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" }, - "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": "2023-11-09T08:22:43+00:00" + "time": "2018-01-31T23:17:00+00:00" }, { "name": "symfony/polyfill-php72", @@ -9239,50 +6699,6 @@ } ], "time": "2022-10-03T15:15:11+00:00" - }, - { - "name": "theseer/tokenizer", - "version": "1.2.2", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/theseer/tokenizer/1.2.2/theseer-tokenizer-1.2.2.zip", - "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": "^7.2 || ^8.0" - }, - "type": "library", - "autoload": { - "classmap": [ - "src/" - ] - }, - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - } - ], - "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/1.2.2" - }, - "funding": [ - { - "url": "https://github.com/theseer", - "type": "github" - } - ], - "time": "2023-11-20T00:12:19+00:00" } ], "aliases": [], From 73d2b33fb9b87da018986c413b821a62b07cf0dc Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 13:23:31 +0000 Subject: [PATCH 04/34] chore(ci-cd): add CI/CD workflow --- .github/workflows/cd.yaml | 24 ++++++++++++++++++++++++ .github/workflows/ci.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 .github/workflows/cd.yaml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml new file mode 100644 index 000000000..7b72cee22 --- /dev/null +++ b/.github/workflows/cd.yaml @@ -0,0 +1,24 @@ +name: CD + +on: + push: + branches: + - main + +jobs: + release-please: + name: Release + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + outputs: + tag_name: ${{ steps.release.outputs.tag_name }} + release_created: ${{ steps.release.outputs.release_created }} + sha: ${{ steps.release.outputs.sha }} + steps: + - uses: google-github-actions/release-please-action@v3 + id: release + with: + release-type: php + package-name: olcs-auth diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..b971c50b9 --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,25 @@ +name: CI + +on: + pull_request: + schedule: + - cron: '0 0 * * 1' + +jobs: + security: + uses: dvsa/.github/.github/workflows/php-library-security.yml@main + with: + php-versions: "[\"7.4\"]" + secrets: + SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} + + static-analysis: + uses: dvsa/.github/.github/workflows/php-library-static.yml@main + with: + php-version: '7.4' + + tests: + uses: dvsa/.github/.github/workflows/php-library-tests.yml@main + with: + php-versions: "[\"7.4\"]" + fail-fast: false From 5a31b1b05851c68bd068cf00c945bb7cdd289585 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 13:36:12 +0000 Subject: [PATCH 05/34] chore(config): add configuration files for maintaining code consistency and quality --- .editorconfig | 17 + .gitignore | 2 +- phpcs.xml.dist | 9 + phpstan.neon.dist | 5 + phpunit.xml.dist | 23 + psalm.xml.dist | 13 + vendor-bin/phpcs/composer.json | 6 + vendor-bin/phpcs/composer.lock | 131 ++ vendor-bin/phpstan/composer.json | 5 + vendor-bin/phpstan/composer.lock | 81 ++ vendor-bin/psalm/composer.json | 5 + vendor-bin/psalm/composer.lock | 2258 ++++++++++++++++++++++++++++++ 12 files changed, 2554 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 phpcs.xml.dist create mode 100644 phpstan.neon.dist create mode 100644 phpunit.xml.dist create mode 100644 psalm.xml.dist create mode 100644 vendor-bin/phpcs/composer.json create mode 100644 vendor-bin/phpcs/composer.lock create mode 100644 vendor-bin/phpstan/composer.json create mode 100644 vendor-bin/phpstan/composer.lock create mode 100644 vendor-bin/psalm/composer.json create mode 100644 vendor-bin/psalm/composer.lock diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..4dddcaa4e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.php] +indent_size = 4 \ No newline at end of file diff --git a/.gitignore b/.gitignore index be0c4fd40..ef7722737 100644 --- a/.gitignore +++ b/.gitignore @@ -6,7 +6,7 @@ nbproject .idea .project .settings -vendor/ +vendor test/coverage-report config/autoload/*.php .sublime-project diff --git a/phpcs.xml.dist b/phpcs.xml.dist new file mode 100644 index 000000000..f8d1b146f --- /dev/null +++ b/phpcs.xml.dist @@ -0,0 +1,9 @@ + + + ./src + ./test + + */vendor/* + + + \ No newline at end of file diff --git a/phpstan.neon.dist b/phpstan.neon.dist new file mode 100644 index 000000000..f76823d26 --- /dev/null +++ b/phpstan.neon.dist @@ -0,0 +1,5 @@ +parameters: + level: 1 + paths: + - src + - test \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist new file mode 100644 index 000000000..4373a3312 --- /dev/null +++ b/phpunit.xml.dist @@ -0,0 +1,23 @@ + + + + + + + + test + + + + + + + \ No newline at end of file diff --git a/psalm.xml.dist b/psalm.xml.dist new file mode 100644 index 000000000..aa552e0b6 --- /dev/null +++ b/psalm.xml.dist @@ -0,0 +1,13 @@ + + + + + + \ No newline at end of file diff --git a/vendor-bin/phpcs/composer.json b/vendor-bin/phpcs/composer.json new file mode 100644 index 000000000..251773c9f --- /dev/null +++ b/vendor-bin/phpcs/composer.json @@ -0,0 +1,6 @@ +{ + "require-dev": { + "squizlabs/php_codesniffer": "^3.7", + "dvsa/coding-standards": "^2.0" + } +} diff --git a/vendor-bin/phpcs/composer.lock b/vendor-bin/phpcs/composer.lock new file mode 100644 index 000000000..f2d79b264 --- /dev/null +++ b/vendor-bin/phpcs/composer.lock @@ -0,0 +1,131 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "fb2d7455ef9f963e27a91cd3056c9ca3", + "packages": [], + "packages-dev": [ + { + "name": "dvsa/coding-standards", + "version": "v2.0.0", + "source": { + "type": "git", + "url": "https://github.com/dvsa/php-coding-standards.git", + "reference": "22da6f5cbed2a3ba619d1552727a908fbf0f2098" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dvsa/php-coding-standards/zipball/22da6f5cbed2a3ba619d1552727a908fbf0f2098", + "reference": "22da6f5cbed2a3ba619d1552727a908fbf0f2098", + "shasum": "" + }, + "require": { + "php": "^7.4|^8.0", + "squizlabs/php_codesniffer": "^3.1" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^2.0" + }, + "suggest": { + "friendsofphp/php-cs-fixer": "To use the shared coding standards ruleset for PHP CS Fixer" + }, + "type": "library", + "autoload": { + "psr-4": { + "Dvsa\\PhpCodingStandards\\PhpCsFixer\\": "src/Profiles/DVSA/PhpCsFixer" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Shaun Hare", + "email": "shaun.hare@dvsa.gov.uk" + }, + { + "name": "Igor Stimoli", + "email": "igor.stimoli@bjss.com" + }, + { + "name": "Chris Emerson", + "email": "chris.emerson@bjss.com" + } + ], + "description": "Coding Standards used for PHP in the Driver and Vehicle Standards Agency. PSR Compliant.", + "support": { + "issues": "https://github.com/dvsa/php-coding-standards/issues", + "source": "https://github.com/dvsa/php-coding-standards/tree/v2.0.0" + }, + "time": "2022-01-17T15:41:57+00:00" + }, + { + "name": "squizlabs/php_codesniffer", + "version": "3.7.2", + "source": { + "type": "git", + "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", + "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "shasum": "" + }, + "require": { + "ext-simplexml": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + }, + "bin": [ + "bin/phpcs", + "bin/phpcbf" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Greg Sherwood", + "role": "lead" + } + ], + "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", + "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "keywords": [ + "phpcs", + "standards", + "static analysis" + ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, + "time": "2023-02-22T23:07:41+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/vendor-bin/phpstan/composer.json b/vendor-bin/phpstan/composer.json new file mode 100644 index 000000000..e452dbff1 --- /dev/null +++ b/vendor-bin/phpstan/composer.json @@ -0,0 +1,5 @@ +{ + "require-dev": { + "phpstan/phpstan": "^1.10" + } +} diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock new file mode 100644 index 000000000..2a2d200c4 --- /dev/null +++ b/vendor-bin/phpstan/composer.lock @@ -0,0 +1,81 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "06a282a9caaa357cc75a987b3fac0f2f", + "packages": [], + "packages-dev": [ + { + "name": "phpstan/phpstan", + "version": "1.10.47", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", + "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", + "shasum": "" + }, + "require": { + "php": "^7.2|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "keywords": [ + "dev", + "static analysis" + ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2023-12-01T15:19:17+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.6.0" +} diff --git a/vendor-bin/psalm/composer.json b/vendor-bin/psalm/composer.json new file mode 100644 index 000000000..376009c7c --- /dev/null +++ b/vendor-bin/psalm/composer.json @@ -0,0 +1,5 @@ +{ + "require-dev": { + "vimeo/psalm": "^5.15" + } +} diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock new file mode 100644 index 000000000..21ade476e --- /dev/null +++ b/vendor-bin/psalm/composer.lock @@ -0,0 +1,2258 @@ +{ + "_readme": [ + "This file locks the dependencies of your project to a known state", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", + "This file is @generated automatically" + ], + "content-hash": "923324f10d7e82c70b2b528ced5b7eeb", + "packages": [], + "packages-dev": [ + { + "name": "amphp/amp", + "version": "v2.6.2", + "source": { + "type": "git", + "url": "https://github.com/amphp/amp.git", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", + "shasum": "" + }, + "require": { + "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": "^7 | ^8 | ^9", + "psalm/phar": "^3.11@dev", + "react/promise": "^2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.x-dev" + } + }, + "autoload": { + "files": [ + "lib/functions.php", + "lib/Internal/functions.php" + ], + "psr-4": { + "Amp\\": "lib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Daniel Lowrey", + "email": "rdlowrey@php.net" + }, + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Bob Weinand", + "email": "bobwei9@hotmail.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A non-blocking concurrency framework for PHP applications.", + "homepage": "https://amphp.org/amp", + "keywords": [ + "async", + "asynchronous", + "awaitable", + "concurrency", + "event", + "event-loop", + "future", + "non-blocking", + "promise" + ], + "support": { + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/amp/issues", + "source": "https://github.com/amphp/amp/tree/v2.6.2" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2022-02-20T17:52:18+00:00" + }, + { + "name": "amphp/byte-stream", + "version": "v1.8.1", + "source": { + "type": "git", + "url": "https://github.com/amphp/byte-stream.git", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", + "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", + "shasum": "" + }, + "require": { + "amphp/amp": "^2", + "php": ">=7.1" + }, + "require-dev": { + "amphp/php-cs-fixer-config": "dev-master", + "amphp/phpunit-util": "^1.4", + "friendsofphp/php-cs-fixer": "^2.3", + "jetbrains/phpstorm-stubs": "^2019.3", + "phpunit/phpunit": "^6 || ^7 || ^8", + "psalm/phar": "^3.11.4" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "files": [ + "lib/functions.php" + ], + "psr-4": { + "Amp\\ByteStream\\": "lib" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Aaron Piotrowski", + "email": "aaron@trowski.com" + }, + { + "name": "Niklas Keller", + "email": "me@kelunik.com" + } + ], + "description": "A stream abstraction to make working with non-blocking I/O simple.", + "homepage": "http://amphp.org/byte-stream", + "keywords": [ + "amp", + "amphp", + "async", + "io", + "non-blocking", + "stream" + ], + "support": { + "irc": "irc://irc.freenode.org/amphp", + "issues": "https://github.com/amphp/byte-stream/issues", + "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" + }, + "funding": [ + { + "url": "https://github.com/amphp", + "type": "github" + } + ], + "time": "2021-03-30T17:13:30+00:00" + }, + { + "name": "composer/pcre", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/composer/pcre.git", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", + "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.1.1" + }, + "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": "2023-10-11T07:11:09+00:00" + }, + { + "name": "composer/semver", + "version": "3.4.0", + "source": { + "type": "git", + "url": "https://github.com/composer/semver.git", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", + "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "shasum": "" + }, + "require": { + "php": "^5.3.2 || ^7.0 || ^8.0" + }, + "require-dev": { + "phpstan/phpstan": "^1.4", + "symfony/phpunit-bridge": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Composer\\Semver\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nils Adermann", + "email": "naderman@naderman.de", + "homepage": "http://www.naderman.de" + }, + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + }, + { + "name": "Rob Bast", + "email": "rob.bast@gmail.com", + "homepage": "http://robbast.nl" + } + ], + "description": "Semver library that offers utilities, version constraint parsing and validation.", + "keywords": [ + "semantic", + "semver", + "validation", + "versioning" + ], + "support": { + "irc": "ircs://irc.libera.chat:6697/composer", + "issues": "https://github.com/composer/semver/issues", + "source": "https://github.com/composer/semver/tree/3.4.0" + }, + "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": "2023-08-31T09:50:34+00:00" + }, + { + "name": "composer/xdebug-handler", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/composer/xdebug-handler.git", + "reference": "ced299686f41dce890debac69273b47ffe98a40c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "reference": "ced299686f41dce890debac69273b47ffe98a40c", + "shasum": "" + }, + "require": { + "composer/pcre": "^1 || ^2 || ^3", + "php": "^7.2.5 || ^8.0", + "psr/log": "^1 || ^2 || ^3" + }, + "require-dev": { + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-strict-rules": "^1.1", + "symfony/phpunit-bridge": "^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Composer\\XdebugHandler\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "John Stevenson", + "email": "john-stevenson@blueyonder.co.uk" + } + ], + "description": "Restarts a process without Xdebug.", + "keywords": [ + "Xdebug", + "performance" + ], + "support": { + "irc": "irc://irc.freenode.org/composer", + "issues": "https://github.com/composer/xdebug-handler/issues", + "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" + }, + "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-02-25T21:32:43+00:00" + }, + { + "name": "dnoegel/php-xdg-base-dir", + "version": "v0.1.1", + "source": { + "type": "git", + "url": "https://github.com/dnoegel/php-xdg-base-dir.git", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", + "shasum": "" + }, + "require": { + "php": ">=5.3.2" + }, + "require-dev": { + "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" + }, + "type": "library", + "autoload": { + "psr-4": { + "XdgBaseDir\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "implementation of xdg base directory specification for php", + "support": { + "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", + "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" + }, + "time": "2019-12-04T15:06:13+00:00" + }, + { + "name": "doctrine/deprecations", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/doctrine/deprecations.git", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.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/1.1.2" + }, + "time": "2023-09-27T20:04:15+00:00" + }, + { + "name": "felixfbecker/advanced-json-rpc", + "version": "v3.2.1", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", + "shasum": "" + }, + "require": { + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "php": "^7.1 || ^8.0", + "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" + }, + "require-dev": { + "phpunit/phpunit": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "AdvancedJsonRpc\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "description": "A more advanced JSONRPC implementation", + "support": { + "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", + "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" + }, + "time": "2021-06-11T22:34:44+00:00" + }, + { + "name": "felixfbecker/language-server-protocol", + "version": "v1.5.2", + "source": { + "type": "git", + "url": "https://github.com/felixfbecker/php-language-server-protocol.git", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", + "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "require-dev": { + "phpstan/phpstan": "*", + "squizlabs/php_codesniffer": "^3.1", + "vimeo/psalm": "^4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "LanguageServerProtocol\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "ISC" + ], + "authors": [ + { + "name": "Felix Becker", + "email": "felix.b@outlook.com" + } + ], + "description": "PHP classes for the Language Server Protocol", + "keywords": [ + "language", + "microsoft", + "php", + "server" + ], + "support": { + "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", + "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" + }, + "time": "2022-03-02T22:36:06+00:00" + }, + { + "name": "fidry/cpu-core-counter", + "version": "0.5.1", + "source": { + "type": "git", + "url": "https://github.com/theofidry/cpu-core-counter.git", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "fidry/makefile": "^0.2.0", + "phpstan/extension-installer": "^1.2.0", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-deprecation-rules": "^1.0.0", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.26 || ^8.5.31", + "theofidry/php-cs-fixer-config": "^1.0", + "webmozarts/strict-phpunit": "^7.5" + }, + "type": "library", + "autoload": { + "psr-4": { + "Fidry\\CpuCoreCounter\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "ThĆ©o FIDRY", + "email": "theo.fidry@gmail.com" + } + ], + "description": "Tiny utility to get the number of CPU cores.", + "keywords": [ + "CPU", + "core" + ], + "support": { + "issues": "https://github.com/theofidry/cpu-core-counter/issues", + "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + }, + "funding": [ + { + "url": "https://github.com/theofidry", + "type": "github" + } + ], + "time": "2022-12-24T12:35:10+00:00" + }, + { + "name": "netresearch/jsonmapper", + "version": "v4.2.0", + "source": { + "type": "git", + "url": "https://github.com/cweiske/jsonmapper.git", + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", + "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", + "shasum": "" + }, + "require": { + "ext-json": "*", + "ext-pcre": "*", + "ext-reflection": "*", + "ext-spl": "*", + "php": ">=7.1" + }, + "require-dev": { + "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", + "squizlabs/php_codesniffer": "~3.5" + }, + "type": "library", + "autoload": { + "psr-0": { + "JsonMapper": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "OSL-3.0" + ], + "authors": [ + { + "name": "Christian Weiske", + "email": "cweiske@cweiske.de", + "homepage": "http://github.com/cweiske/jsonmapper/", + "role": "Developer" + } + ], + "description": "Map nested JSON structures onto PHP classes", + "support": { + "email": "cweiske@cweiske.de", + "issues": "https://github.com/cweiske/jsonmapper/issues", + "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" + }, + "time": "2023-04-09T17:37:40+00:00" + }, + { + "name": "nikic/php-parser", + "version": "v4.17.1", + "source": { + "type": "git", + "url": "https://github.com/nikic/PHP-Parser.git", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "shasum": "" + }, + "require": { + "ext-tokenizer": "*", + "php": ">=7.0" + }, + "require-dev": { + "ircmaxell/php-yacc": "^0.0.7", + "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" + }, + "bin": [ + "bin/php-parse" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.9-dev" + } + }, + "autoload": { + "psr-4": { + "PhpParser\\": "lib/PhpParser" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov" + } + ], + "description": "A PHP parser written in PHP", + "keywords": [ + "parser", + "php" + ], + "support": { + "issues": "https://github.com/nikic/PHP-Parser/issues", + "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + }, + "time": "2023-08-13T19:53:39+00:00" + }, + { + "name": "phpdocumentor/reflection-common", + "version": "2.2.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionCommon.git", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jaap van Otterdijk", + "email": "opensource@ijaap.nl" + } + ], + "description": "Common reflection classes used by phpdocumentor to reflect the code structure", + "homepage": "http://www.phpdoc.org", + "keywords": [ + "FQSEN", + "phpDocumentor", + "phpdoc", + "reflection", + "static analysis" + ], + "support": { + "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", + "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" + }, + "time": "2020-06-27T09:03:43+00:00" + }, + { + "name": "phpdocumentor/reflection-docblock", + "version": "5.3.0", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", + "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "shasum": "" + }, + "require": { + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" + }, + "require-dev": { + "mockery/mockery": "~1.3.2", + "psalm/phar": "^4.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" + } + ], + "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/5.3.0" + }, + "time": "2021-10-19T17:43:47+00:00" + }, + { + "name": "phpdocumentor/type-resolver", + "version": "1.7.3", + "source": { + "type": "git", + "url": "https://github.com/phpDocumentor/TypeResolver.git", + "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^1.0", + "php": "^7.4 || ^8.0", + "phpdocumentor/reflection-common": "^2.0", + "phpstan/phpdoc-parser": "^1.13" + }, + "require-dev": { + "ext-tokenizer": "*", + "phpbench/phpbench": "^1.2", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^9.5", + "rector/rector": "^0.13.9", + "vimeo/psalm": "^4.25" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "phpDocumentor\\Reflection\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Mike van Riel", + "email": "me@mikevanriel.com" + } + ], + "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.7.3" + }, + "time": "2023-08-12T11:01:26+00:00" + }, + { + "name": "phpstan/phpdoc-parser", + "version": "1.24.4", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpdoc-parser.git", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "require-dev": { + "doctrine/annotations": "^2.0", + "nikic/php-parser": "^4.15", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^1.5", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.0", + "phpunit/phpunit": "^9.5", + "symfony/process": "^5.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "PHPStan\\PhpDocParser\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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.24.4" + }, + "time": "2023-11-26T18:29:22+00:00" + }, + { + "name": "psr/container", + "version": "1.1.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/1.1.2" + }, + "time": "2021-11-05T16:50:12+00:00" + }, + { + "name": "psr/log", + "version": "1.1.4", + "source": { + "type": "git", + "url": "https://github.com/php-fig/log.git", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", + "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Log\\": "Psr/Log/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for logging libraries", + "homepage": "https://github.com/php-fig/log", + "keywords": [ + "log", + "psr", + "psr-3" + ], + "support": { + "source": "https://github.com/php-fig/log/tree/1.1.4" + }, + "time": "2021-05-03T11:20:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "spatie/array-to-xml", + "version": "2.17.1", + "source": { + "type": "git", + "url": "https://github.com/spatie/array-to-xml.git", + "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", + "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "php": "^7.4|^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.2", + "pestphp/pest": "^1.21", + "phpunit/phpunit": "^9.0", + "spatie/pest-plugin-snapshots": "^1.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\ArrayToXml\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "homepage": "https://freek.dev", + "role": "Developer" + } + ], + "description": "Convert an array to xml", + "homepage": "https://github.com/spatie/array-to-xml", + "keywords": [ + "array", + "convert", + "xml" + ], + "support": { + "source": "https://github.com/spatie/array-to-xml/tree/2.17.1" + }, + "funding": [ + { + "url": "https://spatie.be/open-source/support-us", + "type": "custom" + }, + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2022-12-26T08:22:07+00:00" + }, + { + "name": "symfony/console", + "version": "v5.4.32", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", + "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-mbstring": "~1.0", + "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", + "symfony/lock": "<4.4", + "symfony/process": "<4.4" + }, + "provide": { + "psr/log-implementation": "1.0|2.0" + }, + "require-dev": { + "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", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "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 the creation of beautiful and testable command line interfaces", + "homepage": "https://symfony.com", + "keywords": [ + "cli", + "command-line", + "console", + "terminal" + ], + "support": { + "source": "https://github.com/symfony/console/tree/v5.4.32" + }, + "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": "2023-11-18T18:23:04+00:00" + }, + { + "name": "symfony/deprecation-contracts", + "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "files": [ + "function.php" + ] + }, + "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": "A generic function and convention to trigger deprecation notices", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" + }, + "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/filesystem", + "version": "v5.4.25", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.8", + "symfony/polyfill-php80": "^1.16" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "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": "Provides basic utilities for the filesystem", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/filesystem/tree/v5.4.25" + }, + "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": "2023-05-31T13:04:02+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "support": { + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "875e90aeea2777b6f135677f618529449334a612" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } + }, + "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 for intl's grapheme_* functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-intl-normalizer", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "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 for intl's Normalizer class and related functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "intl", + "normalizer", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "42292d99c55abe617799667f454222c54c60e229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", + "reference": "42292d99c55abe617799667f454222c54c60e229", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "provide": { + "ext-mbstring": "*" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + } + }, + "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 for the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.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": "2023-07-28T09:04:16+00:00" + }, + { + "name": "symfony/polyfill-php73", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "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.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/polyfill-php80", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php80\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "psr/container": "^1.1", + "symfony/deprecation-contracts": "^2.1|^3" + }, + "conflict": { + "ext-psr": "<1.1|>=2" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "2.5-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "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": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "support": { + "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" + }, + "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-05-30T19:17:29+00:00" + }, + { + "name": "symfony/string", + "version": "v5.4.32", + "source": { + "type": "git", + "url": "https://github.com/symfony/string.git", + "reference": "91bf4453d65d8231688a04376c3a40efe0770f04" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/string/zipball/91bf4453d65d8231688a04376c3a40efe0770f04", + "reference": "91bf4453d65d8231688a04376c3a40efe0770f04", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "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|^6.0", + "symfony/http-client": "^4.4|^5.0|^6.0", + "symfony/translation-contracts": "^1.1|^2", + "symfony/var-exporter": "^4.4|^5.0|^6.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/functions.php" + ], + "psr-4": { + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", + "keywords": [ + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" + ], + "support": { + "source": "https://github.com/symfony/string/tree/v5.4.32" + }, + "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": "2023-11-26T13:43:46+00:00" + }, + { + "name": "vimeo/psalm", + "version": "5.17.0", + "source": { + "type": "git", + "url": "https://github.com/vimeo/psalm.git", + "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/c620f6e80d0abfca532b00bda366062aaedf6e5d", + "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d", + "shasum": "" + }, + "require": { + "amphp/amp": "^2.4.2", + "amphp/byte-stream": "^1.5", + "composer-runtime-api": "^2", + "composer/semver": "^1.4 || ^2.0 || ^3.0", + "composer/xdebug-handler": "^2.0 || ^3.0", + "dnoegel/php-xdg-base-dir": "^0.1.1", + "ext-ctype": "*", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-simplexml": "*", + "ext-tokenizer": "*", + "felixfbecker/advanced-json-rpc": "^3.1", + "felixfbecker/language-server-protocol": "^1.5.2", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", + "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", + "nikic/php-parser": "^4.16", + "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", + "sebastian/diff": "^4.0 || ^5.0", + "spatie/array-to-xml": "^2.17.0 || ^3.0", + "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", + "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" + }, + "conflict": { + "nikic/php-parser": "4.17.0" + }, + "provide": { + "psalm/psalm": "self.version" + }, + "require-dev": { + "amphp/phpunit-util": "^2.0", + "bamarni/composer-bin-plugin": "^1.4", + "brianium/paratest": "^6.9", + "ext-curl": "*", + "mockery/mockery": "^1.5", + "nunomaduro/mock-final-classes": "^1.1", + "php-parallel-lint/php-parallel-lint": "^1.2", + "phpstan/phpdoc-parser": "^1.6", + "phpunit/phpunit": "^9.6", + "psalm/plugin-mockery": "^1.1", + "psalm/plugin-phpunit": "^0.18", + "slevomat/coding-standard": "^8.4", + "squizlabs/php_codesniffer": "^3.6", + "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" + }, + "suggest": { + "ext-curl": "In order to send data to shepherd", + "ext-igbinary": "^2.0.5 is required, used to serialize caching data" + }, + "bin": [ + "psalm", + "psalm-language-server", + "psalm-plugin", + "psalm-refactor", + "psalter" + ], + "type": "project", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev", + "dev-4.x": "4.x-dev", + "dev-3.x": "3.x-dev", + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psalm\\": "src/Psalm/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthew Brown" + } + ], + "description": "A static analysis tool for finding errors in PHP applications", + "keywords": [ + "code", + "inspection", + "php", + "static analysis" + ], + "support": { + "docs": "https://psalm.dev/docs", + "issues": "https://github.com/vimeo/psalm/issues", + "source": "https://github.com/vimeo/psalm" + }, + "time": "2023-12-03T20:21:41+00:00" + }, + { + "name": "webmozart/assert", + "version": "1.11.0", + "source": { + "type": "git", + "url": "https://github.com/webmozarts/assert.git", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", + "shasum": "" + }, + "require": { + "ext-ctype": "*", + "php": "^7.2 || ^8.0" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<4.6.1 || 4.6.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.5.13" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.10-dev" + } + }, + "autoload": { + "psr-4": { + "Webmozart\\Assert\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "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.11.0" + }, + "time": "2022-06-03T18:03:27+00:00" + } + ], + "aliases": [], + "minimum-stability": "stable", + "stability-flags": [], + "prefer-stable": false, + "prefer-lowest": false, + "platform": [], + "platform-dev": [], + "plugin-api-version": "2.6.0" +} From ba59fc1f0827df4a8cf090e70d8b24b6fcc548cb Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 14:08:30 +0000 Subject: [PATCH 06/34] chore: moved phpUnit config to root directory --- phpunit.xml.dist | 62 ++++++++++++++++++++++++++++++++---------------- test/phpunit.xml | 36 ---------------------------- 2 files changed, 41 insertions(+), 57 deletions(-) delete mode 100644 test/phpunit.xml diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4373a3312..08bb61ca1 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,23 +1,43 @@ - - - - - - - test - - - - - - - \ No newline at end of file + + + + + + module/Application/src + module/Olcs/src + module/Permits/src + + + module/Olcs/src/Table/ + module/Olcs/src/Form/ + module/Permits/src/Permits/Table/ + module/Permits/src/Permits/Form/ + + + + + ./ + module/Application/test + + + + + + + + 250 + + + 5 + + + + + + diff --git a/test/phpunit.xml b/test/phpunit.xml deleted file mode 100644 index 984b3b870..000000000 --- a/test/phpunit.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - ../module/Application/src - ../module/Olcs/src - ../module/Permits/src - - - ../module/Olcs/src/Table/ - ../module/Olcs/src/Form/ - ../module/Permits/src/Permits/Table/ - ../module/Permits/src/Permits/Form/ - - - - - ./ - ../module/Application/test - - - - - - - - 250 - - - 5 - - - - - - From e7cb69ede2cf5238ec483c4406cdfc7cdf11228f Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 14:11:18 +0000 Subject: [PATCH 07/34] chore(deps): added dev dependencies packages --- composer.json | 47 +- composer.lock | 2727 ++++++++++++++++++++++-------- vendor-bin/phpstan/composer.lock | 10 +- vendor-bin/psalm/composer.lock | 12 +- 4 files changed, 2032 insertions(+), 764 deletions(-) diff --git a/composer.json b/composer.json index aada0c694..9107deaf8 100644 --- a/composer.json +++ b/composer.json @@ -9,6 +9,7 @@ "require-dev": { "laminas/laminas-developer-tools": "*", "phpstan/phpstan": "^0.12.100", + "phpunit/phpunit": "^9.6", "san/san-session-toolbar": "*" }, "autoload": { @@ -24,35 +25,33 @@ "minimum-stability": "dev", "prefer-stable": true, "config": { - "preferred-install": "dist", - "secure-http": false, - "platform": { - "php": "7.4.33" - }, "sort-packages": true, "allow-plugins": { - "laminas/laminas-component-installer": true, + "bamarni/composer-bin-plugin": true, "laminas/laminas-dependency-plugin": true, - "elendev/composer-push": true, - "phpstan/extension-installer": true + "elendev/composer-push": true } }, - "scripts": { - "ut": "vendor/bin/phpunit -c test/phpunit.xml --stop-on-failure", - "review": "vendor/bin/review", - "cs": "vendor/bin/phpcs --severity=1 --standard=vendor/dvsa/coding-standards/src/Profiles/DVSA/CS/ruleset.xml", - "coverage": "vendor/bin/phpunit -c test/phpunit.xml --coverage-html ./test/coverage/html", - "sonar": "vendor/bin/phpunit -c test/phpunit.xml --coverage-clover ./test/coverage/coverage-report.clover --log-junit ./test/coverage/log.junit", - "update-syms": "vendor/bin/composer-update-syms" - }, + "scripts": { + "bin": "echo 'bin not installed'", + "post-install-cmd": [ + "@composer bin all install" + ], + "test": "phpunit", + "phpcs": "phpcs", + "psalm": "psalm", + "phpstan": "phpstan", + "all": [ + "@test", + "@phpcs", + "@psalm", + "@phpstan" + ] + }, "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-selfserve", - "ignore": [ - "test/", - "config/autoload/local.php", - "node_modules/" - ] - } + "bamarni-bin": { + "bin-links": true, + "forward-command": true + } } } diff --git a/composer.lock b/composer.lock index eba93b2c8..be33f3d0b 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": "b940e82b7b810e9ffa78269940e8a7d8", + "content-hash": "0d98483a4f58880917db7bd99ef51b7e", "packages": [ { "name": "brick/varexporter", @@ -339,9 +339,14 @@ { "name": "doctrine/common", "version": "2.13.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/common.git", + "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/common/2.13.3/doctrine-common-2.13.3.zip", + "url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f", "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f", "shasum": "" }, @@ -375,6 +380,7 @@ "Doctrine\\Common\\": "lib/Doctrine/Common" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -481,9 +487,14 @@ { "name": "doctrine/doctrine-module", "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/DoctrineModule.git", + "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/doctrine-module/1.2.0/doctrine-doctrine-module-1.2.0.zip", + "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/9407d04d0b08e7071dab05c9d068cefda9dc5a6f", "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f", "shasum": "" }, @@ -531,6 +542,7 @@ "DoctrineModule\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -677,9 +689,14 @@ { "name": "doctrine/inflector", "version": "1.4.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/doctrine/inflector/1.4.4/doctrine-inflector-1.4.4.zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", "shasum": "" }, @@ -705,6 +722,7 @@ "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1023,9 +1041,14 @@ { "name": "dvsa/laminas-config-cloud-parameters", "version": "v0.1.1", + "source": { + "type": "git", + "url": "https://github.com/dvsa/dvsa-laminas-config-cloud-parameters.git", + "reference": "1cec4e8cdf16bf61c848be45f758697977659c1e" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/dvsa/laminas-config-cloud-parameters/v0.1.1/dvsa-laminas-config-cloud-parameters-v0.1.1.zip", + "url": "https://api.github.com/repos/dvsa/dvsa-laminas-config-cloud-parameters/zipball/1cec4e8cdf16bf61c848be45f758697977659c1e", "reference": "1cec4e8cdf16bf61c848be45f758697977659c1e", "shasum": "" }, @@ -1059,6 +1082,7 @@ "Dvsa\\LaminasConfigCloudParameters\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -1068,67 +1092,17 @@ }, "time": "2023-11-06T10:01:58+00:00" }, - { - "name": "elendev/composer-push", - "version": "1.0.4", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/elendev/composer-push/1.0.4/elendev-composer-push-1.0.4.zip", - "reference": "74cd140d8481b68284291628c37d92e4c7caebbe", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.1|^2.0", - "ext-curl": "*", - "ext-json": "*", - "ext-zip": "*", - "guzzlehttp/guzzle": "^6.0|^7.0", - "php": ">=7.2 || ^8.0", - "symfony/filesystem": "^4.0|^5.0|^6.0", - "symfony/finder": "^4.0|^5.0|^6.0" - }, - "replace": { - "elendev/nexus-composer-push": "*" - }, - "require-dev": { - "composer/composer": "^1.8 || ^2.0", - "friendsofphp/php-cs-fixer": "^2.18|^3.4.0", - "phpunit/phpunit": "^8 || ^9 || ^10" - }, - "suggest": { - "elendev/composer-push": "Replaces the elendev/nexus-composer-push repository, which is deprecated." - }, - "type": "composer-plugin", - "extra": { - "class": "Elendev\\ComposerPush\\Plugin" - }, - "autoload": { - "psr-4": { - "Elendev\\ComposerPush\\": "src/" - } - }, - "license": [ - "Apache-2.0" - ], - "authors": [ - { - "name": "Elendev", - "email": "jonas.renaudot@gmail.com" - } - ], - "description": "Provide a Push command to composer to push to repositories", - "support": { - "issues": "https://github.com/Elendev/composer-push/issues", - "source": "https://github.com/Elendev/composer-push/tree/1.0.4" - }, - "time": "2023-02-21T09:59:18+00:00" - }, { "name": "ezyang/htmlpurifier", "version": "v4.17.0", + "source": { + "type": "git", + "url": "https://github.com/ezyang/htmlpurifier.git", + "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/ezyang/htmlpurifier/v4.17.0/ezyang-htmlpurifier-v4.17.0.zip", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/bbc513d79acf6691fa9cf10f192c90dd2957f18c", "reference": "bbc513d79acf6691fa9cf10f192c90dd2957f18c", "shasum": "" }, @@ -1157,6 +1131,7 @@ "/library/HTMLPurifier/Language/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "LGPL-2.1-or-later" ], @@ -1180,11 +1155,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.9.0", + "version": "v6.10.0", + "source": { + "type": "git", + "url": "https://github.com/firebase/php-jwt.git", + "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/firebase/php-jwt/v6.9.0/firebase-php-jwt-v6.9.0.zip", - "reference": "f03270e63eaccf3019ef0f32849c497385774e11", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", + "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", "shasum": "" }, "require": { @@ -1208,6 +1188,7 @@ "Firebase\\JWT\\": "src" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -1231,316 +1212,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.9.0" - }, - "time": "2023-10-05T00:24:42+00:00" - }, - { - "name": "guzzlehttp/guzzle", - "version": "7.8.0", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/guzzlehttp/guzzle/7.8.0/guzzlehttp-guzzle-7.8.0.zip", - "reference": "1110f66a6530a40fe7aea0378fe608ee2b2248f9", - "shasum": "" - }, - "require": { - "ext-json": "*", - "guzzlehttp/promises": "^1.5.3 || ^2.0.1", - "guzzlehttp/psr7": "^1.9.1 || ^2.5.1", - "php": "^7.2.5 || ^8.0", - "psr/http-client": "^1.0", - "symfony/deprecation-contracts": "^2.2 || ^3.0" - }, - "provide": { - "psr/http-client-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "ext-curl": "*", - "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999", - "php-http/message-factory": "^1.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23", - "psr/log": "^1.1 || ^2.0 || ^3.0" - }, - "suggest": { - "ext-curl": "Required for CURL handler support", - "ext-intl": "Required for Internationalized Domain Name (IDN) support", - "psr/log": "Required for using the Log middleware" - }, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "files": [ - "src/functions_include.php" - ], - "psr-4": { - "GuzzleHttp\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Jeremy Lindblom", - "email": "jeremeamia@gmail.com", - "homepage": "https://github.com/jeremeamia" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "MĆ”rk SĆ”gi-KazĆ”r", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle is a PHP HTTP client library", - "keywords": [ - "client", - "curl", - "framework", - "http", - "http client", - "psr-18", - "psr-7", - "rest", - "web service" - ], - "support": { - "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.8.0" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", - "type": "tidelift" - } - ], - "time": "2023-08-27T10:20:53+00:00" - }, - { - "name": "guzzlehttp/promises", - "version": "2.0.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/guzzlehttp/promises/2.0.1/guzzlehttp-promises-2.0.1.zip", - "reference": "111166291a0f8130081195ac4556a5587d7f1b5d", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" - }, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Promise\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - } - ], - "description": "Guzzle promises library", - "keywords": [ - "promise" - ], - "support": { - "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/2.0.1" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", - "type": "tidelift" - } - ], - "time": "2023-08-03T15:11:55+00:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "2.6.1", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/guzzlehttp/psr7/2.6.1/guzzlehttp-psr7-2.6.1.zip", - "reference": "be45764272e8873c72dbe3d2edcfdfcc3bc9f727", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" - }, - "provide": { - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.1", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.29 || ^9.5.23" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "MĆ”rk SĆ”gi-KazĆ”r", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - }, - { - "name": "MĆ”rk SĆ”gi-KazĆ”r", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" - ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.1" + "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", - "type": "tidelift" - } - ], - "time": "2023-08-27T10:13:57+00:00" + "time": "2023-12-01T16:26:39+00:00" }, { "name": "laminas/laminas-authentication", @@ -1855,9 +1529,14 @@ { "name": "laminas/laminas-config-aggregator", "version": "1.7.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-config-aggregator.git", + "reference": "8f1b66dd825dff95026844bdcf4ea0f5b604e907" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-config-aggregator/1.7.0/laminas-laminas-config-aggregator-1.7.0.zip", + "url": "https://api.github.com/repos/laminas/laminas-config-aggregator/zipball/8f1b66dd825dff95026844bdcf4ea0f5b604e907", "reference": "8f1b66dd825dff95026844bdcf4ea0f5b604e907", "shasum": "" }, @@ -1891,6 +1570,7 @@ "Laminas\\ConfigAggregator\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -3443,9 +3123,14 @@ { "name": "laminas/laminas-paginator", "version": "2.8.2", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-paginator.git", + "reference": "5e53d927776b2d20e420bc2b289fa0c364a6b0bd" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-paginator/2.8.2/laminas-laminas-paginator-2.8.2.zip", + "url": "https://api.github.com/repos/laminas/laminas-paginator/zipball/5e53d927776b2d20e420bc2b289fa0c364a6b0bd", "reference": "5e53d927776b2d20e420bc2b289fa0c364a6b0bd", "shasum": "" }, @@ -3492,6 +3177,7 @@ "Laminas\\Paginator\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -4430,9 +4116,14 @@ { "name": "olcs/olcs-auth", "version": "5.0.0.alpha1", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-auth.git", + "reference": "18c095f2dd4c89da0a7dae8a43588cf002234eef" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/olcs/olcs-auth/5.0.0.alpha1/olcs-olcs-auth-5.0.0.alpha1.zip", + "url": "https://api.github.com/repos/dvsa/olcs-auth/zipball/18c095f2dd4c89da0a7dae8a43588cf002234eef", "reference": "18c095f2dd4c89da0a7dae8a43588cf002234eef", "shasum": "" }, @@ -4469,6 +4160,7 @@ "Dvsa\\Olcs\\Auth\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4481,14 +4173,18 @@ { "name": "olcs/olcs-common", "version": "4.206.514", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-common.git", + "reference": "3de6e57bfac648414e68477f01c080bdabf069b4" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS/olcs/olcs-common/4.206.514/olcs-olcs-common-4.206.514.zip", - "reference": "6a1f7f18fa1bb34a40bc171280bcb4019ccf975f", - "shasum": "6a1f7f18fa1bb34a40bc171280bcb4019ccf975f" + "url": "https://api.github.com/repos/dvsa/olcs-common/zipball/3de6e57bfac648414e68477f01c080bdabf069b4", + "reference": "3de6e57bfac648414e68477f01c080bdabf069b4", + "shasum": "" }, "require": { - "elendev/composer-push": "^1.0.3", "olcs/olcs-laminas": "~2.5.0 || ~3.0.0", "php": ">=7.4" }, @@ -4521,42 +4217,26 @@ "./Common/Module.php" ] }, - "autoload-dev": { - "psr-4": { - "CommonTest\\": "test/Common/src/" - } + "notification-url": "https://packagist.org/downloads/", + "description": "Common library for the OLCS Project", + "support": { + "source": "https://github.com/dvsa/olcs-common/tree/4.206.514" }, - "scripts": { - "ut": [ - "vendor/bin/phpunit -c test/phpunit.xml --stop-on-failure" - ], - "review": [ - "vendor/bin/review" - ], - "cs": [ - "vendor/bin/phpcs --severity=1 --standard=vendor/dvsa/coding-standards/src/Profiles/DVSA/CS/ruleset.xml" - ], - "coverage": [ - "vendor/bin/phpunit -c test/phpunit.xml --coverage-html ./test/coverage/html" - ], - "sonar": [ - "vendor/bin/phpunit -c test/phpunit.xml --coverage-clover ./test/coverage/coverage-report.clover --log-junit ./test/coverage/log.junit" - ], - "update-syms": [ - "vendor/bin/composer-update-syms" - ] - }, - "description": "Common library for the OLCS Project", - "time": "2023-11-30T12:00:25+00:00" + "time": "2023-11-30T11:57:35+00:00" }, { "name": "olcs/olcs-frontend-deps", "version": "4.206.6", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-frontend-deps.git", + "reference": "6c994f5816fc37753e86e707343eed3bf2079e70" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/OLCS/olcs/olcs-frontend-deps/4.206.6/olcs-olcs-frontend-deps-4.206.6.zip", - "reference": "98bfab9e865941e35716aa8fed54e933a1c46905", - "shasum": "98bfab9e865941e35716aa8fed54e933a1c46905" + "url": "https://api.github.com/repos/dvsa/olcs-frontend-deps/zipball/6c994f5816fc37753e86e707343eed3bf2079e70", + "reference": "6c994f5816fc37753e86e707343eed3bf2079e70", + "shasum": "" }, "require": { "doctrine/annotations": "^1.14.2", @@ -4579,8 +4259,12 @@ "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-frontend-deps" } }, + "notification-url": "https://packagist.org/downloads/", "description": "List of front end dependencies, shared between internal and selfserve nodes", - "time": "2023-12-05T14:48:57+00:00" + "support": { + "source": "https://github.com/dvsa/olcs-frontend-deps/tree/4.206.6" + }, + "time": "2023-12-05T14:47:33+00:00" }, { "name": "olcs/olcs-laminas", @@ -4652,9 +4336,14 @@ { "name": "olcs/olcs-logging", "version": "5.0.0.alpha1", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-logging.git", + "reference": "2312891aeb3e67cd17c4fce9dbafe0f0e7c2e099" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/olcs/olcs-logging/5.0.0.alpha1/olcs-olcs-logging-5.0.0.alpha1.zip", + "url": "https://api.github.com/repos/dvsa/olcs-logging/zipball/2312891aeb3e67cd17c4fce9dbafe0f0e7c2e099", "reference": "2312891aeb3e67cd17c4fce9dbafe0f0e7c2e099", "shasum": "" }, @@ -4686,6 +4375,7 @@ "Olcs\\Logging\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -4697,11 +4387,16 @@ }, { "name": "olcs/olcs-transfer", - "version": "5.0.0.alpha1", + "version": "5.0.0-alpha.3", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-transfer.git", + "reference": "d83cd24b3a180167ed17add4a2557dff2d03a460" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/olcs/olcs-transfer/5.0.0.alpha1/olcs-olcs-transfer-5.0.0.alpha1.zip", - "reference": "9d457fdb8d4bac53e7d484021c3d952979b12109", + "url": "https://api.github.com/repos/dvsa/olcs-transfer/zipball/d83cd24b3a180167ed17add4a2557dff2d03a460", + "reference": "d83cd24b3a180167ed17add4a2557dff2d03a460", "shasum": "" }, "require": { @@ -4735,18 +4430,24 @@ "Dvsa\\Olcs\\Transfer\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "description": "OLCS Transfer", "support": { - "source": "https://github.com/dvsa/olcs-transfer/tree/5.0.0.alpha1" + "source": "https://github.com/dvsa/olcs-transfer/tree/5.0.0-alpha.3" }, - "time": "2023-12-01T11:59:16+00:00" + "time": "2023-12-13T13:42:29+00:00" }, { "name": "olcs/olcs-utils", "version": "5.0.0.alpha1", + "source": { + "type": "git", + "url": "https://github.com/dvsa/olcs-utils.git", + "reference": "82b2c2986397dfc8b5e615b48259747fb28ca1a8" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/olcs/olcs-utils/5.0.0.alpha1/olcs-olcs-utils-5.0.0.alpha1.zip", + "url": "https://api.github.com/repos/dvsa/olcs-utils/zipball/82b2c2986397dfc8b5e615b48259747fb28ca1a8", "reference": "82b2c2986397dfc8b5e615b48259747fb28ca1a8", "shasum": "" }, @@ -4780,6 +4481,7 @@ "Dvsa\\Olcs\\Utils\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "description": "OLCS Utils", "support": { "source": "https://github.com/dvsa/olcs-utils/tree/5.0.0.alpha1" @@ -4883,101 +4585,6 @@ }, "time": "2021-11-05T16:50:12+00:00" }, - { - "name": "psr/http-client", - "version": "1.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/http-client/1.0.3/psr-http-client-1.0.3.zip", - "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", - "shasum": "" - }, - "require": { - "php": "^7.0 || ^8.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Client\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for HTTP clients", - "homepage": "https://github.com/php-fig/http-client", - "keywords": [ - "http", - "http-client", - "psr", - "psr-18" - ], - "support": { - "source": "https://github.com/php-fig/http-client" - }, - "time": "2023-09-23T14:17:50+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.0.2", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/psr/http-factory/1.0.2/psr-http-factory-1.0.2.zip", - "reference": "e616d01114759c4c489f93b099585439f795fe35", - "shasum": "" - }, - "require": { - "php": ">=7.0.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" - }, - "time": "2023-04-10T20:10:41+00:00" - }, { "name": "psr/http-message", "version": "1.1", @@ -5132,50 +4739,17 @@ }, "time": "2017-10-23T01:57:42+00:00" }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/ralouphie/getallheaders/3.0.3/ralouphie-getallheaders-3.0.3.zip", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" - }, - "time": "2019-03-08T08:55:37+00:00" - }, { "name": "soflomo/purifier", "version": "1.0.2", + "source": { + "type": "git", + "url": "https://github.com/juriansluiman/Soflomo-Purifier.git", + "reference": "9302c64d0f2853e3486ff6b619a90083674136b4" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/soflomo/purifier/1.0.2/soflomo-purifier-1.0.2.zip", + "url": "https://api.github.com/repos/juriansluiman/Soflomo-Purifier/zipball/9302c64d0f2853e3486ff6b619a90083674136b4", "reference": "9302c64d0f2853e3486ff6b619a90083674136b4", "shasum": "" }, @@ -5217,6 +4791,7 @@ "Soflomo\\Purifier\\": "src/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], @@ -5250,9 +4825,14 @@ { "name": "symfony/console", "version": "v3.4.47", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/console/v3.4.47/symfony-console-v3.4.47.zip", + "url": "https://api.github.com/repos/symfony/console/zipball/a10b1da6fc93080c180bba7219b5ff5b7518fe81", "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81", "shasum": "" }, @@ -5291,6 +4871,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5328,9 +4909,14 @@ { "name": "symfony/debug", "version": "v4.4.44", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "1a692492190773c5310bc7877cb590c04c2f05be" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/debug/v4.4.44/symfony-debug-v4.4.44.zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/1a692492190773c5310bc7877cb590c04c2f05be", "reference": "1a692492190773c5310bc7877cb590c04c2f05be", "shasum": "" }, @@ -5353,6 +4939,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5390,11 +4977,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v5.4.32", + "version": "v5.4.33", + "source": { + "type": "git", + "url": "https://github.com/symfony/dependency-injection.git", + "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/dependency-injection/v5.4.32/symfony-dependency-injection-v5.4.32.zip", - "reference": "d5d48f215ed73f7973d01256b9a2fac729bef759", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/14969a558cd6382b2a12b14b20ef9a851a02da79", + "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79", "shasum": "" }, "require": { @@ -5437,6 +5029,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5453,7 +5046,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.32" + "source": "https://github.com/symfony/dependency-injection/tree/v5.4.33" }, "funding": [ { @@ -5469,14 +5062,19 @@ "type": "tidelift" } ], - "time": "2023-11-29T06:58:28+00:00" + "time": "2023-11-30T08:15:37+00:00" }, { "name": "symfony/deprecation-contracts", "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/deprecation-contracts.git", + "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/deprecation-contracts/v2.5.2/symfony-deprecation-contracts-v2.5.2.zip", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", "shasum": "" }, @@ -5498,6 +5096,7 @@ "function.php" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5535,9 +5134,14 @@ { "name": "symfony/filesystem", "version": "v5.4.25", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/filesystem/v5.4.25/symfony-filesystem-v5.4.25.zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", "shasum": "" }, @@ -5556,6 +5160,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5590,69 +5195,17 @@ ], "time": "2023-05-31T13:04:02+00:00" }, - { - "name": "symfony/finder", - "version": "v5.4.27", - "dist": { - "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/finder/v5.4.27/symfony-finder-v5.4.27.zip", - "reference": "ff4bce3c33451e7ec778070e45bd23f74214cd5d", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Finder\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Finds files and directories via an intuitive fluent interface", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.27" - }, - "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": "2023-07-31T08:02:31+00:00" - }, { "name": "symfony/lock", "version": "v5.4.32", + "source": { + "type": "git", + "url": "https://github.com/symfony/lock.git", + "reference": "a6d7d829f4907134775a0e1b162780e61f80ed87" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/lock/v5.4.32/symfony-lock-v5.4.32.zip", + "url": "https://api.github.com/repos/symfony/lock/zipball/a6d7d829f4907134775a0e1b162780e61f80ed87", "reference": "a6d7d829f4907134775a0e1b162780e61f80ed87", "shasum": "" }, @@ -5678,6 +5231,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -5967,9 +5521,14 @@ { "name": "symfony/polyfill-php80", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-php80/v1.28.0/symfony-polyfill-php80-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", "shasum": "" }, @@ -5997,6 +5556,7 @@ "Resources/stubs" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -6044,9 +5604,14 @@ { "name": "symfony/polyfill-php81", "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php81.git", + "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/polyfill-php81/v1.28.0/symfony-polyfill-php81-v1.28.0.zip", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/7581cd600fa9fd681b797d00b02f068e2f13263b", "reference": "7581cd600fa9fd681b797d00b02f068e2f13263b", "shasum": "" }, @@ -6074,6 +5639,7 @@ "Resources/stubs" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -6117,9 +5683,14 @@ { "name": "symfony/service-contracts", "version": "v2.5.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/service-contracts/v2.5.2/symfony-service-contracts-v2.5.2.zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "" }, @@ -6149,6 +5720,7 @@ "Symfony\\Contracts\\Service\\": "" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -6358,188 +5930,1832 @@ ], "packages-dev": [ { - "name": "laminas/laminas-developer-tools", - "version": "2.0.3", + "name": "doctrine/instantiator", + "version": "1.5.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/laminas/laminas-developer-tools/2.0.3/laminas-laminas-developer-tools-2.0.3.zip", - "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-modulemanager": "^2.7", - "laminas/laminas-mvc": "^2.7 || ^3.0.1", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-view": "^2.6", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0", - "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" - }, - "replace": { - "zendframework/zend-developer-tools": "^2.0.0" + "php": "^7.1 || ^8.0" }, "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" - }, - "suggest": { - "aist/aist-git-tools": "Show you information about current GIT repository", - "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", - "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", - "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", - "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", - "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", - "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" + "doctrine/coding-standard": "^9 || ^11", + "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.30 || ^5.4" }, "type": "library", - "extra": { - "laminas": { - "module": "Laminas\\DeveloperTools" - } - }, "autoload": { "psr-4": { - "Laminas\\DeveloperTools\\": "src/" + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" } }, + "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], - "description": "Module for developer and debug tools for use with laminas-mvc applications.", - "homepage": "https://laminas.dev", - "keywords": [ - "debug", + "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.5.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": "2022-12-30T00:15:36+00:00" + }, + { + "name": "laminas/laminas-developer-tools", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-developer-tools.git", + "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-developer-tools/zipball/f6a6cfe65a36f9284e106381d002c216be6df0bc", + "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", + "shasum": "" + }, + "require": { + "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", + "laminas/laminas-modulemanager": "^2.7", + "laminas/laminas-mvc": "^2.7 || ^3.0.1", + "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", + "laminas/laminas-stdlib": "^2.7 || ^3.0", + "laminas/laminas-view": "^2.6", + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^5.6 || ^7.0", + "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" + }, + "replace": { + "zendframework/zend-developer-tools": "^2.0.0" + }, + "require-dev": { + "laminas/laminas-coding-standard": "~1.0.0", + "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" + }, + "suggest": { + "aist/aist-git-tools": "Show you information about current GIT repository", + "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", + "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", + "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", + "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", + "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", + "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" + }, + "type": "library", + "extra": { + "laminas": { + "module": "Laminas\\DeveloperTools" + } + }, + "autoload": { + "psr-4": { + "Laminas\\DeveloperTools\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Module for developer and debug tools for use with laminas-mvc applications.", + "homepage": "https://laminas.dev", + "keywords": [ + "debug", "developer", "laminas", "module" ], "support": { - "chat": "https://laminas.dev/chat", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-developer-tools/issues", - "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", - "source": "https://github.com/laminas/laminas-developer-tools" + "chat": "https://laminas.dev/chat", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-developer-tools/issues", + "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", + "source": "https://github.com/laminas/laminas-developer-tools" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-11-02T03:12:47+00:00" + }, + { + "name": "myclabs/deep-copy", + "version": "1.11.1", + "source": { + "type": "git", + "url": "https://github.com/myclabs/DeepCopy.git", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/collections": "<1.6.8", + "doctrine/common": "<2.13.3 || >=3,<3.2.2" + }, + "require-dev": { + "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": { + "files": [ + "src/DeepCopy/deep_copy.php" + ], + "psr-4": { + "DeepCopy\\": "src/DeepCopy/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Create deep copies (clones) of your objects", + "keywords": [ + "clone", + "copy", + "duplicate", + "object", + "object graph" + ], + "support": { + "issues": "https://github.com/myclabs/DeepCopy/issues", + "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + }, + "funding": [ + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/deep-copy", + "type": "tidelift" + } + ], + "time": "2023-03-08T13:26:56+00:00" + }, + { + "name": "phar-io/manifest", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/phar-io/manifest.git", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/97803eca37d319dfa7826cc2437fc020857acb53", + "reference": "97803eca37d319dfa7826cc2437fc020857acb53", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-phar": "*", + "ext-xmlwriter": "*", + "phar-io/version": "^3.0.1", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "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/2.0.3" + }, + "time": "2021-07-20T11:28:43+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "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.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "phpstan/phpstan", + "version": "0.12.100", + "source": { + "type": "git", + "url": "https://github.com/phpstan/phpstan.git", + "reference": "48236ddf823547081b2b153d1cd2994b784328c3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/48236ddf823547081b2b153d1cd2994b784328c3", + "reference": "48236ddf823547081b2b153d1cd2994b784328c3", + "shasum": "" + }, + "require": { + "php": "^7.1|^8.0" + }, + "conflict": { + "phpstan/phpstan-shim": "*" + }, + "bin": [ + "phpstan", + "phpstan.phar" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "0.12-dev" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "PHPStan - PHP Static Analysis Tool", + "support": { + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/0.12.100" + }, + "funding": [ + { + "url": "https://github.com/ondrejmirtes", + "type": "github" + }, + { + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", + "type": "tidelift" + } + ], + "time": "2022-11-01T09:52:08+00:00" + }, + { + "name": "phpunit/php-code-coverage", + "version": "9.2.29", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-code-coverage.git", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-libxml": "*", + "ext-xmlwriter": "*", + "nikic/php-parser": "^4.15", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.3", + "phpunit/php-text-template": "^2.0.2", + "sebastian/code-unit-reverse-lookup": "^2.0.2", + "sebastian/complexity": "^2.0", + "sebastian/environment": "^5.1.2", + "sebastian/lines-of-code": "^1.0.3", + "sebastian/version": "^3.0.1", + "theseer/tokenizer": "^1.2.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcov": "PHP extension that provides line coverage", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.2-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library that provides collection, processing, and rendering functionality for PHP code coverage information.", + "homepage": "https://github.com/sebastianbergmann/php-code-coverage", + "keywords": [ + "coverage", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-09-19T04:57:46+00:00" + }, + { + "name": "phpunit/php-file-iterator", + "version": "3.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-file-iterator.git", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "FilterIterator implementation that filters files based on a list of suffixes.", + "homepage": "https://github.com/sebastianbergmann/php-file-iterator/", + "keywords": [ + "filesystem", + "iterator" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2021-12-02T12:48:52+00:00" + }, + { + "name": "phpunit/php-invoker", + "version": "3.1.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-invoker.git", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "ext-pcntl": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-pcntl": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Invoke callables with a timeout", + "homepage": "https://github.com/sebastianbergmann/php-invoker/", + "keywords": [ + "process" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:58:55+00:00" + }, + { + "name": "phpunit/php-text-template", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-text-template.git", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Simple template engine.", + "homepage": "https://github.com/sebastianbergmann/php-text-template/", + "keywords": [ + "template" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T05:33:50+00:00" + }, + { + "name": "phpunit/php-timer", + "version": "5.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/php-timer.git", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Utility class for timing", + "homepage": "https://github.com/sebastianbergmann/php-timer/", + "keywords": [ + "timer" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:16:10+00:00" + }, + { + "name": "phpunit/phpunit", + "version": "9.6.15", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/phpunit.git", + "reference": "05017b80304e0eb3f31d90194a563fd53a6021f1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/05017b80304e0eb3f31d90194a563fd53a6021f1", + "reference": "05017b80304e0eb3f31d90194a563fd53a6021f1", + "shasum": "" + }, + "require": { + "doctrine/instantiator": "^1.3.1 || ^2", + "ext-dom": "*", + "ext-json": "*", + "ext-libxml": "*", + "ext-mbstring": "*", + "ext-xml": "*", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.10.1", + "phar-io/manifest": "^2.0.3", + "phar-io/version": "^3.0.2", + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.28", + "phpunit/php-file-iterator": "^3.0.5", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.3", + "phpunit/php-timer": "^5.0.2", + "sebastian/cli-parser": "^1.0.1", + "sebastian/code-unit": "^1.0.6", + "sebastian/comparator": "^4.0.8", + "sebastian/diff": "^4.0.3", + "sebastian/environment": "^5.1.3", + "sebastian/exporter": "^4.0.5", + "sebastian/global-state": "^5.0.1", + "sebastian/object-enumerator": "^4.0.3", + "sebastian/resource-operations": "^3.0.3", + "sebastian/type": "^3.2", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" + }, + "bin": [ + "phpunit" + ], + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "9.6-dev" + } + }, + "autoload": { + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", + "keywords": [ + "phpunit", + "testing", + "xunit" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.15" + }, + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2023-12-01T16:55:19+00:00" + }, + { + "name": "san/san-session-toolbar", + "version": "1.0.12", + "source": { + "type": "git", + "url": "https://github.com/samsonasik/SanSessionToolbar.git", + "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/samsonasik/SanSessionToolbar/zipball/8dcabb057041ee80c258795ca2ce1a736367e8df", + "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0", + "zendframework/zend-json": "^2.5 || ^3.0", + "zendframework/zend-session": "^2.8.4" + }, + "require-dev": { + "container-interop/container-interop": "^1.1", + "zendframework/zend-developer-tools": "^1.0.0 || ^1.1.0", + "zendframework/zend-i18n": "^2.5", + "zendframework/zend-log": "^2.5", + "zendframework/zend-serializer": "^2.5", + "zendframework/zend-test": "^2.5", + "zendframework/zend-view": "^2.5" + }, + "suggest": { + "ext-xdebug": "For better output format of session data, Xdebug should already installed", + "zendframework/zend-mvc-plugin-flashmessenger": "^1.0 for zend-mvc ^3.0 usage to be able to use flashMessenger" + }, + "type": "library", + "autoload": { + "psr-4": { + "SanSessionToolbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Abdul Malik Ikhsan", + "email": "samsonasik@gmail.com", + "homepage": "http://samsonasik.wordpress.com", + "role": "Developer" + } + ], + "description": "ZF2/ZF3 Session Toolbar for ZendDeveloperTools ", + "homepage": "https://github.com/samsonasik/SanSessionToolbar", + "keywords": [ + "session", + "zf2", + "zf3" + ], + "support": { + "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", + "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" + }, + "time": "2018-01-31T23:17:00+00:00" + }, + { + "name": "sebastian/cli-parser", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/cli-parser.git", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "reference": "442e7c7e687e42adc03470c7b668bc4b2402c0b2", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for parsing CLI options", + "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:08:49+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" + }, + { + "name": "sebastian/comparator", + "version": "4.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/comparator.git", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@2bepublished.at" + } + ], + "description": "Provides the functionality to compare PHP values for equality", + "homepage": "https://github.com/sebastianbergmann/comparator", + "keywords": [ + "comparator", + "compare", + "equality" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T12:41:17+00:00" + }, + { + "name": "sebastian/complexity", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/complexity.git", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", + "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.7", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for calculating the complexity of PHP code units", + "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T15:52:27+00:00" + }, + { + "name": "sebastian/diff", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/diff.git", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Kore Nordmann", + "email": "mail@kore-nordmann.de" + } + ], + "description": "Diff implementation", + "homepage": "https://github.com/sebastianbergmann/diff", + "keywords": [ + "diff", + "udiff", + "unidiff", + "unified diff" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-05-07T05:35:17+00:00" + }, + { + "name": "sebastian/environment", + "version": "5.1.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/environment.git", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-posix": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.1-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides functionality to handle HHVM/PHP environments", + "homepage": "http://www.github.com/sebastianbergmann/environment", + "keywords": [ + "Xdebug", + "environment", + "hhvm" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:03:51+00:00" + }, + { + "name": "sebastian/exporter", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/exporter.git", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, + { + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" + }, + { + "name": "Volker Dusch", + "email": "github@wallbash.com" + }, + { + "name": "Adam Harvey", + "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + } + ], + "description": "Provides the functionality to export PHP variables for visualization", + "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.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2022-09-14T06:03:37+00:00" + }, + { + "name": "sebastian/global-state", + "version": "5.0.6", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/global-state.git", + "reference": "bde739e7565280bda77be70044ac1047bc007e34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/bde739e7565280bda77be70044ac1047bc007e34", + "reference": "bde739e7565280bda77be70044ac1047bc007e34", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "ext-dom": "*", + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Snapshotting of global state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", + "keywords": [ + "global state" + ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.6" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-08-02T09:26:13+00:00" + }, + { + "name": "sebastian/lines-of-code", + "version": "1.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/lines-of-code.git", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^4.6", + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Library for counting the lines of code in PHP source code", + "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-11-28T06:42:11+00:00" + }, + { + "name": "sebastian/object-enumerator", + "version": "4.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-enumerator.git", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Traverses array structures and object graphs to enumerate all referenced objects", + "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" + "url": "https://github.com/sebastianbergmann", + "type": "github" } ], - "time": "2020-11-02T03:12:47+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { - "name": "phpstan/phpstan", - "version": "0.12.100", + "name": "sebastian/object-reflector", + "version": "2.0.4", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/object-reflector.git", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/phpstan/phpstan/0.12.100/phpstan-phpstan-0.12.100.zip", - "reference": "48236ddf823547081b2b153d1cd2994b784328c3", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": "^7.1|^8.0" + "php": ">=7.3" }, - "conflict": { - "phpstan/phpstan-shim": "*" + "require-dev": { + "phpunit/phpunit": "^9.3" }, - "bin": [ - "phpstan", - "phpstan.phar" - ], "type": "library", "extra": { "branch-alias": { - "dev-master": "0.12-dev" + "dev-master": "2.0-dev" } }, "autoload": { - "files": [ - "bootstrap.php" + "classmap": [ + "src/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "PHPStan - PHP Static Analysis Tool", + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Allows reflection of object attributes, including inherited and non-public ones", + "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.100" + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { - "url": "https://github.com/ondrejmirtes", + "url": "https://github.com/sebastianbergmann", "type": "github" + } + ], + "time": "2020-10-26T13:14:26+00:00" + }, + { + "name": "sebastian/recursion-context", + "version": "4.0.5", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/recursion-context.git", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "reference": "e75bd0f07204fec2a0af9b0f3cfe97d05f92efc1", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" }, { - "url": "https://github.com/phpstan", - "type": "github" + "name": "Jeff Welch", + "email": "whatthejeff@gmail.com" }, { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" + "name": "Adam Harvey", + "email": "aharvey@php.net" } ], - "time": "2022-11-01T09:52:08+00:00" + "description": "Provides functionality to recursively process PHP variables", + "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:07:39+00:00" }, { - "name": "san/san-session-toolbar", - "version": "1.0.12", + "name": "sebastian/resource-operations", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/san/san-session-toolbar/1.0.12/san-san-session-toolbar-1.0.12.zip", - "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", + "reference": "0f4443cb3a1d92ce809899753bc0d5d5a8dd19a8", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0", - "zendframework/zend-json": "^2.5 || ^3.0", - "zendframework/zend-session": "^2.8.4" + "php": ">=7.3" }, "require-dev": { - "container-interop/container-interop": "^1.1", - "zendframework/zend-developer-tools": "^1.0.0 || ^1.1.0", - "zendframework/zend-i18n": "^2.5", - "zendframework/zend-log": "^2.5", - "zendframework/zend-serializer": "^2.5", - "zendframework/zend-test": "^2.5", - "zendframework/zend-view": "^2.5" - }, - "suggest": { - "ext-xdebug": "For better output format of session data, Xdebug should already installed", - "zendframework/zend-mvc-plugin-flashmessenger": "^1.0 for zend-mvc ^3.0 usage to be able to use flashMessenger" + "phpunit/phpunit": "^9.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, "autoload": { - "psr-4": { - "SanSessionToolbar\\": "src/" + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + } + ], + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", + "support": { + "issues": "https://github.com/sebastianbergmann/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:45:17+00:00" + }, + { + "name": "sebastian/type", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.2-dev" } }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "Abdul Malik Ikhsan", - "email": "samsonasik@gmail.com", - "homepage": "http://samsonasik.wordpress.com", - "role": "Developer" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "ZF2/ZF3 Session Toolbar for ZendDeveloperTools ", - "homepage": "https://github.com/samsonasik/SanSessionToolbar", - "keywords": [ - "session", - "zf2", - "zf3" + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "support": { + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2023-02-03T06:13:03+00:00" + }, + { + "name": "sebastian/version", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", - "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, - "time": "2018-01-31T23:17:00+00:00" + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T06:39:44+00:00" }, { "name": "symfony/polyfill-php72", @@ -6620,9 +7836,14 @@ { "name": "symfony/var-dumper", "version": "v4.4.47", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "1069c7a3fca74578022fab6f81643248d02f8e63" + }, "dist": { "type": "zip", - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/Packagist-Proxy/symfony/var-dumper/v4.4.47/symfony-var-dumper-v4.4.47.zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1069c7a3fca74578022fab6f81643248d02f8e63", "reference": "1069c7a3fca74578022fab6f81643248d02f8e63", "shasum": "" }, @@ -6662,6 +7883,7 @@ "/Tests/" ] }, + "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], @@ -6699,6 +7921,56 @@ } ], "time": "2022-10-03T15:15:11+00:00" + }, + { + "name": "theseer/tokenizer", + "version": "1.2.2", + "source": { + "type": "git", + "url": "https://github.com/theseer/tokenizer.git", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "reference": "b2ad5003ca10d4ee50a12da31de12a5774ba6b96", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "ext-tokenizer": "*", + "ext-xmlwriter": "*", + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + } + ], + "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/1.2.2" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2023-11-20T00:12:19+00:00" } ], "aliases": [], @@ -6710,8 +7982,5 @@ "php": ">=7.4" }, "platform-dev": [], - "platform-overrides": { - "php": "7.4.33" - }, "plugin-api-version": "2.6.0" } diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock index 2a2d200c4..fa11bfb2a 100644 --- a/vendor-bin/phpstan/composer.lock +++ b/vendor-bin/phpstan/composer.lock @@ -9,16 +9,16 @@ "packages-dev": [ { "name": "phpstan/phpstan", - "version": "1.10.47", + "version": "1.10.50", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39" + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", - "reference": "84dbb33b520ea28b6cf5676a3941f4bae1c1ff39", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", + "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", "shasum": "" }, "require": { @@ -67,7 +67,7 @@ "type": "tidelift" } ], - "time": "2023-12-01T15:19:17+00:00" + "time": "2023-12-13T10:59:42+00:00" } ], "aliases": [], diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index 21ade476e..f2f233a4d 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -690,16 +690,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.17.1", + "version": "v4.18.0", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d" + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", - "reference": "a6303e50c90c355c7eeee2c4a8b27fe8dc8fef1d", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999", + "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999", "shasum": "" }, "require": { @@ -740,9 +740,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.17.1" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" }, - "time": "2023-08-13T19:53:39+00:00" + "time": "2023-12-10T21:03:43+00:00" }, { "name": "phpdocumentor/reflection-common", From 9542d54c5d4c9aad5e68808c0d8aae1f1cb16f94 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 14:43:06 +0000 Subject: [PATCH 08/34] chore(deps): update PSR-4 autoloading configuration --- composer.json | 7 +++ composer.lock | 136 ++++++++++++++++++++++++++++++++++++++++++++++- phpunit.xml.dist | 16 +----- 3 files changed, 143 insertions(+), 16 deletions(-) diff --git a/composer.json b/composer.json index 9107deaf8..97304a016 100644 --- a/composer.json +++ b/composer.json @@ -8,6 +8,7 @@ }, "require-dev": { "laminas/laminas-developer-tools": "*", + "mockery/mockery": "^1.6", "phpstan/phpstan": "^0.12.100", "phpunit/phpunit": "^9.6", "san/san-session-toolbar": "*" @@ -22,6 +23,12 @@ "Common\\": "vendor/olcs/olcs-common/Common/src/Common" } }, + "autoload-dev": { + "psr-4": { + "OlcsTest\\": "test/Olcs/src", + "Permits\\": "test/Permits/src" + } + }, "minimum-stability": "dev", "prefer-stable": true, "config": { diff --git a/composer.lock b/composer.lock index be33f3d0b..7487dd7b1 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": "0d98483a4f58880917db7bd99ef51b7e", + "content-hash": "104762f69b43b34b2a3eb6f65205eff5", "packages": [ { "name": "brick/varexporter", @@ -5999,6 +5999,57 @@ ], "time": "2022-12-30T00:15:36+00:00" }, + { + "name": "hamcrest/hamcrest-php", + "version": "v2.0.1", + "source": { + "type": "git", + "url": "https://github.com/hamcrest/hamcrest-php.git", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/hamcrest/hamcrest-php/zipball/8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "reference": "8c3d0a3f6af734494ad8f6fbbee0ba92422859f3", + "shasum": "" + }, + "require": { + "php": "^5.3|^7.0|^8.0" + }, + "replace": { + "cordoval/hamcrest-php": "*", + "davedevelopment/hamcrest-php": "*", + "kodova/hamcrest-php": "*" + }, + "require-dev": { + "phpunit/php-file-iterator": "^1.4 || ^2.0", + "phpunit/phpunit": "^4.8.36 || ^5.7 || ^6.5 || ^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1-dev" + } + }, + "autoload": { + "classmap": [ + "hamcrest" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "This is the PHP port of Hamcrest Matchers", + "keywords": [ + "test" + ], + "support": { + "issues": "https://github.com/hamcrest/hamcrest-php/issues", + "source": "https://github.com/hamcrest/hamcrest-php/tree/v2.0.1" + }, + "time": "2020-07-09T08:09:16+00:00" + }, { "name": "laminas/laminas-developer-tools", "version": "2.0.3", @@ -6078,6 +6129,89 @@ ], "time": "2020-11-02T03:12:47+00:00" }, + { + "name": "mockery/mockery", + "version": "1.6.7", + "source": { + "type": "git", + "url": "https://github.com/mockery/mockery.git", + "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/mockery/mockery/zipball/0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", + "reference": "0cc058854b3195ba21dc6b1f7b1f60f4ef3a9c06", + "shasum": "" + }, + "require": { + "hamcrest/hamcrest-php": "^2.0.1", + "lib-pcre": ">=7.0", + "php": ">=7.3" + }, + "conflict": { + "phpunit/phpunit": "<8.0" + }, + "require-dev": { + "phpunit/phpunit": "^8.5 || ^9.6.10", + "symplify/easy-coding-standard": "^12.0.8" + }, + "type": "library", + "autoload": { + "files": [ + "library/helpers.php", + "library/Mockery.php" + ], + "psr-4": { + "Mockery\\": "library/Mockery" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "PĆ”draic Brady", + "email": "padraic.brady@gmail.com", + "homepage": "https://github.com/padraic", + "role": "Author" + }, + { + "name": "Dave Marshall", + "email": "dave.marshall@atstsolutions.co.uk", + "homepage": "https://davedevelopment.co.uk", + "role": "Developer" + }, + { + "name": "Nathanael Esayeas", + "email": "nathanael.esayeas@protonmail.com", + "homepage": "https://github.com/ghostwriter", + "role": "Lead Developer" + } + ], + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", + "keywords": [ + "BDD", + "TDD", + "library", + "mock", + "mock objects", + "mockery", + "stub", + "test", + "test double", + "testing" + ], + "support": { + "docs": "https://docs.mockery.io/", + "issues": "https://github.com/mockery/mockery/issues", + "rss": "https://github.com/mockery/mockery/releases.atom", + "security": "https://github.com/mockery/mockery/security/advisories", + "source": "https://github.com/mockery/mockery" + }, + "time": "2023-12-10T02:24:34+00:00" + }, { "name": "myclabs/deep-copy", "version": "1.11.1", diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 08bb61ca1..4fde25a8a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -7,23 +7,9 @@ - - - module/Application/src - module/Olcs/src - module/Permits/src - - - module/Olcs/src/Table/ - module/Olcs/src/Form/ - module/Permits/src/Permits/Table/ - module/Permits/src/Permits/Form/ - - - ./ - module/Application/test + test From ed275f02abbd6792feba55a27f6e9973ce874164 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 14:57:22 +0000 Subject: [PATCH 09/34] chore(tests): update namespace in test files --- composer.json | 1 + composer.lock | 54 ++++++++++++++++++- .../Auth/LoginControllerFactoryTest.php | 4 +- .../Controller/Auth/LoginControllerTest.php | 4 +- 4 files changed, 58 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 97304a016..ff2acc78c 100644 --- a/composer.json +++ b/composer.json @@ -7,6 +7,7 @@ "olcs/olcs-frontend-deps": "~4.206.0" }, "require-dev": { + "johnkary/phpunit-speedtrap": "^4.0", "laminas/laminas-developer-tools": "*", "mockery/mockery": "^1.6", "phpstan/phpstan": "^0.12.100", diff --git a/composer.lock b/composer.lock index 7487dd7b1..0d227044b 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": "104762f69b43b34b2a3eb6f65205eff5", + "content-hash": "4fb5a08157a2e572b6a4d4085ddfbfb2", "packages": [ { "name": "brick/varexporter", @@ -6050,6 +6050,58 @@ }, "time": "2020-07-09T08:09:16+00:00" }, + { + "name": "johnkary/phpunit-speedtrap", + "version": "v4.0.1", + "source": { + "type": "git", + "url": "https://github.com/johnkary/phpunit-speedtrap.git", + "reference": "d6600d2218396b78856c335f83479503957a5fa9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/johnkary/phpunit-speedtrap/zipball/d6600d2218396b78856c335f83479503957a5fa9", + "reference": "d6600d2218396b78856c335f83479503957a5fa9", + "shasum": "" + }, + "require": { + "php": ">=7.1", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.0-dev" + } + }, + "autoload": { + "psr-4": { + "JohnKary\\PHPUnit\\Listener\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "John Kary", + "email": "john@johnkary.net" + } + ], + "description": "Find and report on slow tests in your PHPUnit test suite", + "homepage": "https://github.com/johnkary/phpunit-speedtrap", + "keywords": [ + "phpunit", + "profile", + "slow" + ], + "support": { + "issues": "https://github.com/johnkary/phpunit-speedtrap/issues", + "source": "https://github.com/johnkary/phpunit-speedtrap/tree/v4.0.1" + }, + "time": "2022-10-17T00:56:56+00:00" + }, { "name": "laminas/laminas-developer-tools", "version": "2.0.3", diff --git a/test/Olcs/src/Controller/Auth/LoginControllerFactoryTest.php b/test/Olcs/src/Controller/Auth/LoginControllerFactoryTest.php index 8704b8a96..8946de34c 100644 --- a/test/Olcs/src/Controller/Auth/LoginControllerFactoryTest.php +++ b/test/Olcs/src/Controller/Auth/LoginControllerFactoryTest.php @@ -15,8 +15,8 @@ use Olcs\Auth\Adapter\SelfserveCommandAdapter; use Olcs\Controller\Auth\LoginController; use Olcs\Controller\Auth\LoginControllerFactory; -use Olcs\TestHelpers\MockeryTestCase; -use Olcs\TestHelpers\Service\MocksServicesTrait; +use Mockery\Adapter\Phpunit\MockeryTestCase; +use Common\Test\MocksServicesTrait; use Mockery as m; class LoginControllerFactoryTest extends MockeryTestCase diff --git a/test/Olcs/src/Controller/Auth/LoginControllerTest.php b/test/Olcs/src/Controller/Auth/LoginControllerTest.php index e08cd97f9..6dce29ef0 100644 --- a/test/Olcs/src/Controller/Auth/LoginControllerTest.php +++ b/test/Olcs/src/Controller/Auth/LoginControllerTest.php @@ -25,8 +25,8 @@ use Olcs\Auth\Adapter\SelfserveCommandAdapter; use Olcs\Controller\Auth\LoginController; use Olcs\Form\Model\Form\Auth\Login; -use Olcs\TestHelpers\MockeryTestCase; -use Olcs\TestHelpers\Service\MocksServicesTrait; +use Mockery\Adapter\Phpunit\MockeryTestCase; +use Common\Test\MocksServicesTrait; class LoginControllerTest extends MockeryTestCase { From 521227cf7bb2afeff527152a7e5879d861d24545 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 15:12:41 +0000 Subject: [PATCH 10/34] chore(tests): missing testHelpers Trait file added --- .../Controller/DashboardControllerTest.php | 2 +- .../Lva/AbstractLvaControllerTestCase.php | 2 +- .../Controller/Traits/ControllerTestTrait.php | 176 ++++++++++++++++++ 3 files changed, 178 insertions(+), 2 deletions(-) create mode 100644 test/Olcs/src/Controller/Traits/ControllerTestTrait.php diff --git a/test/Olcs/src/Controller/DashboardControllerTest.php b/test/Olcs/src/Controller/DashboardControllerTest.php index 03a4ba7e8..d8348697f 100644 --- a/test/Olcs/src/Controller/DashboardControllerTest.php +++ b/test/Olcs/src/Controller/DashboardControllerTest.php @@ -15,7 +15,7 @@ use Common\RefData; use Dvsa\Olcs\Transfer\Query\Organisation\Dashboard as DashboardQry; use Olcs\Service\Processing\DashboardProcessingService; -use Olcs\TestHelpers\Controller\Traits\ControllerTestTrait; +use OlcsTest\Controller\Traits\ControllerTestTrait; use Olcs\Mvc\Controller\Plugin\Placeholder; use Common\Service\Cqrs\Response as QueryResponse; use ReflectionClass; diff --git a/test/Olcs/src/Controller/Lva/AbstractLvaControllerTestCase.php b/test/Olcs/src/Controller/Lva/AbstractLvaControllerTestCase.php index 9e76e3ab7..8d3683cf7 100644 --- a/test/Olcs/src/Controller/Lva/AbstractLvaControllerTestCase.php +++ b/test/Olcs/src/Controller/Lva/AbstractLvaControllerTestCase.php @@ -4,7 +4,7 @@ use OlcsTest\Bootstrap; use Mockery\Adapter\Phpunit\MockeryTestCase; -use Olcs\TestHelpers\Controller\Traits\ControllerTestTrait; +use OlcsTest\Controller\Traits\ControllerTestTrait; /** * Helper functions for testing LVA controllers diff --git a/test/Olcs/src/Controller/Traits/ControllerTestTrait.php b/test/Olcs/src/Controller/Traits/ControllerTestTrait.php new file mode 100644 index 000000000..c34b6f378 --- /dev/null +++ b/test/Olcs/src/Controller/Traits/ControllerTestTrait.php @@ -0,0 +1,176 @@ + + */ +trait ControllerTestTrait +{ + protected $sut; + protected $request; + protected $form; + protected $view; + protected $formHelper; + protected $services = []; + + protected function mockController($className, array $constructorParams = []) + { + $this->request = m::mock('\Laminas\Http\Request')->makePartial(); + + // If constructor params are provided, pass them to the mock, otherwise mock without them + if (!empty($constructorParams)) { + $this->sut = m::mock($className, $constructorParams) + ->makePartial() + ->shouldAllowMockingProtectedMethods(); + } else { + $this->sut = m::mock($className) + ->makePartial() + ->shouldAllowMockingProtectedMethods(); + } + + $this->sut + ->shouldReceive('getRequest') + ->andReturn($this->request); + } + + protected function mockRender() + { + $this->sut->shouldReceive('render') + ->once() + ->andReturnUsing( + function ($view, $form = null) { + + /** + * assign the view variable so we can interrogate it later + */ + $this->view = $view; + + /* + * but also return it, since that's a closer simulation + * of what 'render' would normally do + */ + + return $this->view; + } + ); + + return $this->sut; + } + + protected function setPost($data = []) + { + $this->request + ->shouldReceive('isPost') + ->andReturn(true) + ->shouldReceive('getPost') + ->andReturn($data); + } + + protected function shouldRemoveElements($form, $elements) + { + $helper = $this->mockFormHelper; + foreach ($elements as $e) { + $helper->shouldReceive('remove') + ->with($form, $e) + ->andReturn($helper); + } + } + + protected function createMockForm($formName) + { + $mockForm = m::mock('\Common\Form\Form'); + + $formHelper = $this->getMockFormHelper(); + + $formHelper + ->shouldReceive('createForm') + ->with($formName) + ->andReturn($mockForm) + ->shouldReceive('createFormWithRequest') + ->with($formName, $this->request) + ->andReturn($mockForm); + + return $mockForm; + } + + protected function getMockFormHelper() + { + if ($this->formHelper === null) { + $this->formHelper = m::mock('\Common\Service\Helper\FormHelperService'); + $this->setService('Helper\Form', $this->formHelper); + } + return $this->formHelper; + } + + /** + * @param string $class expected Command class name + * @param array $expectedDtoData + * @param array $result to be returned by $response->getResult() + * @param boolean $ok to be returned by $response->isOk() + * @param int $times call count + */ + protected function expectCommand($class, array $expectedDtoData, array $result, $ok = true, $times = 1) + { + return $this->mockCommandOrQueryCall('handleCommand', $class, $expectedDtoData, $result, $ok, $times); + } + + /** + * @param string $class expected Query class name + * @param array $expectedDtoData + * @param array $result to be returned by $response->getResult() + * @param boolean $ok to be returned by $response->isOk() + * @param int $times call count + */ + protected function expectQuery($class, array $expectedDtoData, array $result, $ok = true, $times = 1) + { + return $this->mockCommandOrQueryCall('handleQuery', $class, $expectedDtoData, $result, $ok, $times); + } + + /** + * @param string $method controller/plugin method to mock 'handleQuery'|'handleCommand' + * @param string $class expected Query/Command class name + * @param array $expectedDtoData + * @param array $result to be returned by $response->getResult() + * @param boolean $ok to be returned by $response->isOk() + * @param int $times call count + */ + private function mockCommandOrQueryCall( + $method, + $class, + array $expectedDtoData, + array $result, + $ok = true, + $times = 1 + ) { + $response = m::mock() + ->shouldReceive('isOk') + ->andReturn($ok) + ->shouldReceive('isForbidden') + ->andReturn(false) + ->shouldReceive('getResult') + ->andReturn($result) + ->getMock(); + + $this->sut + ->shouldReceive($method) + ->with( + m::on( + function ($cmd) use ($expectedDtoData, $class) { + $matched = ( + is_a($cmd, $class) + && + $cmd->getArrayCopy() == $expectedDtoData + ); + return $matched; + } + ) + ) + ->times($times) + ->andReturn($response); + } +} From 873433e4616055078cd08330971104b16e97c1b5 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 15:19:27 +0000 Subject: [PATCH 11/34] chore: updated .gitignore --- .gitignore | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitignore b/.gitignore index ef7722737..0d7df6e1d 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,11 @@ node_modules .vscode/ test/coverage/ .scannerwork/ +.phpunit.result.cache + +# Non-dist files for the static analysis. +# This allows developers to set a different (more strict) static analysis locally. +phpcs.xml +phpstan.neon +phpunit.xml +psalm.xml From 08d0a14c076fa0202db26d2708137c5ff2f4f092 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Thu, 14 Dec 2023 15:37:23 +0000 Subject: [PATCH 12/34] chore(test): updated namespaces in the test file --- test/Olcs/src/Controller/SessionTimeoutControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Olcs/src/Controller/SessionTimeoutControllerTest.php b/test/Olcs/src/Controller/SessionTimeoutControllerTest.php index 4e4de03a7..63e7f77fd 100644 --- a/test/Olcs/src/Controller/SessionTimeoutControllerTest.php +++ b/test/Olcs/src/Controller/SessionTimeoutControllerTest.php @@ -7,7 +7,8 @@ use Common\Rbac\JWTIdentityProvider; use Common\Rbac\PidIdentityProvider; use Common\Rbac\User; -use Common\Test\MockeryTestCase; +use Common\Test\MocksServicesTrait; +use Mockery\Adapter\Phpunit\MockeryTestCase; use Dvsa\Olcs\Auth\Service\Auth\CookieService; use Dvsa\Olcs\Auth\Service\Auth\LogoutService; use Laminas\Http\Request; @@ -23,7 +24,6 @@ use Mockery as m; use Olcs\Controller\SessionTimeoutController; use Olcs\Controller\SessionTimeoutControllerFactory; -use Olcs\TestHelpers\Service\MocksServicesTrait; use ZfcRbac\Identity\IdentityProviderInterface; /** From 2afec40be1fde3ea34686178d1ff9e611d762630 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 20 Dec 2023 16:42:11 +0000 Subject: [PATCH 13/34] Feat: missing Abstract file added and namespacing added accordingly --- composer.lock | 26 +- .../AbstractFormValidationTestCase.php | 1275 +++++++++++++++++ .../Form/BusRegApplicationsFilterFormTest.php | 2 +- ...sRegApplicationsOperatorFilterFormTest.php | 2 +- .../Form/Model/Form/BusRegBrowseFormTest.php | 2 +- .../BusRegRegistrationsFilterFormTest.php | 2 +- .../Form/Model/Form/EbsrPackUploadTest.php | 2 +- .../src/Form/Model/Form/FeePaymentTest.php | 2 +- .../Model/Form/Lva/AddGoodsVehicleTest.php | 2 +- .../Form/Lva/ApplicationUndertakingsTest.php | 2 +- .../Model/Form/Lva/EditGoodsVehicleTest.php | 2 +- .../src/Form/Model/Form/Lva/NewTmUserTest.php | 2 +- .../Form/Lva/VariationUndertakingsTest.php | 2 +- .../src/Form/Model/Form/MyDetailsTest.php | 2 +- .../src/Form/Model/Form/SearchFilterTest.php | 2 +- .../Form/Model/Form/SearchOperatorTest.php | 2 +- .../src/Form/Model/Form/SimpleSearchTest.php | 2 +- .../Model/Form/Surrender/CurrentDiscsTest.php | 2 +- .../Form/Surrender/OperatorLicenceTest.php | 2 +- .../TransportManagerApplicationResendTest.php | 2 +- .../Model/Form/UserForgotUsernameTest.php | 2 +- .../Form/UserRegistrationAddressTest.php | 2 +- .../Form/Model/Form/UserRegistrationTest.php | 2 +- test/Olcs/src/Form/Model/Form/UserTest.php | 2 +- .../Form/Model/Form/Vehicle/OCRSOptInTest.php | 2 +- .../Model/Form/DeclineApplicationFormTest.php | 2 +- .../Model/Form/LicenceSelectionFormTest.php | 2 +- 27 files changed, 1313 insertions(+), 38 deletions(-) create mode 100644 test/Olcs/src/Controller/AbstractFormValidationTestCase.php diff --git a/composer.lock b/composer.lock index 0d227044b..f6f333f31 100644 --- a/composer.lock +++ b/composer.lock @@ -4172,16 +4172,16 @@ }, { "name": "olcs/olcs-common", - "version": "4.206.514", + "version": "4.206.516", "source": { "type": "git", "url": "https://github.com/dvsa/olcs-common.git", - "reference": "3de6e57bfac648414e68477f01c080bdabf069b4" + "reference": "3ef40d9ad3a61a7531e3d2de02f933131abdad05" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dvsa/olcs-common/zipball/3de6e57bfac648414e68477f01c080bdabf069b4", - "reference": "3de6e57bfac648414e68477f01c080bdabf069b4", + "url": "https://api.github.com/repos/dvsa/olcs-common/zipball/3ef40d9ad3a61a7531e3d2de02f933131abdad05", + "reference": "3ef40d9ad3a61a7531e3d2de02f933131abdad05", "shasum": "" }, "require": { @@ -4192,7 +4192,7 @@ "doctrine/annotations": "^1.14.2", "olcs/olcs-devtools": "~4.206.0", "olcs/olcs-logging": "^5.0.0", - "olcs/olcs-transfer": "~4.206.0", + "olcs/olcs-transfer": "^5.0.0", "olcs/olcs-utils": "^5.0.0", "phpstan/phpstan": "^0.12.100", "soflomo/purifier": "^1.0", @@ -4220,9 +4220,9 @@ "notification-url": "https://packagist.org/downloads/", "description": "Common library for the OLCS Project", "support": { - "source": "https://github.com/dvsa/olcs-common/tree/4.206.514" + "source": "https://github.com/dvsa/olcs-common/tree/4.206.516" }, - "time": "2023-11-30T11:57:35+00:00" + "time": "2023-12-15T11:17:44+00:00" }, { "name": "olcs/olcs-frontend-deps", @@ -4439,16 +4439,16 @@ }, { "name": "olcs/olcs-utils", - "version": "5.0.0.alpha1", + "version": "5.0.0-alpha.2", "source": { "type": "git", "url": "https://github.com/dvsa/olcs-utils.git", - "reference": "82b2c2986397dfc8b5e615b48259747fb28ca1a8" + "reference": "032a00a8e5dad25d771864acfe170ae9facbb626" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dvsa/olcs-utils/zipball/82b2c2986397dfc8b5e615b48259747fb28ca1a8", - "reference": "82b2c2986397dfc8b5e615b48259747fb28ca1a8", + "url": "https://api.github.com/repos/dvsa/olcs-utils/zipball/032a00a8e5dad25d771864acfe170ae9facbb626", + "reference": "032a00a8e5dad25d771864acfe170ae9facbb626", "shasum": "" }, "require": { @@ -4484,9 +4484,9 @@ "notification-url": "https://packagist.org/downloads/", "description": "OLCS Utils", "support": { - "source": "https://github.com/dvsa/olcs-utils/tree/5.0.0.alpha1" + "source": "https://github.com/dvsa/olcs-utils/tree/5.0.0-alpha.2" }, - "time": "2023-11-27T14:10:02+00:00" + "time": "2023-12-19T15:10:07+00:00" }, { "name": "psr/cache", diff --git a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php new file mode 100644 index 000000000..63dc51ba4 --- /dev/null +++ b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php @@ -0,0 +1,1275 @@ +getName(), 'testMissingTest') === false) { + $this->sut = $this->getForm(); + } + } + + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + protected function getServiceManager() + { + if ($this->serviceManager === null) { + $this->serviceManager = $this->getRealServiceManager(); + $this->serviceManager->setAllowOverride(true); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + } + + return $this->serviceManager; + } + + /** + * Get the form object + * + * @return \Common\Form\Form + */ + protected function getForm() + { + if ($this->formName == null) { + throw new \Exception('formName property is not defined'); + } + + if (!isset(self::$forms[$this->formName])) { + /** @var \Common\Form\Annotation\CustomAnnotationBuilder $c */ + $frmAnnotBuilder = $this->getServiceManager()->get('FormAnnotationBuilder'); + + self::$forms[$this->formName] = $frmAnnotBuilder->createForm($this->formName); + } + + return clone self::$forms[$this->formName]; + } + + /** + * Assert that a form element with a value is valid + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param mixed $value The value to be tested in the form element + * @param array $context Form data context required to test the validation + * + * @return void + */ + protected function assertFormElementValid(array $elementHierarchy, $value, array $context = []) + { + self::$testedElements[implode('.', $elementHierarchy)] = true; + + $this->assertElementExists($elementHierarchy); + $this->setData($elementHierarchy, $value, $context); + $this->setValidationGroup($elementHierarchy); + + $valid = $this->sut->isValid(); + $message = sprintf( + '"%s" form element with value "%s" should be valid : %s', + implode('.', $elementHierarchy), + print_r($value, true), + implode(', ', array_keys($this->getFormMessages($elementHierarchy))) + ); + + $this->assertTrue($valid, $message); + } + + /** + * Get the form validation messages for an element + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return array + */ + protected function getFormMessages(array $elementHierarchy) + { + $messages = $this->sut->getMessages(); + foreach ($elementHierarchy as $name) { + if (isset($messages[$name])) { + $messages = $messages[$name]; + } + } + return $messages; + } + + /** + * Set the validation group so that ony the form element is validated + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function setValidationGroup(array $elementHierarchy) + { + $array = null; + foreach (array_reverse($elementHierarchy) as $name) { + if ($array == null) { + $array = [$name]; + } else { + $array = [$name => $array]; + } + } + + $this->sut->setValidationGroup($array); + } + + /** + * Set the form data + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param mixed $value Form element (being tested) value + * @param array $context Form data context required to test the validation + * + * @return void + */ + protected function setData(array $elementHierarchy, $value, $context = []) + { + $element = $this->getElementByHierarchy($elementHierarchy); + if (empty($value) && $element instanceof MonthSelect) { + $value = [ + 'month' => null, + 'year' => null, + ]; + if($element instanceof DateSelect) { + $value['day'] = null; + } + if($element instanceof DateTimeSelect) { + $value['hour'] = null; + $value['minute'] = null; + $value['second'] = null; + } + } + + $array = $value; + foreach (array_reverse($elementHierarchy) as $name) { + $array = [$name => $array]; + } + $this->sut->setData(array_merge_recursive($context, $array)); + } + + /** + * Assert that the form element exists in the form + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertElementExists(array $elementHierarchy) + { + try { + $this->getFormElement($elementHierarchy); + } catch (\Exception $e) { + $this->fail($e->getMessage()); + } + } + + /** + * Get the form element + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return \Laminas\Form\Element + */ + protected function getFormElement(array $elementHierarchy) + { + $element = $this->sut; + foreach ($elementHierarchy as $name) { + if (!$element->has($name)) { + throw new \Exception( + sprintf('Cannot find element by name "%s" in "%s"', $name, implode('.', $elementHierarchy)) + ); + } + $element = $element->get($name); + } + return $element; + } + + /** + * Assert the type of a form element + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param string $type Class name of the type + * + * @return void + */ + protected function assertFormElementType(array $elementHierarchy, $type) + { + $this->assertInstanceOf($type, $this->getFormElement($elementHierarchy)); + } + + /** + * Assert that a form element with a value is NOT valid + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param mixed $value The value to be tested in the form element + * @param string|array $validationMessages A single or an array of expected validation messages keys + * @param array $context Form data context required to test the validation + * + * @return void + */ + protected function assertFormElementNotValid( + array $elementHierarchy, + $value, + $validationMessages, + array $context = [] + ) { + self::$testedElements[implode('.', $elementHierarchy)] = true; + + if (!is_array($validationMessages)) { + $validationMessages = [$validationMessages]; + } + + $this->assertElementExists($elementHierarchy); + $this->setData($elementHierarchy, $value, $context); + $this->setValidationGroup($elementHierarchy); + + $valid = $this->sut->isValid(); + + $this->assertFalse( + $valid, + sprintf( + '"%s" form element with value "%s" should *not* be valid', + implode('.', $elementHierarchy), + print_r($value, true) + ) + ); + + $errorMessages = array_keys($this->getFormMessages($elementHierarchy)); + // If error messages has no keys, it is probably because the top level ErrorMessage has been used + // therefore check the contents of the error, rather than the key + if (array_keys($this->getFormMessages($elementHierarchy)) === [0 => 0]) { + $errorMessages = $this->getFormMessages($elementHierarchy); + } + + $this->assertSame( + $validationMessages, + $errorMessages, + sprintf( + '"%s" form element with value "%s" error messages not as expected', + implode('.', $elementHierarchy), + print_r($value, true) + ) + ); + } + + /** + * Assert than a form element is a text input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param int $min Minimum allowed string length + * @param int $max Maximum allowed string length + * @param array $context Any form context required for this validation + * + * @return void + */ + protected function assertFormElementText( + $elementHierarchy, + $min = 0, + $max = null, + array $context = [] + ) { + if ($min > 0) { + $this->assertFormElementValid($elementHierarchy, str_pad('', $min, 'x'), $context); + } + if ($min > 1) { + $this->assertFormElementNotValid( + $elementHierarchy, + str_pad('', $min - 1, 'x'), + Validator\StringLength::TOO_SHORT, + $context + ); + } else { + $this->assertFormElementValid($elementHierarchy, 'x', $context); + } + + if ($max !== null) { + $this->assertFormElementValid($elementHierarchy, str_pad('', $max, 'x'), $context); + $this->assertFormElementNotValid( + $elementHierarchy, + str_pad('', $max + 1, 'x'), + Validator\StringLength::TOO_LONG, + $context + ); + } + } + + /** + * Assert than a form element is a number input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param int $min Minimum allowed value + * @param int $max Maximum allowed value + * @param string|array $validationMessages A single or an array of expected validation messages keys + * + * @return void + */ + protected function assertFormElementNumber($elementHierarchy, $min = 0, $max = null, $validationMessages = null) + { + $this->assertFormElementValid($elementHierarchy, $min); + $this->assertFormElementValid($elementHierarchy, $min + 1); + + if ($min > 0) { + $this->assertFormElementNotValid( + $elementHierarchy, + $min - 1, + $validationMessages ? : Validator\Between::NOT_BETWEEN + ); + } + + if ($max !== null) { + $this->assertFormElementValid($elementHierarchy, $max); + $this->assertFormElementNotValid( + $elementHierarchy, + $max + 1, + $validationMessages ? : Validator\Between::NOT_BETWEEN + ); + } + + if ($validationMessages === null) { + $validationMessages = [Validator\Digits::NOT_DIGITS]; + + if ($min > 0 || $max !== null) { + $validationMessages[] = Validator\Between::VALUE_NOT_NUMERIC; + } + + $this->assertFormElementNotValid($elementHierarchy, 'X', $validationMessages); + } + } + + /** + * Assert than a form element is a float input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param int $min Minimum allowed value + * @param int $max Maximum allowed value + * + * @return void + */ + protected function assertFormElementFloat($elementHierarchy, $min = 0, $max = null) + { + $this->assertFormElementValid($elementHierarchy, $min); + $this->assertFormElementValid($elementHierarchy, $min + 0.1); + + if ($min > 0) { + $this->assertFormElementNotValid($elementHierarchy, $min - 0.1, Validator\Between::NOT_BETWEEN); + } + + if ($max !== null) { + $this->assertFormElementValid($elementHierarchy, $max); + $this->assertFormElementNotValid($elementHierarchy, $max + 0.1, Validator\LessThan::NOT_LESS_INCLUSIVE); + } + + $this->assertFormElementNotValid($elementHierarchy, 'X', [\Laminas\I18n\Validator\IsFloat::NOT_FLOAT]); + } + + /** + * Assert than a form element is a checkbox input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementCheckbox($elementHierarchy, $uncheckedValue = 'N', $checkedValue = 'Y') + { + $this->assertFormElementValid($elementHierarchy, $checkedValue); + $this->assertFormElementValid($elementHierarchy, $uncheckedValue); + $this->assertFormElementNotValid($elementHierarchy, 'X', [Validator\InArray::NOT_IN_ARRAY]); + } + + /** + * Assert than a form element is a hidden input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementHidden($elementHierarchy) + { + $this->assertFormElementRequired($elementHierarchy, false); + $this->assertFormElementAllowEmpty($elementHierarchy, true); + $this->assertFormElementValid($elementHierarchy, 'X'); + } + + /** + * Assert than a form element is a html input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementHtml($elementHierarchy) + { + $this->assertFormElementRequired($elementHierarchy, false); + $this->assertFormElementAllowEmpty($elementHierarchy, true); + $this->assertFormElementValid($elementHierarchy, 'X'); + } + + /** + * Assert than a form element is a action button input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementActionButton($elementHierarchy) + { + $this->assertFormElementRequired($elementHierarchy, false); + $this->assertFormElementAllowEmpty($elementHierarchy, true); + $this->assertFormElementValid($elementHierarchy, 'X'); + } + + /** + * Assert than a form element is a usernameCreate input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementUsernameCreate($elementHierarchy) + { + $this->assertFormElementText($elementHierarchy, 4, 40); + + $this->assertFormElementValid($elementHierarchy, 'usr0001'); + $this->assertFormElementValid($elementHierarchy, 'USR0001'); // Should be transformed to lowercase + $this->assertFormElementValid($elementHierarchy, 'abcdefghijklmnoprstuvwxyz'); + $this->assertFormElementValid($elementHierarchy, 'ABCDEFGHIJKLMNOPRSTUVWXYZ'); // Should be transformed to lowercase + + $this->assertFormElementNotValid($elementHierarchy, '0usr0001', TransferValidator\UsernameCreate::USERNAME_INVALID); + + $this->assertFormElementNotValid($elementHierarchy, 'aĀ¬bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a!bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'aĀ£bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a&bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a*bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a(bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a)bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a+bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a_bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a.bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a\bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a/bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a=bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a@bs', TransferValidator\UsernameCreate::USERNAME_INVALID); + } + + /** + * Assert than a form element is a username legacy input (supporting legacy usernames) + * + * @deprecated + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementUsername($elementHierarchy) + { + $this->assertFormElementText($elementHierarchy, 2, 40); + + $this->assertFormElementValid($elementHierarchy, '0123456789'); + $this->assertFormElementValid($elementHierarchy, 'abcdefghijklmnoprstuvwxyz'); + $this->assertFormElementValid($elementHierarchy, 'ABCDEFGHIJKLMNOPRSTUVWXYZ'); + $this->assertFormElementValid($elementHierarchy, '#$%\'+-/=?^_.@`|~",:;<>'); + + $this->assertFormElementNotValid($elementHierarchy, 'aĀ¬b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a!b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'aĀ£b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a&b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a*b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a(b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a)b', TransferValidator\Username::USERNAME_INVALID); + $this->assertFormElementNotValid($elementHierarchy, 'a b', TransferValidator\Username::USERNAME_INVALID); + } + + /** + * Assert than a form element is an email address + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementEmailAddress($elementHierarchy) + { + $this->assertFormElementValid($elementHierarchy, 'valid@email.com'); + $this->assertFormElementValid( + $elementHierarchy, + '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890@'. + '123456789012345678901234567890123456789012345678901234567890.com' + ); + // total length greater than 254 + $this->assertFormElementNotValid( + $elementHierarchy, + '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890@'. + '123456789012345678901234567890123456789012345678901234567890.'. + '123456789012345678901234567890123456789012345678901234567890.'. + '123456789012345678901234567890123456789012345678901234567890.com', + TransferValidator\EmailAddress::ERROR_INVALID + ); + // domain parts max greate than 63 chars + $this->assertFormElementNotValid( + $elementHierarchy, + '1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'. + '@1234567890123456789012345678901234567890123456789012345678901234.com', + TransferValidator\EmailAddress::INVALID_FORMAT + ); + $this->assertFormElementNotValid( + $elementHierarchy, + '1234567890123456789012345678901234567890123456789012345678901', + TransferValidator\EmailAddress::INVALID_FORMAT + ); + } + + /** + * Assert than a form element is a postcode + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementPostcode($elementHierarchy) + { + $this->assertFormElementValid($elementHierarchy, 'LS9 6NF'); + $this->assertFormElementValid($elementHierarchy, 'ls9 6nf'); + $this->assertFormElementValid($elementHierarchy, 'ls96NF'); + $this->assertFormElementNotValid($elementHierarchy, 'not a postcode', Validator\StringLength::TOO_LONG); + } + + /** + * Assert than a form element is a phone + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementPhone($elementHierarchy) + { + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\InputFilters\Phone::class); + $this->assertFormElementValid($elementHierarchy, '0123456789'); + $this->assertFormElementValid($elementHierarchy, '+44123456789'); + $this->assertFormElementValid($elementHierarchy, '(0044)1234567889'); + $this->assertFormElementValid($elementHierarchy, '0123-456789'); + $this->assertFormElementNotValid($elementHierarchy, 'not a phone number', Validator\Regex::NOT_MATCH); + } + + /** + * Note for developers + * We are not really testing here. There is a custom validation on the + * frontend (mainly AJAX functionality). For this purpose there is no real + * use testing case. So we skip these searchPostcode elements. + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementPostcodeSearch($elementHierarchy) + { + $searchPostcodeElements = [ + 'postcode', + 'search', + 'addresses', + 'select', + 'manual-link', + ]; + + foreach ($searchPostcodeElements as $element) { + $elementToSkip = array_merge( + $elementHierarchy, + [ + $element, + ] + ); + + self::$testedElements[implode('.', $elementToSkip)] = true; + } + } + + /** + * Assert than a form element is a company number + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementCompanyNumber($elementHierarchy) + { + $this->assertFormElementText($elementHierarchy, 1, 8); + $this->assertFormElementNotValid($elementHierarchy, '#', \Laminas\I18n\Validator\Alnum::NOT_ALNUM); + } + + /** + * Assert than a form element is a company number type + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementCompanyNumberType($elementHierarchy) + { + $this->assertFormElementHtml(array_merge($elementHierarchy, ['description'])); + $this->assertFormElementCompanyNumber(array_merge($elementHierarchy, ['company_number'])); + $this->assertFormElementActionButton(array_merge($elementHierarchy, ['submit_lookup_company'])); + } + + /** + * Assert than a form element is a table + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementTable($elementHierarchy) + { + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\Types\Table::class); + } + + /** + * Assert than a form element is a NoRender + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementNoRender($elementHierarchy) + { + $this->assertFormElementRequired($elementHierarchy, false); + $this->assertFormElementAllowEmpty($elementHierarchy, true); + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\InputFilters\NoRender::class); + } + + /** + * Assert than a form element is an ActionLink + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementActionLink($elementHierarchy) + { + $this->assertFormElementRequired($elementHierarchy, false); + $this->assertFormElementAllowEmpty($elementHierarchy, true); + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\InputFilters\ActionLink::class); + } + + /** + * Assert than a form element is a MultipleFileUpload + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementMultipleFileUpload($elementHierarchy) + { + $fileCountElement = $fileElement = $messagesElement = $uploadElement = $elementHierarchy; + + $fileCountElement[] = 'fileCount'; + $this->assertFormElementRequired($fileCountElement, false); + $this->assertFormElementAllowEmpty($fileCountElement, true); + + $fileElement[] = 'file'; + $this->assertFormElementRequired($fileElement, false); + $this->assertFormElementAllowEmpty($fileElement, true); + $this->assertFormElementType($fileElement, \Common\Form\Elements\Types\AttachFilesButton::class); + + $messagesElement[] = '__messages__'; + $this->assertFormElementHidden($messagesElement); + + $uploadElement[] = 'upload'; + $this->assertFormElementType($uploadElement, \Common\Form\Elements\InputFilters\ActionButton::class); + $this->assertFormElementRequired($uploadElement, false); + + // FileUploadCountV2 validator + $this->assertFormElementValid($elementHierarchy, []); + $this->assertFormElementValid($elementHierarchy, ['fileCount' => 1, 'list' => [1]]); + $this->assertFormElementValid($elementHierarchy, ['fileCount' => 4, 'list' => [1, 2, 3, 4]]); + $this->assertFormElementNotValid( + $elementHierarchy, + ['fileCount' => 0], + 'fileCount' + ); + $this->assertFormElementNotValid( + $elementHierarchy, + ['fileCount' => 0, 'list' => []], + 'fileCount' + ); + $this->assertSame( + [ + 'fileCount' => [ + CommonValidator\FileUploadCountV2::TOO_FEW => 'Too few files uploaded', + ] + ], + $this->getFormMessages($elementHierarchy), + sprintf( + '"%s" form element with value "%s" error messages not as expected', + implode('.', $elementHierarchy), + print_r(['fileCount' => 0, 'list' => []], true) + ) + ); + } + + /** + * Assert than a form element is a VRM + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementVrm($elementHierarchy) + { + $this->assertFormElementValid($elementHierarchy, 'XX59 GTB'); + $this->assertFormElementValid($elementHierarchy, 'FOO1'); + $this->assertFormElementNotValid($elementHierarchy, 'FOO', 'invalid'); + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\Custom\VehicleVrm::class); + } + + /** + * Assert than a form element is a vehicle plated weight + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementVehiclePlatedWeight($elementHierarchy) + { + $this->assertFormElementNumber($elementHierarchy, 0, 999999); + $this->assertFormElementType($elementHierarchy, \Common\Form\Elements\Custom\VehiclePlatedWeight::class); + } + + /** + * Assert that a form element is a dynamic multi checkbox + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param bool $required Is the form element required + * + * @return void + * @SuppressWarnings(PHPMD.UnusedFormalParameter) + */ + protected function assertFormElementDynamicMultiCheckbox($elementHierarchy, $required = true) + { + $this->assertFormElementValid($elementHierarchy, 1); + $this->assertFormElementValid($elementHierarchy, '1'); + } + + /** + * Assert that a form element is a dynamic radio + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param bool $required Is the form element required + * + * @return void + */ + protected function assertFormElementDynamicRadio($elementHierarchy, $required = true) + { + $this->assertFormElementValid($elementHierarchy, 1); + $this->assertFormElementValid($elementHierarchy, '1'); + if ($required) { + $this->assertFormElementNotValid($elementHierarchy, 'X', Validator\InArray::NOT_IN_ARRAY); + } + } + + /** + * Assert that a form element is a dynamic select + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param bool $required Is the form element required + * + * @return void + */ + protected function assertFormElementDynamicSelect( + $elementHierarchy, + $required = true + ) { + $this->assertFormElementValid($elementHierarchy, 1); + $this->assertFormElementValid($elementHierarchy, '1'); + if ($required) { + //uncomment the following line once "prefer_form_input_filter": true has been removed from the forms + //$this->assertFormElementNotValid($elementHierarchy, 'X', Validator\InArray::NOT_IN_ARRAY); + } + } + + /** + * Assert that a form element is a month select input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementMonthSelect($elementHierarchy) + { + $this->assertFormElementValid($elementHierarchy, ['month' => '2', 'year' => '1999']); + $this->assertFormElementNotValid( + $elementHierarchy, + ['month' => 'X', 'year' => '1999'], + [ + \Laminas\Validator\Regex::NOT_MATCH + ] + ); + $this->assertFormElementNotValid( + $elementHierarchy, + ['month' => '3', 'year' => 'XXXX'], + [ + \Laminas\Validator\Regex::NOT_MATCH + ] + ); + } + + /** + * Assert that a form element is a date input + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * + * @return void + */ + protected function assertFormElementDate($elementHierarchy, array $context = []) + { + $errorMessages = [ + \Common\Validator\Date::DATE_ERR_CONTAINS_STRING, + \Laminas\Validator\Date::INVALID_DATE + ]; + + $this->assertFormElementValid($elementHierarchy, ['day' => 1, 'month' => '2', 'year' => 1999], $context); + + $this->assertFormElementNotValid( + $elementHierarchy, + ['day' => 'X', 'month' => '2', 'year' => 1999], + $errorMessages, + $context + ); + + $this->assertFormElementNotValid( + $elementHierarchy, + ['day' => '1', 'month' => 'X', 'year' => 1999], + $errorMessages, + $context + ); + + $this->assertFormElementNotValid( + $elementHierarchy, + ['day' => 1, 'month' => 3, 'year' => 'XXXX'], + [ + \Common\Validator\Date::DATE_ERR_CONTAINS_STRING, + \Common\Validator\Date::DATE_ERR_YEAR_LENGTH, + Validator\Date::INVALID_DATE + ], + $context + ); + } + + /** + * Assert that a form element is a date time input. For any complex + * logic such as; `endDate` with contexts - use the individual methods. + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param bool|true $required Is this input required? Default is 'true' + * @param null $value Currently the default will be tomorrow's date + * + * @return void + */ + protected function assertFormElementDateTime(array $elementHierarchy, $required = true, $value = null) + { + if ($value === null) { + $currentDate = new \DateTimeImmutable('tomorrow'); + + // Date inputted will be exact time tomorrow. + $value = [ + 'year' => $currentDate->format('Y'), + 'month' => $currentDate->format('m'), + 'day' => $currentDate->format('j'), + 'hour' => $currentDate->format('h'), + 'minute' => $currentDate->format('i'), + 'second' => $currentDate->format('s'), + ]; + } + + $this->assertFormElementRequired($elementHierarchy, $required); + $this->assertFormElementDateTimeNotValidCheck($elementHierarchy); + $this->assertFormElementDateTimeValidCheck($elementHierarchy, $value); + } + + /** + * To avoid duplication, you can call this method separately and + * pass custom validation messages + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param array $validationMessages Specify if validation messages are expected to be different + * + * @return void + */ + protected function assertFormElementDateTimeNotValidCheck(array $elementHierarchy, $validationMessages = []) + { + if (empty($validationMessages)) { + $validationMessages = [ + \Common\Validator\Date::DATE_ERR_CONTAINS_STRING, + \Common\Validator\Date::DATE_ERR_YEAR_LENGTH, + Validator\Date::INVALID_DATE, + ]; + } + + // String in values + $this->assertFormElementNotValid( + $elementHierarchy, + [ + 'year' => 'XXXX', + 'month' => 'XX', + 'day' => 'XX', + 'hour' => 'XX', + 'minute' => 'XX', + 'second' => 'XX', + ], + $validationMessages + ); + + $validationMessages = [ + Validator\Date::INVALID_DATE + ]; + + // Invalid date + $this->assertFormElementNotValid( + $elementHierarchy, + [ + 'year' => 2000, + 'month' => 15, + 'day' => 35, + 'hour' => 27, + 'minute' => 100, + 'second' => 5000, + ], + $validationMessages + ); + } + + /** + * Developer note; + * Value is expected to be an array with 'year', 'month', 'day', 'hour', 'minute', 'second' + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param null|mixed $value Default date is tomorrows date. Can be changed if future not allowed + * @param array $context Context is normally used for startDate/endDates + * + * @return void + */ + protected function assertFormElementDateTimeValidCheck(array $elementHierarchy, $value = null, array $context = []) + { + if ($value === null) { + $currentDate = new \DateTimeImmutable('tomorrow'); + + // Date inputted will be exact time tomorrow. + $value = [ + 'year' => $currentDate->format('Y'), + 'month' => $currentDate->format('m'), + 'day' => $currentDate->format('j'), + 'hour' => $currentDate->format('h'), + 'minute' => $currentDate->format('i'), + 'second' => $currentDate->format('s'), + ]; + } + + // Valid scenario + $this->assertFormElementValid($elementHierarchy, $value, $context); + } + + /** + * Assert whether a form element allows empty + * + * @param array $elementHierarchy Form element name eg ['fields','numOfCows'] + * @param bool $allowEmpty if true, form element allows empty + * @param array $context Context + * @param string|array $validationMessages A single or an array of expected validation messages keys + * + * @return void + */ + protected function assertFormElementAllowEmpty( + $elementHierarchy, + $allowEmpty, + $context = [], + $validationMessages = null + ) { + if ($allowEmpty === true) { + $this->assertFormElementValid($elementHierarchy, '', $context); + } else { + $this->assertFormElementNotValid( + $elementHierarchy, + '', + $validationMessages ? : Validator\NotEmpty::IS_EMPTY, + $context + ); + } + } + + /** + * Assert whether a form element is required + * + * This method checks the value, but 'required' is about checking for the key. + * New method is: assertFormElementIsRequired. You will notice some of the field validations + * will fail after using the new method. In this scenario, check the requirement of the field + * and check for any clashes. AllowEmpty(true) and Required(true) fields make no sense. + * Resource: http://stackoverflow.com/questions/7242703/zend-framework-how-to-allow-empty-field-for-form-element + * + * @param string $elementHierarchy Form element name + * @param bool $required true, form element is required + * @param string|array $validationMessages A single or an array of expected validation messages keys + * + * @return void + * @deprecated + */ + protected function assertFormElementRequired($elementHierarchy, $required, $validationMessages = null) + { + if ($required === true) { + $this->assertFormElementNotValid( + $elementHierarchy, + null, + $validationMessages ? : Validator\NotEmpty::IS_EMPTY + ); + } else { + $this->assertFormElementValid($elementHierarchy, null); + } + } + + /** + * New method used apart from assertFormElementRequired() + * Avoid using assertFormElementRequired() + * + * @param array $elementHierarchy Element hierarchy as array (including fieldsets) + * @param bool|true $required true, form element is required + * @param array $expectedValidationMessages A single or an array of expected validation messages keys + * + * @return void + */ + protected function assertFormElementIsRequired( + $elementHierarchy, + $required = true, + $expectedValidationMessages = [Validator\NotEmpty::IS_EMPTY] + ) { + self::$testedElements[implode('.', $elementHierarchy)] = true; + + // set no data to get the response from the Validation Groups + $this->setData($elementHierarchy, null); + $this->setValidationGroup($elementHierarchy); + + $this->sut->isValid(); + + $formErrorMessages = $this->sut->getMessages(); + $elementErrorMessages = $this->getElementMessages( + $elementHierarchy, + $formErrorMessages + ); + + if ($required === true) { + $this->assertTrue((!empty($elementErrorMessages))); + $this->assertEquals( + array_keys($elementErrorMessages), + $expectedValidationMessages + ); + } else { + $this->assertFalse($elementErrorMessages); + } + } + + /** + * Test if service name as expected + * + * @param $elementHierarchy + * @param $serviceName + * + * @throws \Exception + */ + public function assertServiceEquals($elementHierarchy, $serviceName) + { + + $element = $this->getFormElement($elementHierarchy); + $this->assertContains('service_name', array_keys($element->getOptions()), "service name option not set"); + $this->assertEquals($element->getOption('service_name'), $serviceName, "service_name option does not match class name provided"); + } + + /** + * Get messages for specified element + * + * @param array $elementHierarchy Element and/or Fieldset hierarchy + * @param array $formErrorMessages Error messages from Form service + * + * @return array|false + */ + private function getElementMessages($elementHierarchy, $formErrorMessages) + { + $elementOrFieldsetName = (is_array($elementHierarchy))? + current($elementHierarchy) : next($elementHierarchy); + + if (isset($formErrorMessages[$elementOrFieldsetName]) && + is_array($formErrorMessages[$elementOrFieldsetName]) + ) { + // are we at the end? + if (next($elementHierarchy) === false) { + return $formErrorMessages[$elementOrFieldsetName]; + } + + return $this->getElementMessages( + $elementHierarchy, + $formErrorMessages[$elementOrFieldsetName] + ); + } + + return false; + } + + /** + * Check that tests exists for all form elements + * This needs to be the last test that runs + * + * @param string $elementName Element name to test + * + * @dataProvider dataProviderAllElementNames + * @doesNotPerformAssertions + * + * @return void + */ + public function testMissingTest($elementName) + { + if (!array_key_exists($elementName, self::$testedElements)) { + $this->markTestIncomplete(sprintf('"%s" form element not tested', $elementName)); + } + } + + /** + * Data provider, a full list of element names on this form + * + * @return array + */ + public function dataProviderAllElementNames() + { + $elementList = $this->getElementList($this->getForm()); + foreach ($elementList as &$elementName) { + $elementName = [$elementName]; + } + return $elementList; + } + + /** + * Get a list of all form elements + * + * @param \Laminas\Form\Fieldset $fieldsset Fieldset + * @param string $prefix Prefix + * + * @return array eg ['fields.numOfCows', 'fields.numOfDogs'] + */ + private function getElementList(\Laminas\Form\Fieldset $fieldsset, $prefix = '') + { + $elementList = []; + /** @var \Laminas\Form\Element $element */ + foreach ($fieldsset->getFieldsets() as $childFieldSet) { + $elementList = array_merge( + $elementList, + $this->getElementList( + $childFieldSet, + $prefix . $childFieldSet->getName() .'.' + ) + ); + } + foreach ($fieldsset->getElements() as $element) { + $elementList[] = $prefix . $element->getName(); + } + return $elementList; + } + + protected function getElementByHierarchy($elementHierarchy): ElementInterface + { + $elementOrFieldSet = $this->sut; + foreach($elementHierarchy as $name) { + $elementOrFieldSet = $elementOrFieldSet->get($name); + } + return $elementOrFieldSet; + } +} diff --git a/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php index 40f2e853e..063f736f6 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class BusRegApplicationsFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php index f52b7da17..52dd98a15 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class BusRegApplicationsOperatorFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php index c856cd57b..4a4140ded 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class BusRegBrowseFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php index 6f1e60f6b..4cefb012b 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class BusRegRegistrationsFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php b/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php index 30d236591..71da02645 100644 --- a/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php +++ b/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class EbsrPackUploadTest diff --git a/test/Olcs/src/Form/Model/Form/FeePaymentTest.php b/test/Olcs/src/Form/Model/Form/FeePaymentTest.php index 3061b5a27..80714754e 100644 --- a/test/Olcs/src/Form/Model/Form/FeePaymentTest.php +++ b/test/Olcs/src/Form/Model/Form/FeePaymentTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class FeePaymentTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php b/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php index 1b62e738e..7775652f8 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class AddGoodsVehicleTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php b/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php index 33a1a93e3..8375a840e 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class ApplicationUndertakingsTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php b/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php index 3144d97d0..e0c75b068 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class EditGoodsVehicleTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php b/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php index 5ad1337a4..b18793a63 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class NewTmUserTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php b/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php index 453f96619..4569c77bc 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class VariationUndertakingsTest diff --git a/test/Olcs/src/Form/Model/Form/MyDetailsTest.php b/test/Olcs/src/Form/Model/Form/MyDetailsTest.php index c7c11661c..3c5ac91a2 100644 --- a/test/Olcs/src/Form/Model/Form/MyDetailsTest.php +++ b/test/Olcs/src/Form/Model/Form/MyDetailsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class MyDetailsTest diff --git a/test/Olcs/src/Form/Model/Form/SearchFilterTest.php b/test/Olcs/src/Form/Model/Form/SearchFilterTest.php index a98b1878c..90f1fdeaa 100644 --- a/test/Olcs/src/Form/Model/Form/SearchFilterTest.php +++ b/test/Olcs/src/Form/Model/Form/SearchFilterTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class SearchFilterTest diff --git a/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php b/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php index 5e4e94286..7a11c428c 100644 --- a/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php +++ b/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class SearchOperatorTest diff --git a/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php b/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php index 0a3925bb5..ef5a4c088 100644 --- a/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php +++ b/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class SimpleSearchTest diff --git a/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php b/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php index 5f4b610a5..c1a5d6fac 100644 --- a/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php +++ b/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php @@ -4,7 +4,7 @@ use Common\Form\Elements\Custom\OlcsCheckbox; use Common\Form\Elements\Types\HtmlTranslated; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; use Olcs\Form\Model\Form\Surrender\CurrentDiscs\CurrentDiscs; use Laminas\Form\Element\Button; use Laminas\Form\Element\Checkbox; diff --git a/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php b/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php index 14ae95bf6..71a08dbae 100644 --- a/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php +++ b/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php @@ -5,7 +5,7 @@ use Common\Form\Elements\InputFilters\ActionButton; use Common\Form\Elements\Types\Radio; use Common\Form\Elements\Types\HtmlTranslated; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; use Laminas\Form\Element\Button; use Laminas\Form\Element\Textarea; diff --git a/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php b/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php index d86d85592..0e38c6e03 100644 --- a/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php +++ b/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class TransportManagerApplicationResendTest diff --git a/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php b/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php index f0d0930a5..98f223d2c 100644 --- a/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php +++ b/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class UserForgotUsernameTest diff --git a/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php b/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php index 7acfdfb44..a8c73a160 100644 --- a/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php +++ b/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class UserRegistrationAddressTest diff --git a/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php b/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php index 9ba4c3d57..dcb1addd9 100644 --- a/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php +++ b/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class UserRegistrationTest diff --git a/test/Olcs/src/Form/Model/Form/UserTest.php b/test/Olcs/src/Form/Model/Form/UserTest.php index baf9bcbb9..80cf1ca94 100644 --- a/test/Olcs/src/Form/Model/Form/UserTest.php +++ b/test/Olcs/src/Form/Model/Form/UserTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class UserTest diff --git a/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php b/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php index aeb8c298c..fdb2f8c6d 100644 --- a/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php +++ b/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class OCRSOptInTest diff --git a/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php b/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php index aaa8c77ab..7bcd97358 100644 --- a/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php +++ b/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php @@ -3,7 +3,7 @@ namespace PermitsTest\Form\Model\Form; use Common\Form\Elements\InputFilters\ActionButton; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; use Laminas\Validator; /** diff --git a/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php b/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php index 02f08ca21..adae2e4d6 100644 --- a/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php +++ b/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php @@ -4,7 +4,7 @@ use \Common\Form\Elements\InputFilters\ActionButton; use Common\Form\Elements\Types\Radio; -use Olcs\TestHelpers\FormTester\AbstractFormValidationTestCase; +use OlcsTest\Controller\AbstractFormValidationTestCase; /** * Class LicenceSelectionFormTest From 883b564569dace34f4ac4cc0056fd9949660b35c Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 27 Dec 2023 12:14:26 +0000 Subject: [PATCH 14/34] Feat: Added missing namespace --- test/Permits/src/View/Helper/PermitsCheckAnswerLinkTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/Permits/src/View/Helper/PermitsCheckAnswerLinkTest.php b/test/Permits/src/View/Helper/PermitsCheckAnswerLinkTest.php index eaee4e2a4..2e2900962 100644 --- a/test/Permits/src/View/Helper/PermitsCheckAnswerLinkTest.php +++ b/test/Permits/src/View/Helper/PermitsCheckAnswerLinkTest.php @@ -4,9 +4,9 @@ namespace PermitsTest\View\Helper; -use Permits\View\Helper\PermitsCheckAnswerLink; use Mockery as m; use Laminas\View\Renderer\RendererInterface; +use Permits\View\Helper\PermitsCheckAnswerLink; class PermitsCheckAnswerLinkTest extends m\Adapter\Phpunit\MockeryTestCase { @@ -27,7 +27,7 @@ public function testInvoke(): void $params = ['params']; $options = ['options']; - + $view = m::mock(RendererInterface::class); $view->shouldReceive('translate') ->once() From 0f121835b7f097dbfb6090c1c7250cf110d92a87 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 27 Dec 2023 14:35:03 +0000 Subject: [PATCH 15/34] Feat: BootStrap reliance removed --- composer.json | 4 +- composer.lock | 2 +- test/Bootstrap.php | 106 ------------------ .../AbstractFormValidationTestCase.php | 37 +++++- 4 files changed, 40 insertions(+), 109 deletions(-) delete mode 100644 test/Bootstrap.php diff --git a/composer.json b/composer.json index ff2acc78c..4f5969736 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,9 @@ "require-dev": { "johnkary/phpunit-speedtrap": "^4.0", "laminas/laminas-developer-tools": "*", + "laminas/laminas-modulemanager": "^2.9", "mockery/mockery": "^1.6", + "olcs/olcs-logging": "^5.0.0", "phpstan/phpstan": "^0.12.100", "phpunit/phpunit": "^9.6", "san/san-session-toolbar": "*" @@ -27,7 +29,7 @@ "autoload-dev": { "psr-4": { "OlcsTest\\": "test/Olcs/src", - "Permits\\": "test/Permits/src" + "PermitsTest\\": "test/Permits/src" } }, "minimum-stability": "dev", diff --git a/composer.lock b/composer.lock index f6f333f31..551503003 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": "4fb5a08157a2e572b6a4d4085ddfbfb2", + "content-hash": "ab3fc52d4ccfae0169ca2df43e89a556", "packages": [ { "name": "brick/varexporter", diff --git a/test/Bootstrap.php b/test/Bootstrap.php deleted file mode 100644 index b023f96a9..000000000 --- a/test/Bootstrap.php +++ /dev/null @@ -1,106 +0,0 @@ -addPsr4('OlcsTest\\', __DIR__ . '/Olcs/src'); - - // Grab the application config - $config = include dirname(__DIR__) . '/config/application.config.php'; - - self::$config = $config; - - // call this once to load module config - self::getRealServiceManager(); - - self::setupLogger(); - } - - public static function setupLogger() - { - $logWriter = new \Laminas\Log\Writer\Mock(); - $logger = new \Laminas\Log\Logger(); - $logger->addWriter($logWriter); - - Logger::setLogger($logger); - } - - /** - * Changed this method to return a mock - * - * @return \Laminas\ServiceManager\ServiceManager - */ - public static function getServiceManager() - { - $sm = m::mock('\Laminas\ServiceManager\ServiceManager') - ->makePartial() - ->setAllowOverride(true); - - // inject a real string helper - $sm->setService('Helper\String', new \Common\Service\Helper\StringHelperService()); - - return $sm; - } - - /** - * Added this method for backwards compatibility - * - * @return \Laminas\ServiceManager\ServiceManager - */ - public static function getRealServiceManager() - { - $serviceManager = new ServiceManager(new ServiceManagerConfig()); - $serviceManager->setService('ApplicationConfig', self::$config); - $serviceManager->get('ModuleManager')->loadModules(); - $serviceManager->setAllowOverride(true); - - $mockTranslationLoader = m::mock(TranslationLoader::class); - $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); - $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); - $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); - - $pluginManager = new LoaderPluginManager($serviceManager); - $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); - $serviceManager->setService('TranslatorPluginManager', $pluginManager); - - // Mess up the backend, so any real rest calls will fail - $config = $serviceManager->get('Config'); - $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; - $serviceManager->setService('Config', $config); - - return $serviceManager; - } - - protected static function initAutoloader() - { - require('init_autoloader.php'); - - return $loader; - } -} - -Bootstrap::init(); diff --git a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php index 63dc51ba4..65a2b50a1 100644 --- a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php +++ b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php @@ -4,12 +4,16 @@ use Common\Form\Element\DynamicMultiCheckbox; use Common\Form\Element\DynamicRadio; use Common\Form\Element\DynamicSelect; +use Common\Service\Translator\TranslationLoader; use Common\Validator as CommonValidator; use Dvsa\Olcs\Transfer\Validators as TransferValidator; use Laminas\Form\Element\DateSelect; use Laminas\Form\Element\DateTimeSelect; use Laminas\Form\Element\MonthSelect; use Laminas\Form\ElementInterface; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase as TestCase; use Laminas\Validator; @@ -68,7 +72,7 @@ protected function setUp(): void protected function getServiceManager() { if ($this->serviceManager === null) { - $this->serviceManager = $this->getRealServiceManager(); + $this->serviceManager = self::getRealServiceManager(); $this->serviceManager->setAllowOverride(true); $this->serviceManager->get('FormElementManager')->setFactory( @@ -1272,4 +1276,35 @@ protected function getElementByHierarchy($elementHierarchy): ElementInterface } return $elementOrFieldSet; } + + /** + * Added this method for backwards compatibility + * + * @return \Laminas\ServiceManager\ServiceManager + */ + public static function getRealServiceManager() + { + + $config = include 'config/application.config.php'; + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } } From 3b1db56e565245d270dab4fcbb432a12ea97a527 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 27 Dec 2023 15:05:21 +0000 Subject: [PATCH 16/34] Feat: TestHelper Class added --- .../Controller/Entity/ViewControllerTest.php | 2 +- .../ControllerPluginManagerHelper.php | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 test/Olcs/src/TestHelpers/ControllerPluginManagerHelper.php diff --git a/test/Olcs/src/Controller/Entity/ViewControllerTest.php b/test/Olcs/src/Controller/Entity/ViewControllerTest.php index a38ada231..2e781263e 100644 --- a/test/Olcs/src/Controller/Entity/ViewControllerTest.php +++ b/test/Olcs/src/Controller/Entity/ViewControllerTest.php @@ -10,7 +10,7 @@ use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Olcs\Controller\Entity\ViewController; -use Olcs\TestHelpers\ControllerPluginManagerHelper; +use OlcsTest\TestHelpers\ControllerPluginManagerHelper; use Laminas\View\Model\ViewModel; use ZfcRbac\Mvc\Controller\Plugin\IsGranted; diff --git a/test/Olcs/src/TestHelpers/ControllerPluginManagerHelper.php b/test/Olcs/src/TestHelpers/ControllerPluginManagerHelper.php new file mode 100644 index 000000000..3d7bd8edb --- /dev/null +++ b/test/Olcs/src/TestHelpers/ControllerPluginManagerHelper.php @@ -0,0 +1,41 @@ +shouldReceive('__invoke')->andReturnSelf(); + return $mockPlugin; + } + + /** + * @param $plugins + * @return m\MockInterface|\Laminas\Mvc\Controller\PluginManager + */ + public function getMockPluginManager($plugins) + { + $mockPluginManager = m::mock('Laminas\Mvc\Controller\PluginManager'); + $mockPluginManager->shouldReceive('setController'); + + foreach ($plugins as $name => $class) { + $mockPlugin = $this->getMockPlugin($class); + $mockPluginManager->shouldReceive('get')->with($name, '')->andReturn($mockPlugin); + $mockPluginManager->shouldReceive('get')->with($name)->andReturn($mockPlugin); + } + + return $mockPluginManager; + } +} From f83ce7c5a3af2c0325b6d63b1c3aad07689f6ec2 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 27 Dec 2023 16:16:54 +0000 Subject: [PATCH 17/34] Feat: BootStrap reliance removed --- .../AbstractFormValidationTestCase.php | 2 +- .../Lva/AbstractOverviewSubmissionTest.php | 98 +++++++++++++++++- .../Lva/ApplicationFinancialEvidenceTest.php | 98 +++++++++++++++++- .../VariationOperatingCentresTest.php | 98 +++++++++++++++++- .../SoleTrader/ApplicationSoleTraderTest.php | 99 ++++++++++++++++++- .../SoleTrader/LicenceSoleTraderTest.php | 99 ++++++++++++++++++- .../SoleTrader/VariationSoleTraderTest.php | 37 ++++++- 7 files changed, 518 insertions(+), 13 deletions(-) diff --git a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php index 65a2b50a1..9df27590e 100644 --- a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php +++ b/test/Olcs/src/Controller/AbstractFormValidationTestCase.php @@ -69,7 +69,7 @@ protected function setUp(): void * * @return \Laminas\ServiceManager\ServiceLocatorInterface */ - protected function getServiceManager() + public function getServiceManager() { if ($this->serviceManager === null) { $this->serviceManager = self::getRealServiceManager(); diff --git a/test/Olcs/src/FormService/Form/Lva/AbstractOverviewSubmissionTest.php b/test/Olcs/src/FormService/Form/Lva/AbstractOverviewSubmissionTest.php index 635c53305..0da9274c1 100644 --- a/test/Olcs/src/FormService/Form/Lva/AbstractOverviewSubmissionTest.php +++ b/test/Olcs/src/FormService/Form/Lva/AbstractOverviewSubmissionTest.php @@ -2,10 +2,16 @@ namespace OlcsTest\FormService\Form\Lva; +use Common\Form\Element\DynamicMultiCheckbox; +use Common\Form\Element\DynamicRadio; +use Common\Form\Element\DynamicSelect; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; use Laminas\I18n\View\Helper\Translate; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; -use OlcsTest\Bootstrap; use OlcsTest\FormService\Form\Lva\Stub\AbstractOverviewSubmissionStub; /** @@ -25,11 +31,99 @@ class AbstractOverviewSubmissionTest extends MockeryTestCase private $mockTranslationHelper; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getServiceManager() + { + $serviceManager = $this->getRealServiceManager(); + $serviceManager->setAllowOverride(true); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + return $serviceManager; + } + + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + public function setUp(): void { $this->mockForm = m::mock(\Laminas\Form\FormInterface::class); - $this->mockSm = Bootstrap::getServiceManager(); + $this->mockSm = $this->getServiceManager(); $this->mockTranslationHelper = m::mock(Translate::class); $this->mockTranslationHelper diff --git a/test/Olcs/src/FormService/Form/Lva/ApplicationFinancialEvidenceTest.php b/test/Olcs/src/FormService/Form/Lva/ApplicationFinancialEvidenceTest.php index 45879886f..b88bc2b95 100644 --- a/test/Olcs/src/FormService/Form/Lva/ApplicationFinancialEvidenceTest.php +++ b/test/Olcs/src/FormService/Form/Lva/ApplicationFinancialEvidenceTest.php @@ -2,16 +2,22 @@ namespace OlcsTest\FormService\Form\Lva; +use Common\Form\Element\DynamicMultiCheckbox; +use Common\Form\Element\DynamicRadio; +use Common\Form\Element\DynamicSelect; use Common\Service\Helper\FormHelperService; use Common\Service\Helper\TranslationHelperService; use Common\Service\Helper\UrlHelperService; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Olcs\FormService\Form\Lva\ApplicationFinancialEvidence; use Laminas\Form\Form; use Laminas\Http\Request; use OlcsTest\FormService\Form\Lva\Traits\ButtonsAlterations; -use OlcsTest\Bootstrap; use ZfcRbac\Service\AuthorizationService; /** @@ -37,6 +43,94 @@ class ApplicationFinancialEvidenceTest extends MockeryTestCase /** @var m\MockInterface */ protected $translator; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getServiceManager() + { + $serviceManager = self::getRealServiceManager(); + $serviceManager->setAllowOverride(true); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + return $serviceManager; + } + + /** + * Added this method for backwards compatibility + * + * @return \Laminas\ServiceManager\ServiceManager + */ + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + public function setUp(): void { $this->fh = m::mock(FormHelperService::class)->makePartial(); @@ -44,7 +138,7 @@ public function setUp(): void $this->urlHelper = m::mock(UrlHelperService::class); $this->translator = m::mock(TranslationHelperService::class); - $sm = Bootstrap::getServiceManager(); + $sm = $this->getServiceManager(); $sm->setService('Helper\Url', $this->urlHelper); $sm->setService('Helper\Translation', $this->translator); diff --git a/test/Olcs/src/FormService/Form/Lva/OperatingCentres/VariationOperatingCentresTest.php b/test/Olcs/src/FormService/Form/Lva/OperatingCentres/VariationOperatingCentresTest.php index e8e92c9b3..82390b6ba 100644 --- a/test/Olcs/src/FormService/Form/Lva/OperatingCentres/VariationOperatingCentresTest.php +++ b/test/Olcs/src/FormService/Form/Lva/OperatingCentres/VariationOperatingCentresTest.php @@ -2,11 +2,17 @@ namespace OlcsTest\FormService\Form\Lva\OperatingCentres; +use Common\Form\Element\DynamicMultiCheckbox; +use Common\Form\Element\DynamicRadio; +use Common\Form\Element\DynamicSelect; use Common\Service\Helper\TranslationHelperService; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Olcs\FormService\Form\Lva\OperatingCentres\VariationOperatingCentres; use Common\FormService\FormServiceManager; use Common\Service\Table\TableBuilder; -use OlcsTest\Bootstrap; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Laminas\Form\Element; @@ -31,13 +37,101 @@ class VariationOperatingCentresTest extends MockeryTestCase protected $translator; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getServiceManager() + { + $serviceManager = self::getRealServiceManager(); + $serviceManager->setAllowOverride(true); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + return $serviceManager; + } + + /** + * Added this method for backwards compatibility + * + * @return \Laminas\ServiceManager\ServiceManager + */ + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + public function setUp(): void { $this->tableBuilder = m::mock(); $this->translator = m::mock(TranslationHelperService::class); - $sm = Bootstrap::getServiceManager(); + $sm = $this->getServiceManager(); $sm->setService('Table', $this->tableBuilder); $sm->setService('Helper\Translation', $this->translator); diff --git a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/ApplicationSoleTraderTest.php b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/ApplicationSoleTraderTest.php index 25c9dfeba..d998daefe 100644 --- a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/ApplicationSoleTraderTest.php +++ b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/ApplicationSoleTraderTest.php @@ -2,11 +2,17 @@ namespace OlcsTest\FormService\Form\Lva\People\SoleTrader; +use Common\Form\Element\DynamicMultiCheckbox; +use Common\Form\Element\DynamicRadio; +use Common\Form\Element\DynamicSelect; use Common\FormService\FormServiceManager; use Common\Service\Helper\FormHelperService; use Common\Service\Lva\PeopleLvaService; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Olcs\FormService\Form\Lva\People\SoleTrader\ApplicationSoleTrader; -use OlcsTest\Bootstrap; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Olcs\FormService\Form\Lva\People\SoleTrader\ApplicationSoleTrader as Sut; @@ -43,11 +49,100 @@ class ApplicationSoleTraderTest extends MockeryTestCase */ private $peopleLvaService; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getServiceManager() + { + + $this->serviceManager = self::getRealServiceManager(); + $this->serviceManager->setAllowOverride(true); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $this->serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + return $this->serviceManager; + } + + /** + * Added this method for backwards compatibility + * + * @return \Laminas\ServiceManager\ServiceManager + */ + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + public function setUp(): void { $this->formHelper = m::mock('\Common\Service\Helper\FormHelperService'); - $this->sm = Bootstrap::getServiceManager(); + $this->sm = self::getServiceManager(); /** @var FormServiceManager fsm */ $this->fsm = m::mock('\Common\FormService\FormServiceManager')->makePartial(); diff --git a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/LicenceSoleTraderTest.php b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/LicenceSoleTraderTest.php index 955b61a4d..16d3bcf1a 100644 --- a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/LicenceSoleTraderTest.php +++ b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/LicenceSoleTraderTest.php @@ -2,9 +2,15 @@ namespace OlcsTest\FormService\Form\Lva\People\SoleTrader; +use Common\Form\Element\DynamicMultiCheckbox; +use Common\Form\Element\DynamicRadio; +use Common\Form\Element\DynamicSelect; use Common\FormService\FormServiceManager; use Common\Service\Lva\PeopleLvaService; -use OlcsTest\Bootstrap; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Olcs\FormService\Form\Lva\People\SoleTrader\LicenceSoleTrader as Sut; @@ -24,6 +30,65 @@ class LicenceSoleTraderTest extends MockeryTestCase protected $mockLicenceService; private $peopleLvaService; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public function getServiceManager() + { + $serviceManager = self::getRealServiceManager(); + $serviceManager->setAllowOverride(true); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicSelect', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicSelect(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'DynamicRadio', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicRadio(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + $serviceManager->get('FormElementManager')->setFactory( + 'Common\Form\Element\DynamicMultiCheckbox', + function ($serviceLocator, $name, $requestedName) { + $element = new DynamicMultiCheckbox(); + $element->setValueOptions( + [ + '1' => 'one', + '2' => 'two', + '3' => 'three' + ] + ); + return $element; + } + ); + + + return $serviceManager; + } + public function setUp(): void { $this->formHelper = m::mock('\Common\Service\Helper\FormHelperService'); @@ -31,7 +96,7 @@ public function setUp(): void $this->mockLicenceService = m::mock(Form::class); $this->peopleLvaService = m::mock(PeopleLvaService::class); - $this->sm = Bootstrap::getServiceManager(); + $this->sm = $this->getServiceManager(); /** @var FormServiceManager fsm */ $this->fsm = m::mock('\Common\FormService\FormServiceManager')->makePartial(); @@ -179,4 +244,34 @@ public function noDisqualifyProvider() ], ]; } + + /** + * Added this method for backwards compatibility + * + * @return \Laminas\ServiceManager\ServiceManager + */ + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } } diff --git a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/VariationSoleTraderTest.php b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/VariationSoleTraderTest.php index 416fdc6de..e578a1eb5 100644 --- a/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/VariationSoleTraderTest.php +++ b/test/Olcs/src/FormService/Form/Lva/People/SoleTrader/VariationSoleTraderTest.php @@ -4,7 +4,10 @@ use Common\FormService\FormServiceManager; use Common\Service\Lva\PeopleLvaService; -use OlcsTest\Bootstrap; +use Common\Service\Translator\TranslationLoader; +use Laminas\I18n\Translator\LoaderPluginManager; +use Laminas\Mvc\Service\ServiceManagerConfig; +use Laminas\ServiceManager\ServiceManager; use Mockery as m; use Mockery\Adapter\Phpunit\MockeryTestCase; use Olcs\FormService\Form\Lva\People\SoleTrader\VariationSoleTrader as Sut; @@ -28,13 +31,43 @@ class VariationSoleTraderTest extends MockeryTestCase protected $mockVariationService; + /** + * We can access service manager if we need to add a mock for certain applications + * + * @return \Laminas\ServiceManager\ServiceLocatorInterface + */ + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $config = include 'config/application.config.php'; + $serviceManager->setService('ApplicationConfig', $config); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + public function setUp(): void { $this->formHelper = m::mock('\Common\Service\Helper\FormHelperService'); $this->mockVariationService = m::mock(Form::class); - $this->sm = Bootstrap::getServiceManager(); + $this->sm = $this->getRealServiceManager(); /** @var FormServiceManager fsm */ $this->fsm = m::mock('\Common\FormService\FormServiceManager')->makePartial(); From 1d9bf5270de1cd0990a7a63a017b1f54c2313733 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 27 Dec 2023 16:17:24 +0000 Subject: [PATCH 18/34] Feat: Missing serviceManager method added --- .../SessionTimeoutControllerTest.php | 54 ++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/test/Olcs/src/Controller/SessionTimeoutControllerTest.php b/test/Olcs/src/Controller/SessionTimeoutControllerTest.php index 63e7f77fd..c86c8d13f 100644 --- a/test/Olcs/src/Controller/SessionTimeoutControllerTest.php +++ b/test/Olcs/src/Controller/SessionTimeoutControllerTest.php @@ -8,6 +8,7 @@ use Common\Rbac\PidIdentityProvider; use Common\Rbac\User; use Common\Test\MocksServicesTrait; +use Laminas\ServiceManager\ServiceManager; use Mockery\Adapter\Phpunit\MockeryTestCase; use Dvsa\Olcs\Auth\Service\Auth\CookieService; use Dvsa\Olcs\Auth\Service\Auth\LogoutService; @@ -22,6 +23,7 @@ use Laminas\Uri\Http; use Laminas\View\Model\ViewModel; use Mockery as m; +use Mockery\MockInterface; use Olcs\Controller\SessionTimeoutController; use Olcs\Controller\SessionTimeoutControllerFactory; use ZfcRbac\Identity\IdentityProviderInterface; @@ -37,13 +39,27 @@ class SessionTimeoutControllerTest extends MockeryTestCase private $identityProviderClass = PidIdentityProvider::class; + /** + * @var ServiceManager + */ + private $serviceManager; + + /** + * @return ServiceManager + */ + protected function serviceManager(): ServiceManager + { + assert(null !== $this->serviceManager, 'Expected service manager to be set. Hint: You may need to call `setUpServiceManager` before trying to get a service manager'); + return $this->serviceManager; + } + /** * @test */ public function indexAction_IsCallable() { // Setup - $serviceLocator = $this->setUpServiceLocator(); + $serviceLocator = $this->setUpServiceManager(); $sut = $this->setUpSut($serviceLocator, new Request()); @@ -51,6 +67,30 @@ public function indexAction_IsCallable() $this->assertTrue(method_exists($sut, 'indexAction') && is_callable([$sut, 'indexAction'])); } + /** + * @return ServiceManager + */ + protected function setUpServiceManager(): ServiceManager + { + $this->serviceManager = new ServiceManager(); + $this->serviceManager->setAllowOverride(true); + $services = $this->setUpDefaultServices($this->serviceManager); + + // Maintain support for deprecated way of registering services via an array of services. Instead, services + // should be registered by calling the available setter methods on the ServiceManager instance. + if (is_array($services)) { + foreach ($services as $serviceName => $service) { + $this->serviceManager->setService($serviceName, $service); + } + } + + // Set controller plugin manager to the main service manager so that all services can be resolved from the one + // service manager instance. + $this->serviceManager->setService('ControllerPluginManager', $this->serviceManager); + + return $this->serviceManager; + } + /** * @test * @depends indexAction_IsCallable @@ -286,6 +326,18 @@ protected function setUpIdentity(string $identityProvider): m\MockInterface return $currentUser; } + protected function getMockServiceWithName(string $class, string $serviceName): MockInterface + { + if (!$this->serviceManager->has($serviceName)) { + $this->serviceManager->setService( + $serviceName, + $this->setUpMockService($class) + ); + } + + return $this->serviceManager->get($serviceName); + } + protected function setUpIdentityWithClearSession(string $identityProvider): void { $identity = $this->setUpMockService(User::class); From fe7e36d99048112dacdd711ffc909f21784fe7f4 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Fri, 29 Dec 2023 14:32:25 +0000 Subject: [PATCH 19/34] Feat: Setting up Logger initially --- composer.json | 8 +- composer.lock | 106 ++++++++++++++---- .../Controller/Auth/LoginControllerTest.php | 11 ++ 3 files changed, 100 insertions(+), 25 deletions(-) diff --git a/composer.json b/composer.json index 4f5969736..cbc3460f6 100644 --- a/composer.json +++ b/composer.json @@ -4,14 +4,18 @@ "require": { "php": ">=7.4", "dvsa/laminas-config-cloud-parameters": "^0.1.0", - "olcs/olcs-frontend-deps": "~4.206.0" + "laminas/laminas-authentication": "^2.6", + "olcs/olcs-auth": "^5.0@alpha", + "olcs/olcs-common": "^4.206", + "olcs/olcs-frontend-deps": "~4.206.0", + "olcs/olcs-logging": "^5.0@alpha" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.8", "johnkary/phpunit-speedtrap": "^4.0", "laminas/laminas-developer-tools": "*", "laminas/laminas-modulemanager": "^2.9", "mockery/mockery": "^1.6", - "olcs/olcs-logging": "^5.0.0", "phpstan/phpstan": "^0.12.100", "phpunit/phpunit": "^9.6", "san/san-session-toolbar": "*" diff --git a/composer.lock b/composer.lock index 551503003..b10074bc2 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": "ab3fc52d4ccfae0169ca2df43e89a556", + "content-hash": "89ce73cc284e2c41b143d17c924a4162", "packages": [ { "name": "brick/varexporter", @@ -5929,6 +5929,63 @@ } ], "packages-dev": [ + { + "name": "bamarni/composer-bin-plugin", + "version": "1.8.2", + "source": { + "type": "git", + "url": "https://github.com/bamarni/composer-bin-plugin.git", + "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bamarni/composer-bin-plugin/zipball/92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880", + "reference": "92fd7b1e6e9cdae19b0d57369d8ad31a37b6a880", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^2.0", + "php": "^7.2.5 || ^8.0" + }, + "require-dev": { + "composer/composer": "^2.0", + "ext-json": "*", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpunit/phpunit": "^8.5 || ^9.5", + "symfony/console": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", + "symfony/finder": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0", + "symfony/process": "^2.8.52 || ^3.4.35 || ^4.4 || ^5.0 || ^6.0" + }, + "type": "composer-plugin", + "extra": { + "class": "Bamarni\\Composer\\Bin\\BamarniBinPlugin" + }, + "autoload": { + "psr-4": { + "Bamarni\\Composer\\Bin\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "No conflicts for your bin dependencies", + "keywords": [ + "composer", + "conflict", + "dependency", + "executable", + "isolation", + "tool" + ], + "support": { + "issues": "https://github.com/bamarni/composer-bin-plugin/issues", + "source": "https://github.com/bamarni/composer-bin-plugin/tree/1.8.2" + }, + "time": "2022-10-31T08:38:03+00:00" + }, { "name": "doctrine/instantiator", "version": "1.5.0", @@ -6496,23 +6553,23 @@ }, { "name": "phpunit/php-code-coverage", - "version": "9.2.29", + "version": "9.2.30", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76" + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/6a3a87ac2bbe33b25042753df8195ba4aa534c76", - "reference": "6a3a87ac2bbe33b25042753df8195ba4aa534c76", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ca2bd87d2f9215904682a9cb9bb37dda98e76089", + "reference": "ca2bd87d2f9215904682a9cb9bb37dda98e76089", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.15", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3", "phpunit/php-file-iterator": "^3.0.3", "phpunit/php-text-template": "^2.0.2", @@ -6562,7 +6619,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.29" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.30" }, "funding": [ { @@ -6570,7 +6627,7 @@ "type": "github" } ], - "time": "2023-09-19T04:57:46+00:00" + "time": "2023-12-22T06:47:57+00:00" }, { "name": "phpunit/php-file-iterator", @@ -7222,20 +7279,20 @@ }, { "name": "sebastian/complexity", - "version": "2.0.2", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/739b35e53379900cc9ac327b2147867b8b6efd88", - "reference": "739b35e53379900cc9ac327b2147867b8b6efd88", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.7", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -7267,7 +7324,7 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { @@ -7275,7 +7332,7 @@ "type": "github" } ], - "time": "2020-10-26T15:52:27+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", @@ -7549,20 +7606,20 @@ }, { "name": "sebastian/lines-of-code", - "version": "1.0.3", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/c1c2e997aa3146983ed888ad08b15470a2e22ecc", - "reference": "c1c2e997aa3146983ed888ad08b15470a2e22ecc", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^4.6", + "nikic/php-parser": "^4.18 || ^5.0", "php": ">=7.3" }, "require-dev": { @@ -7594,7 +7651,7 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { @@ -7602,7 +7659,7 @@ "type": "github" } ], - "time": "2020-11-28T06:42:11+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", @@ -8161,7 +8218,10 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": [], + "stability-flags": { + "olcs/olcs-auth": 15, + "olcs/olcs-logging": 15 + }, "prefer-stable": true, "prefer-lowest": false, "platform": { diff --git a/test/Olcs/src/Controller/Auth/LoginControllerTest.php b/test/Olcs/src/Controller/Auth/LoginControllerTest.php index 6dce29ef0..26e4cf2a9 100644 --- a/test/Olcs/src/Controller/Auth/LoginControllerTest.php +++ b/test/Olcs/src/Controller/Auth/LoginControllerTest.php @@ -27,6 +27,7 @@ use Olcs\Form\Model\Form\Auth\Login; use Mockery\Adapter\Phpunit\MockeryTestCase; use Common\Test\MocksServicesTrait; +use Olcs\Logging\Log\Logger; class LoginControllerTest extends MockeryTestCase { @@ -75,6 +76,7 @@ class LoginControllerTest extends MockeryTestCase protected function setUp(): void { $this->setUpServiceManager(); + self::setupLogger(); } /** @@ -651,4 +653,13 @@ protected function postRequest(array $data = null, array $query = null): Request $request->setUri('https://localhost'); return $request; } + + private static function setupLogger() + { + $logWriter = new \Laminas\Log\Writer\Mock(); + $logger = new \Laminas\Log\Logger(); + $logger->addWriter($logWriter); + + Logger::setLogger($logger); + } } From 1839cdb4ff6ed119504359f11bc6477a90056beb Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Fri, 29 Dec 2023 15:15:54 +0000 Subject: [PATCH 20/34] Feat: Code standard correct path added --- phpcs.xml.dist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/phpcs.xml.dist b/phpcs.xml.dist index f8d1b146f..e9328f469 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -1,9 +1,9 @@ - ./src + ./module ./test */vendor/* - \ No newline at end of file + From d606562df06fd2ac7a9c52476691f3c017f856e7 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Fri, 29 Dec 2023 16:54:44 +0000 Subject: [PATCH 21/34] chore(deps): updated dependencies --- composer.json | 7 +++++++ composer.lock | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index cbc3460f6..6ad11b984 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,13 @@ "php": ">=7.4", "dvsa/laminas-config-cloud-parameters": "^0.1.0", "laminas/laminas-authentication": "^2.6", + "laminas/laminas-eventmanager": "^2.6", + "laminas/laminas-form": "^2.13", + "laminas/laminas-http": "^2.8", + "laminas/laminas-mvc": "^2.7", + "laminas/laminas-servicemanager": "^2.7", + "laminas/laminas-session": "^2.8", + "laminas/laminas-view": "^2.11", "olcs/olcs-auth": "^5.0@alpha", "olcs/olcs-common": "^4.206", "olcs/olcs-frontend-deps": "~4.206.0", diff --git a/composer.lock b/composer.lock index b10074bc2..7bfde8799 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": "89ce73cc284e2c41b143d17c924a4162", + "content-hash": "a1806e9bf6e3086f9510ca3c45649f2f", "packages": [ { "name": "brick/varexporter", From 5f4f6e5c117acd60e9fae20f7b711d1b3d10888c Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 10:35:50 +0000 Subject: [PATCH 22/34] chore(deps): added new dependencies --- composer.json | 3 ++- composer.lock | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 6ad11b984..3d729712a 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,8 @@ "olcs/olcs-auth": "^5.0@alpha", "olcs/olcs-common": "^4.206", "olcs/olcs-frontend-deps": "~4.206.0", - "olcs/olcs-logging": "^5.0@alpha" + "olcs/olcs-logging": "^5.0@alpha", + "olcs/olcs-transfer": "^5.0@alpha" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8", diff --git a/composer.lock b/composer.lock index 7bfde8799..ab8501259 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": "a1806e9bf6e3086f9510ca3c45649f2f", + "content-hash": "2a41ae8b5e92dafb2bd0ff14b19fd58e", "packages": [ { "name": "brick/varexporter", From 3f73563829e53fbc582625127b0c7c74829c3682 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 11:38:47 +0000 Subject: [PATCH 23/34] chore(deps): update olcs/common to ^4.206.516 --- composer.json | 2 +- composer.lock | 29 +++++++------- vendor-bin/phpcs/composer.lock | 49 +++++++++++++++++------- vendor-bin/phpstan/composer.lock | 2 +- vendor-bin/psalm/composer.lock | 66 ++++++++++++++++---------------- 5 files changed, 86 insertions(+), 62 deletions(-) diff --git a/composer.json b/composer.json index 3d729712a..a7d83d41a 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,7 @@ "laminas/laminas-session": "^2.8", "laminas/laminas-view": "^2.11", "olcs/olcs-auth": "^5.0@alpha", - "olcs/olcs-common": "^4.206", + "olcs/olcs-common": "^4.206.516", "olcs/olcs-frontend-deps": "~4.206.0", "olcs/olcs-logging": "^5.0@alpha", "olcs/olcs-transfer": "^5.0@alpha" diff --git a/composer.lock b/composer.lock index ab8501259..de40a066e 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": "2a41ae8b5e92dafb2bd0ff14b19fd58e", + "content-hash": "e22538fa81e7c182b5622eecced4cb02", "packages": [ { "name": "brick/varexporter", @@ -4977,16 +4977,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v5.4.33", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79" + "reference": "75d568165a65fa7d8124869ec7c3a90424352e6c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/14969a558cd6382b2a12b14b20ef9a851a02da79", - "reference": "14969a558cd6382b2a12b14b20ef9a851a02da79", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/75d568165a65fa7d8124869ec7c3a90424352e6c", + "reference": "75d568165a65fa7d8124869ec7c3a90424352e6c", "shasum": "" }, "require": { @@ -5046,7 +5046,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v5.4.33" + "source": "https://github.com/symfony/dependency-injection/tree/v5.4.34" }, "funding": [ { @@ -5062,7 +5062,7 @@ "type": "tidelift" } ], - "time": "2023-11-30T08:15:37+00:00" + "time": "2023-12-28T09:31:38+00:00" }, { "name": "symfony/deprecation-contracts", @@ -5197,16 +5197,16 @@ }, { "name": "symfony/lock", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/lock.git", - "reference": "a6d7d829f4907134775a0e1b162780e61f80ed87" + "reference": "26ff165e2b501ff7ead2f30a02f7e0eb0975866e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/a6d7d829f4907134775a0e1b162780e61f80ed87", - "reference": "a6d7d829f4907134775a0e1b162780e61f80ed87", + "url": "https://api.github.com/repos/symfony/lock/zipball/26ff165e2b501ff7ead2f30a02f7e0eb0975866e", + "reference": "26ff165e2b501ff7ead2f30a02f7e0eb0975866e", "shasum": "" }, "require": { @@ -5256,7 +5256,7 @@ "semaphore" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.4.32" + "source": "https://github.com/symfony/lock/tree/v5.4.34" }, "funding": [ { @@ -5272,7 +5272,7 @@ "type": "tidelift" } ], - "time": "2023-11-20T15:40:25+00:00" + "time": "2023-12-18T14:56:06+00:00" }, { "name": "symfony/polyfill-ctype", @@ -8220,7 +8220,8 @@ "minimum-stability": "dev", "stability-flags": { "olcs/olcs-auth": 15, - "olcs/olcs-logging": 15 + "olcs/olcs-logging": 15, + "olcs/olcs-transfer": 15 }, "prefer-stable": true, "prefer-lowest": false, diff --git a/vendor-bin/phpcs/composer.lock b/vendor-bin/phpcs/composer.lock index f2d79b264..b30ba9932 100644 --- a/vendor-bin/phpcs/composer.lock +++ b/vendor-bin/phpcs/composer.lock @@ -64,16 +64,16 @@ }, { "name": "squizlabs/php_codesniffer", - "version": "3.7.2", + "version": "3.8.0", "source": { "type": "git", - "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879" + "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879", - "reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879", + "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7", + "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7", "shasum": "" }, "require": { @@ -83,7 +83,7 @@ "php": ">=5.4.0" }, "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0" + "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" }, "bin": [ "bin/phpcs", @@ -102,28 +102,51 @@ "authors": [ { "name": "Greg Sherwood", - "role": "lead" + "role": "Former lead" + }, + { + "name": "Juliette Reinders Folmer", + "role": "Current lead" + }, + { + "name": "Contributors", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" } ], "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/squizlabs/PHP_CodeSniffer", + "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", "keywords": [ "phpcs", "standards", "static analysis" ], "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", + "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", + "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", + "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" }, - "time": "2023-02-22T23:07:41+00:00" + "funding": [ + { + "url": "https://github.com/PHPCSStandards", + "type": "github" + }, + { + "url": "https://github.com/jrfnl", + "type": "github" + }, + { + "url": "https://opencollective.com/php_codesniffer", + "type": "open_collective" + } + ], + "time": "2023-12-08T12:32:31+00:00" } ], "aliases": [], "minimum-stability": "stable", "stability-flags": [], - "prefer-stable": false, + "prefer-stable": true, "prefer-lowest": false, "platform": [], "platform-dev": [], diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock index fa11bfb2a..f7b2daedb 100644 --- a/vendor-bin/phpstan/composer.lock +++ b/vendor-bin/phpstan/composer.lock @@ -73,7 +73,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": [], - "prefer-stable": false, + "prefer-stable": true, "prefer-lowest": false, "platform": [], "platform-dev": [], diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock index f2f233a4d..3b4a0ad76 100644 --- a/vendor-bin/psalm/composer.lock +++ b/vendor-bin/psalm/composer.lock @@ -578,16 +578,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "0.5.1", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623" + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/b58e5a3933e541dc286cc91fc4f3898bbc6f1623", - "reference": "b58e5a3933e541dc286cc91fc4f3898bbc6f1623", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", + "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", "shasum": "" }, "require": { @@ -595,13 +595,13 @@ }, "require-dev": { "fidry/makefile": "^0.2.0", + "fidry/php-cs-fixer-config": "^1.1.2", "phpstan/extension-installer": "^1.2.0", "phpstan/phpstan": "^1.9.2", "phpstan/phpstan-deprecation-rules": "^1.0.0", "phpstan/phpstan-phpunit": "^1.2.2", "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^9.5.26 || ^8.5.31", - "theofidry/php-cs-fixer-config": "^1.0", + "phpunit/phpunit": "^8.5.31 || ^9.5.26", "webmozarts/strict-phpunit": "^7.5" }, "type": "library", @@ -627,7 +627,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/0.5.1" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" }, "funding": [ { @@ -635,7 +635,7 @@ "type": "github" } ], - "time": "2022-12-24T12:35:10+00:00" + "time": "2023-09-17T21:38:23+00:00" }, { "name": "netresearch/jsonmapper", @@ -914,16 +914,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.24.4", + "version": "1.24.5", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496" + "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/6bd0c26f3786cd9b7c359675cb789e35a8e07496", - "reference": "6bd0c26f3786cd9b7c359675cb789e35a8e07496", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc", + "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc", "shasum": "" }, "require": { @@ -955,9 +955,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.24.4" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.24.5" }, - "time": "2023-11-26T18:29:22+00:00" + "time": "2023-12-16T09:33:33+00:00" }, { "name": "psr/container", @@ -1189,16 +1189,16 @@ }, { "name": "symfony/console", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7" + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", - "reference": "c70df1ffaf23a8d340bded3cfab1b86752ad6ed7", + "url": "https://api.github.com/repos/symfony/console/zipball/4b4d8cd118484aa604ec519062113dd87abde18c", + "reference": "4b4d8cd118484aa604ec519062113dd87abde18c", "shasum": "" }, "require": { @@ -1268,7 +1268,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.32" + "source": "https://github.com/symfony/console/tree/v5.4.34" }, "funding": [ { @@ -1284,7 +1284,7 @@ "type": "tidelift" } ], - "time": "2023-11-18T18:23:04+00:00" + "time": "2023-12-08T13:33:03+00:00" }, { "name": "symfony/deprecation-contracts", @@ -1994,16 +1994,16 @@ }, { "name": "symfony/string", - "version": "v5.4.32", + "version": "v5.4.34", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "91bf4453d65d8231688a04376c3a40efe0770f04" + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/91bf4453d65d8231688a04376c3a40efe0770f04", - "reference": "91bf4453d65d8231688a04376c3a40efe0770f04", + "url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061", + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061", "shasum": "" }, "require": { @@ -2060,7 +2060,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.32" + "source": "https://github.com/symfony/string/tree/v5.4.34" }, "funding": [ { @@ -2076,20 +2076,20 @@ "type": "tidelift" } ], - "time": "2023-11-26T13:43:46+00:00" + "time": "2023-12-09T13:20:28+00:00" }, { "name": "vimeo/psalm", - "version": "5.17.0", + "version": "5.18.0", "source": { "type": "git", "url": "https://github.com/vimeo/psalm.git", - "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d" + "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/c620f6e80d0abfca532b00bda366062aaedf6e5d", - "reference": "c620f6e80d0abfca532b00bda366062aaedf6e5d", + "url": "https://api.github.com/repos/vimeo/psalm/zipball/b113f3ed0259fd6e212d87c3df80eec95a6abf19", + "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19", "shasum": "" }, "require": { @@ -2108,7 +2108,7 @@ "ext-tokenizer": "*", "felixfbecker/advanced-json-rpc": "^3.1", "felixfbecker/language-server-protocol": "^1.5.2", - "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1", + "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0", "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", "nikic/php-parser": "^4.16", "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", @@ -2186,7 +2186,7 @@ "issues": "https://github.com/vimeo/psalm/issues", "source": "https://github.com/vimeo/psalm" }, - "time": "2023-12-03T20:21:41+00:00" + "time": "2023-12-16T09:37:35+00:00" }, { "name": "webmozart/assert", @@ -2250,7 +2250,7 @@ "aliases": [], "minimum-stability": "stable", "stability-flags": [], - "prefer-stable": false, + "prefer-stable": true, "prefer-lowest": false, "platform": [], "platform-dev": [], From a12d6c669a2b9b89599832f2f142dfd3c73a4de1 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 14:46:47 +0000 Subject: [PATCH 24/34] chore: removed lock files --- vendor-bin/phpcs/composer.lock | 154 -- vendor-bin/phpstan/composer.lock | 81 -- vendor-bin/psalm/composer.lock | 2258 ------------------------------ 3 files changed, 2493 deletions(-) delete mode 100644 vendor-bin/phpcs/composer.lock delete mode 100644 vendor-bin/phpstan/composer.lock delete mode 100644 vendor-bin/psalm/composer.lock diff --git a/vendor-bin/phpcs/composer.lock b/vendor-bin/phpcs/composer.lock deleted file mode 100644 index b30ba9932..000000000 --- a/vendor-bin/phpcs/composer.lock +++ /dev/null @@ -1,154 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "fb2d7455ef9f963e27a91cd3056c9ca3", - "packages": [], - "packages-dev": [ - { - "name": "dvsa/coding-standards", - "version": "v2.0.0", - "source": { - "type": "git", - "url": "https://github.com/dvsa/php-coding-standards.git", - "reference": "22da6f5cbed2a3ba619d1552727a908fbf0f2098" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dvsa/php-coding-standards/zipball/22da6f5cbed2a3ba619d1552727a908fbf0f2098", - "reference": "22da6f5cbed2a3ba619d1552727a908fbf0f2098", - "shasum": "" - }, - "require": { - "php": "^7.4|^8.0", - "squizlabs/php_codesniffer": "^3.1" - }, - "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0" - }, - "suggest": { - "friendsofphp/php-cs-fixer": "To use the shared coding standards ruleset for PHP CS Fixer" - }, - "type": "library", - "autoload": { - "psr-4": { - "Dvsa\\PhpCodingStandards\\PhpCsFixer\\": "src/Profiles/DVSA/PhpCsFixer" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Shaun Hare", - "email": "shaun.hare@dvsa.gov.uk" - }, - { - "name": "Igor Stimoli", - "email": "igor.stimoli@bjss.com" - }, - { - "name": "Chris Emerson", - "email": "chris.emerson@bjss.com" - } - ], - "description": "Coding Standards used for PHP in the Driver and Vehicle Standards Agency. PSR Compliant.", - "support": { - "issues": "https://github.com/dvsa/php-coding-standards/issues", - "source": "https://github.com/dvsa/php-coding-standards/tree/v2.0.0" - }, - "time": "2022-01-17T15:41:57+00:00" - }, - { - "name": "squizlabs/php_codesniffer", - "version": "3.8.0", - "source": { - "type": "git", - "url": "https://github.com/PHPCSStandards/PHP_CodeSniffer.git", - "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/PHPCSStandards/PHP_CodeSniffer/zipball/5805f7a4e4958dbb5e944ef1e6edae0a303765e7", - "reference": "5805f7a4e4958dbb5e944ef1e6edae0a303765e7", - "shasum": "" - }, - "require": { - "ext-simplexml": "*", - "ext-tokenizer": "*", - "ext-xmlwriter": "*", - "php": ">=5.4.0" - }, - "require-dev": { - "phpunit/phpunit": "^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/phpcs", - "bin/phpcbf" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Greg Sherwood", - "role": "Former lead" - }, - { - "name": "Juliette Reinders Folmer", - "role": "Current lead" - }, - { - "name": "Contributors", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer/graphs/contributors" - } - ], - "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.", - "homepage": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "keywords": [ - "phpcs", - "standards", - "static analysis" - ], - "support": { - "issues": "https://github.com/PHPCSStandards/PHP_CodeSniffer/issues", - "security": "https://github.com/PHPCSStandards/PHP_CodeSniffer/security/policy", - "source": "https://github.com/PHPCSStandards/PHP_CodeSniffer", - "wiki": "https://github.com/PHPCSStandards/PHP_CodeSniffer/wiki" - }, - "funding": [ - { - "url": "https://github.com/PHPCSStandards", - "type": "github" - }, - { - "url": "https://github.com/jrfnl", - "type": "github" - }, - { - "url": "https://opencollective.com/php_codesniffer", - "type": "open_collective" - } - ], - "time": "2023-12-08T12:32:31+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": true, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.6.0" -} diff --git a/vendor-bin/phpstan/composer.lock b/vendor-bin/phpstan/composer.lock deleted file mode 100644 index f7b2daedb..000000000 --- a/vendor-bin/phpstan/composer.lock +++ /dev/null @@ -1,81 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "06a282a9caaa357cc75a987b3fac0f2f", - "packages": [], - "packages-dev": [ - { - "name": "phpstan/phpstan", - "version": "1.10.50", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4", - "reference": "06a98513ac72c03e8366b5a0cb00750b487032e4", - "shasum": "" - }, - "require": { - "php": "^7.2|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "keywords": [ - "dev", - "static analysis" - ], - "support": { - "docs": "https://phpstan.org/user-guide/getting-started", - "forum": "https://github.com/phpstan/phpstan/discussions", - "issues": "https://github.com/phpstan/phpstan/issues", - "security": "https://github.com/phpstan/phpstan/security/policy", - "source": "https://github.com/phpstan/phpstan-src" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2023-12-13T10:59:42+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": true, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.6.0" -} diff --git a/vendor-bin/psalm/composer.lock b/vendor-bin/psalm/composer.lock deleted file mode 100644 index 3b4a0ad76..000000000 --- a/vendor-bin/psalm/composer.lock +++ /dev/null @@ -1,2258 +0,0 @@ -{ - "_readme": [ - "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", - "This file is @generated automatically" - ], - "content-hash": "923324f10d7e82c70b2b528ced5b7eeb", - "packages": [], - "packages-dev": [ - { - "name": "amphp/amp", - "version": "v2.6.2", - "source": { - "type": "git", - "url": "https://github.com/amphp/amp.git", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/amphp/amp/zipball/9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", - "reference": "9d5100cebffa729aaffecd3ad25dc5aeea4f13bb", - "shasum": "" - }, - "require": { - "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": "^7 | ^8 | ^9", - "psalm/phar": "^3.11@dev", - "react/promise": "^2" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.x-dev" - } - }, - "autoload": { - "files": [ - "lib/functions.php", - "lib/Internal/functions.php" - ], - "psr-4": { - "Amp\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Daniel Lowrey", - "email": "rdlowrey@php.net" - }, - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Bob Weinand", - "email": "bobwei9@hotmail.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "A non-blocking concurrency framework for PHP applications.", - "homepage": "https://amphp.org/amp", - "keywords": [ - "async", - "asynchronous", - "awaitable", - "concurrency", - "event", - "event-loop", - "future", - "non-blocking", - "promise" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/amp/issues", - "source": "https://github.com/amphp/amp/tree/v2.6.2" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2022-02-20T17:52:18+00:00" - }, - { - "name": "amphp/byte-stream", - "version": "v1.8.1", - "source": { - "type": "git", - "url": "https://github.com/amphp/byte-stream.git", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/amphp/byte-stream/zipball/acbd8002b3536485c997c4e019206b3f10ca15bd", - "reference": "acbd8002b3536485c997c4e019206b3f10ca15bd", - "shasum": "" - }, - "require": { - "amphp/amp": "^2", - "php": ">=7.1" - }, - "require-dev": { - "amphp/php-cs-fixer-config": "dev-master", - "amphp/phpunit-util": "^1.4", - "friendsofphp/php-cs-fixer": "^2.3", - "jetbrains/phpstorm-stubs": "^2019.3", - "phpunit/phpunit": "^6 || ^7 || ^8", - "psalm/phar": "^3.11.4" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "files": [ - "lib/functions.php" - ], - "psr-4": { - "Amp\\ByteStream\\": "lib" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aaron Piotrowski", - "email": "aaron@trowski.com" - }, - { - "name": "Niklas Keller", - "email": "me@kelunik.com" - } - ], - "description": "A stream abstraction to make working with non-blocking I/O simple.", - "homepage": "http://amphp.org/byte-stream", - "keywords": [ - "amp", - "amphp", - "async", - "io", - "non-blocking", - "stream" - ], - "support": { - "irc": "irc://irc.freenode.org/amphp", - "issues": "https://github.com/amphp/byte-stream/issues", - "source": "https://github.com/amphp/byte-stream/tree/v1.8.1" - }, - "funding": [ - { - "url": "https://github.com/amphp", - "type": "github" - } - ], - "time": "2021-03-30T17:13:30+00:00" - }, - { - "name": "composer/pcre", - "version": "3.1.1", - "source": { - "type": "git", - "url": "https://github.com/composer/pcre.git", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "reference": "00104306927c7a0919b4ced2aaa6782c1e61a3c9", - "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.1.1" - }, - "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": "2023-10-11T07:11:09+00:00" - }, - { - "name": "composer/semver", - "version": "3.4.0", - "source": { - "type": "git", - "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", - "shasum": "" - }, - "require": { - "php": "^5.3.2 || ^7.0 || ^8.0" - }, - "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "Composer\\Semver\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nils Adermann", - "email": "naderman@naderman.de", - "homepage": "http://www.naderman.de" - }, - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "http://seld.be" - }, - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com", - "homepage": "http://robbast.nl" - } - ], - "description": "Semver library that offers utilities, version constraint parsing and validation.", - "keywords": [ - "semantic", - "semver", - "validation", - "versioning" - ], - "support": { - "irc": "ircs://irc.libera.chat:6697/composer", - "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" - }, - "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": "2023-08-31T09:50:34+00:00" - }, - { - "name": "composer/xdebug-handler", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", - "reference": "ced299686f41dce890debac69273b47ffe98a40c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", - "reference": "ced299686f41dce890debac69273b47ffe98a40c", - "shasum": "" - }, - "require": { - "composer/pcre": "^1 || ^2 || ^3", - "php": "^7.2.5 || ^8.0", - "psr/log": "^1 || ^2 || ^3" - }, - "require-dev": { - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.1", - "symfony/phpunit-bridge": "^6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Composer\\XdebugHandler\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "John Stevenson", - "email": "john-stevenson@blueyonder.co.uk" - } - ], - "description": "Restarts a process without Xdebug.", - "keywords": [ - "Xdebug", - "performance" - ], - "support": { - "irc": "irc://irc.freenode.org/composer", - "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/3.0.3" - }, - "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-02-25T21:32:43+00:00" - }, - { - "name": "dnoegel/php-xdg-base-dir", - "version": "v0.1.1", - "source": { - "type": "git", - "url": "https://github.com/dnoegel/php-xdg-base-dir.git", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dnoegel/php-xdg-base-dir/zipball/8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "reference": "8f8a6e48c5ecb0f991c2fdcf5f154a47d85f9ffd", - "shasum": "" - }, - "require": { - "php": ">=5.3.2" - }, - "require-dev": { - "phpunit/phpunit": "~7.0|~6.0|~5.0|~4.8.35" - }, - "type": "library", - "autoload": { - "psr-4": { - "XdgBaseDir\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "implementation of xdg base directory specification for php", - "support": { - "issues": "https://github.com/dnoegel/php-xdg-base-dir/issues", - "source": "https://github.com/dnoegel/php-xdg-base-dir/tree/v0.1.1" - }, - "time": "2019-12-04T15:06:13+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "1.4.10 || 1.10.15", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "0.18.4", - "psr/log": "^1 || ^2 || ^3", - "vimeo/psalm": "4.30.0 || 5.12.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/1.1.2" - }, - "time": "2023-09-27T20:04:15+00:00" - }, - { - "name": "felixfbecker/advanced-json-rpc", - "version": "v3.2.1", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-advanced-json-rpc.git", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-advanced-json-rpc/zipball/b5f37dbff9a8ad360ca341f3240dc1c168b45447", - "reference": "b5f37dbff9a8ad360ca341f3240dc1c168b45447", - "shasum": "" - }, - "require": { - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "php": "^7.1 || ^8.0", - "phpdocumentor/reflection-docblock": "^4.3.4 || ^5.0.0" - }, - "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "AdvancedJsonRpc\\": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "A more advanced JSONRPC implementation", - "support": { - "issues": "https://github.com/felixfbecker/php-advanced-json-rpc/issues", - "source": "https://github.com/felixfbecker/php-advanced-json-rpc/tree/v3.2.1" - }, - "time": "2021-06-11T22:34:44+00:00" - }, - { - "name": "felixfbecker/language-server-protocol", - "version": "v1.5.2", - "source": { - "type": "git", - "url": "https://github.com/felixfbecker/php-language-server-protocol.git", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/6e82196ffd7c62f7794d778ca52b69feec9f2842", - "reference": "6e82196ffd7c62f7794d778ca52b69feec9f2842", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "require-dev": { - "phpstan/phpstan": "*", - "squizlabs/php_codesniffer": "^3.1", - "vimeo/psalm": "^4.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "LanguageServerProtocol\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "ISC" - ], - "authors": [ - { - "name": "Felix Becker", - "email": "felix.b@outlook.com" - } - ], - "description": "PHP classes for the Language Server Protocol", - "keywords": [ - "language", - "microsoft", - "php", - "server" - ], - "support": { - "issues": "https://github.com/felixfbecker/php-language-server-protocol/issues", - "source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.2" - }, - "time": "2022-03-02T22:36:06+00:00" - }, - { - "name": "fidry/cpu-core-counter", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/85193c0b0cb5c47894b5eaec906e946f054e7077", - "reference": "85193c0b0cb5c47894b5eaec906e946f054e7077", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "fidry/makefile": "^0.2.0", - "fidry/php-cs-fixer-config": "^1.1.2", - "phpstan/extension-installer": "^1.2.0", - "phpstan/phpstan": "^1.9.2", - "phpstan/phpstan-deprecation-rules": "^1.0.0", - "phpstan/phpstan-phpunit": "^1.2.2", - "phpstan/phpstan-strict-rules": "^1.4.4", - "phpunit/phpunit": "^8.5.31 || ^9.5.26", - "webmozarts/strict-phpunit": "^7.5" - }, - "type": "library", - "autoload": { - "psr-4": { - "Fidry\\CpuCoreCounter\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "ThĆ©o FIDRY", - "email": "theo.fidry@gmail.com" - } - ], - "description": "Tiny utility to get the number of CPU cores.", - "keywords": [ - "CPU", - "core" - ], - "support": { - "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.0.0" - }, - "funding": [ - { - "url": "https://github.com/theofidry", - "type": "github" - } - ], - "time": "2023-09-17T21:38:23+00:00" - }, - { - "name": "netresearch/jsonmapper", - "version": "v4.2.0", - "source": { - "type": "git", - "url": "https://github.com/cweiske/jsonmapper.git", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cweiske/jsonmapper/zipball/f60565f8c0566a31acf06884cdaa591867ecc956", - "reference": "f60565f8c0566a31acf06884cdaa591867ecc956", - "shasum": "" - }, - "require": { - "ext-json": "*", - "ext-pcre": "*", - "ext-reflection": "*", - "ext-spl": "*", - "php": ">=7.1" - }, - "require-dev": { - "phpunit/phpunit": "~7.5 || ~8.0 || ~9.0", - "squizlabs/php_codesniffer": "~3.5" - }, - "type": "library", - "autoload": { - "psr-0": { - "JsonMapper": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "OSL-3.0" - ], - "authors": [ - { - "name": "Christian Weiske", - "email": "cweiske@cweiske.de", - "homepage": "http://github.com/cweiske/jsonmapper/", - "role": "Developer" - } - ], - "description": "Map nested JSON structures onto PHP classes", - "support": { - "email": "cweiske@cweiske.de", - "issues": "https://github.com/cweiske/jsonmapper/issues", - "source": "https://github.com/cweiske/jsonmapper/tree/v4.2.0" - }, - "time": "2023-04-09T17:37:40+00:00" - }, - { - "name": "nikic/php-parser", - "version": "v4.18.0", - "source": { - "type": "git", - "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/1bcbb2179f97633e98bbbc87044ee2611c7d7999", - "reference": "1bcbb2179f97633e98bbbc87044ee2611c7d7999", - "shasum": "" - }, - "require": { - "ext-tokenizer": "*", - "php": ">=7.0" - }, - "require-dev": { - "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^6.5 || ^7.0 || ^8.0 || ^9.0" - }, - "bin": [ - "bin/php-parse" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.9-dev" - } - }, - "autoload": { - "psr-4": { - "PhpParser\\": "lib/PhpParser" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Nikita Popov" - } - ], - "description": "A PHP parser written in PHP", - "keywords": [ - "parser", - "php" - ], - "support": { - "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.18.0" - }, - "time": "2023-12-10T21:03:43+00:00" - }, - { - "name": "phpdocumentor/reflection-common", - "version": "2.2.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-2.x": "2.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Jaap van Otterdijk", - "email": "opensource@ijaap.nl" - } - ], - "description": "Common reflection classes used by phpdocumentor to reflect the code structure", - "homepage": "http://www.phpdoc.org", - "keywords": [ - "FQSEN", - "phpDocumentor", - "phpdoc", - "reflection", - "static analysis" - ], - "support": { - "issues": "https://github.com/phpDocumentor/ReflectionCommon/issues", - "source": "https://github.com/phpDocumentor/ReflectionCommon/tree/2.x" - }, - "time": "2020-06-27T09:03:43+00:00" - }, - { - "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", - "shasum": "" - }, - "require": { - "ext-filter": "*", - "php": "^7.2 || ^8.0", - "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", - "webmozart/assert": "^1.9.1" - }, - "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "5.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - }, - { - "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" - } - ], - "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/5.3.0" - }, - "time": "2021-10-19T17:43:47+00:00" - }, - { - "name": "phpdocumentor/type-resolver", - "version": "1.7.3", - "source": { - "type": "git", - "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "reference": "3219c6ee25c9ea71e3d9bbaf39c67c9ebd499419", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^1.0", - "php": "^7.4 || ^8.0", - "phpdocumentor/reflection-common": "^2.0", - "phpstan/phpdoc-parser": "^1.13" - }, - "require-dev": { - "ext-tokenizer": "*", - "phpbench/phpbench": "^1.2", - "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "^1.8", - "phpstan/phpstan-phpunit": "^1.1", - "phpunit/phpunit": "^9.5", - "rector/rector": "^0.13.9", - "vimeo/psalm": "^4.25" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "phpDocumentor\\Reflection\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Mike van Riel", - "email": "me@mikevanriel.com" - } - ], - "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.7.3" - }, - "time": "2023-08-12T11:01:26+00:00" - }, - { - "name": "phpstan/phpdoc-parser", - "version": "1.24.5", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/fedf211ff14ec8381c9bf5714e33a7a552dd1acc", - "reference": "fedf211ff14ec8381c9bf5714e33a7a552dd1acc", - "shasum": "" - }, - "require": { - "php": "^7.2 || ^8.0" - }, - "require-dev": { - "doctrine/annotations": "^2.0", - "nikic/php-parser": "^4.15", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^1.5", - "phpstan/phpstan-phpunit": "^1.1", - "phpstan/phpstan-strict-rules": "^1.0", - "phpunit/phpunit": "^9.5", - "symfony/process": "^5.2" - }, - "type": "library", - "autoload": { - "psr-4": { - "PHPStan\\PhpDocParser\\": [ - "src/" - ] - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "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.24.5" - }, - "time": "2023-12-16T09:33:33+00:00" - }, - { - "name": "psr/container", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", - "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", - "shasum": "" - }, - "require": { - "php": ">=7.4.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Psr\\Container\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", - "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" - ], - "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/1.1.2" - }, - "time": "2021-11-05T16:50:12+00:00" - }, - { - "name": "psr/log", - "version": "1.1.4", - "source": { - "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", - "shasum": "" - }, - "require": { - "php": ">=5.3.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", - "keywords": [ - "log", - "psr", - "psr-3" - ], - "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" - }, - "time": "2021-05-03T11:20:27+00:00" - }, - { - "name": "sebastian/diff", - "version": "4.0.5", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "reference": "74be17022044ebaaecfdf0c5cd504fc9cd5a7131", - "shasum": "" - }, - "require": { - "php": ">=7.3" - }, - "require-dev": { - "phpunit/phpunit": "^9.3", - "symfony/process": "^4.2 || ^5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "4.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, - { - "name": "Kore Nordmann", - "email": "mail@kore-nordmann.de" - } - ], - "description": "Diff implementation", - "homepage": "https://github.com/sebastianbergmann/diff", - "keywords": [ - "diff", - "udiff", - "unidiff", - "unified diff" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.5" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - } - ], - "time": "2023-05-07T05:35:17+00:00" - }, - { - "name": "spatie/array-to-xml", - "version": "2.17.1", - "source": { - "type": "git", - "url": "https://github.com/spatie/array-to-xml.git", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/spatie/array-to-xml/zipball/5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", - "reference": "5cbec9c6ab17e320c58a259f0cebe88bde4a7c46", - "shasum": "" - }, - "require": { - "ext-dom": "*", - "php": "^7.4|^8.0" - }, - "require-dev": { - "mockery/mockery": "^1.2", - "pestphp/pest": "^1.21", - "phpunit/phpunit": "^9.0", - "spatie/pest-plugin-snapshots": "^1.1" - }, - "type": "library", - "autoload": { - "psr-4": { - "Spatie\\ArrayToXml\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Freek Van der Herten", - "email": "freek@spatie.be", - "homepage": "https://freek.dev", - "role": "Developer" - } - ], - "description": "Convert an array to xml", - "homepage": "https://github.com/spatie/array-to-xml", - "keywords": [ - "array", - "convert", - "xml" - ], - "support": { - "source": "https://github.com/spatie/array-to-xml/tree/2.17.1" - }, - "funding": [ - { - "url": "https://spatie.be/open-source/support-us", - "type": "custom" - }, - { - "url": "https://github.com/spatie", - "type": "github" - } - ], - "time": "2022-12-26T08:22:07+00:00" - }, - { - "name": "symfony/console", - "version": "v5.4.34", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "4b4d8cd118484aa604ec519062113dd87abde18c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/4b4d8cd118484aa604ec519062113dd87abde18c", - "reference": "4b4d8cd118484aa604ec519062113dd87abde18c", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-mbstring": "~1.0", - "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", - "symfony/lock": "<4.4", - "symfony/process": "<4.4" - }, - "provide": { - "psr/log-implementation": "1.0|2.0" - }, - "require-dev": { - "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", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "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 the creation of beautiful and testable command line interfaces", - "homepage": "https://symfony.com", - "keywords": [ - "cli", - "command-line", - "console", - "terminal" - ], - "support": { - "source": "https://github.com/symfony/console/tree/v5.4.34" - }, - "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": "2023-12-08T13:33:03+00:00" - }, - { - "name": "symfony/deprecation-contracts", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "reference": "e8b495ea28c1d97b5e0c121748d6f9b53d075c66", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "files": [ - "function.php" - ] - }, - "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": "A generic function and convention to trigger deprecation notices", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v2.5.2" - }, - "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/filesystem", - "version": "v5.4.25", - "source": { - "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "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": "Provides basic utilities for the filesystem", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.25" - }, - "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": "2023-05-31T13:04:02+00:00" - }, - { - "name": "symfony/polyfill-ctype", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-ctype": "*" - }, - "suggest": { - "ext-ctype": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill for ctype functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "ctype", - "polyfill", - "portable" - ], - "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-intl-grapheme", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "875e90aeea2777b6f135677f618529449334a612" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", - "reference": "875e90aeea2777b6f135677f618529449334a612", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Grapheme\\": "" - } - }, - "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 for intl's grapheme_* functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "grapheme", - "intl", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-intl-normalizer", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "suggest": { - "ext-intl": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Intl\\Normalizer\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "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 for intl's Normalizer class and related functions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "intl", - "normalizer", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-mbstring", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "42292d99c55abe617799667f454222c54c60e229" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/42292d99c55abe617799667f454222c54c60e229", - "reference": "42292d99c55abe617799667f454222c54c60e229", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "provide": { - "ext-mbstring": "*" - }, - "suggest": { - "ext-mbstring": "For best performance" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - } - }, - "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 for the Mbstring extension", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.28.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": "2023-07-28T09:04:16+00:00" - }, - { - "name": "symfony/polyfill-php73", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "reference": "fe2f306d1d9d346a7fee353d0d5012e401e984b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php73\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "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.3+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/polyfill-php80", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "reference": "6caa57379c4aec19c0a12a38b59b26487dcfe4b5", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-dev" - }, - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php80\\": "" - }, - "classmap": [ - "Resources/stubs" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ion Bazan", - "email": "ion.bazan@gmail.com" - }, - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/service-contracts", - "version": "v2.5.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/service-contracts.git", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/container": "^1.1", - "symfony/deprecation-contracts": "^2.1|^3" - }, - "conflict": { - "ext-psr": "<1.1|>=2" - }, - "suggest": { - "symfony/service-implementation": "" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.5-dev" - }, - "thanks": { - "name": "symfony/contracts", - "url": "https://github.com/symfony/contracts" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Contracts\\Service\\": "" - } - }, - "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": "Generic abstractions related to writing services", - "homepage": "https://symfony.com", - "keywords": [ - "abstractions", - "contracts", - "decoupling", - "interfaces", - "interoperability", - "standards" - ], - "support": { - "source": "https://github.com/symfony/service-contracts/tree/v2.5.2" - }, - "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-05-30T19:17:29+00:00" - }, - { - "name": "symfony/string", - "version": "v5.4.34", - "source": { - "type": "git", - "url": "https://github.com/symfony/string.git", - "reference": "e3f98bfc7885c957488f443df82d97814a3ce061" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061", - "reference": "e3f98bfc7885c957488f443df82d97814a3ce061", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-intl-grapheme": "~1.0", - "symfony/polyfill-intl-normalizer": "~1.0", - "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|^6.0", - "symfony/http-client": "^4.4|^5.0|^6.0", - "symfony/translation-contracts": "^1.1|^2", - "symfony/var-exporter": "^4.4|^5.0|^6.0" - }, - "type": "library", - "autoload": { - "files": [ - "Resources/functions.php" - ], - "psr-4": { - "Symfony\\Component\\String\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "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": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", - "homepage": "https://symfony.com", - "keywords": [ - "grapheme", - "i18n", - "string", - "unicode", - "utf-8", - "utf8" - ], - "support": { - "source": "https://github.com/symfony/string/tree/v5.4.34" - }, - "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": "2023-12-09T13:20:28+00:00" - }, - { - "name": "vimeo/psalm", - "version": "5.18.0", - "source": { - "type": "git", - "url": "https://github.com/vimeo/psalm.git", - "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/vimeo/psalm/zipball/b113f3ed0259fd6e212d87c3df80eec95a6abf19", - "reference": "b113f3ed0259fd6e212d87c3df80eec95a6abf19", - "shasum": "" - }, - "require": { - "amphp/amp": "^2.4.2", - "amphp/byte-stream": "^1.5", - "composer-runtime-api": "^2", - "composer/semver": "^1.4 || ^2.0 || ^3.0", - "composer/xdebug-handler": "^2.0 || ^3.0", - "dnoegel/php-xdg-base-dir": "^0.1.1", - "ext-ctype": "*", - "ext-dom": "*", - "ext-json": "*", - "ext-libxml": "*", - "ext-mbstring": "*", - "ext-simplexml": "*", - "ext-tokenizer": "*", - "felixfbecker/advanced-json-rpc": "^3.1", - "felixfbecker/language-server-protocol": "^1.5.2", - "fidry/cpu-core-counter": "^0.4.1 || ^0.5.1 || ^1.0.0", - "netresearch/jsonmapper": "^1.0 || ^2.0 || ^3.0 || ^4.0", - "nikic/php-parser": "^4.16", - "php": "^7.4 || ~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0", - "sebastian/diff": "^4.0 || ^5.0", - "spatie/array-to-xml": "^2.17.0 || ^3.0", - "symfony/console": "^4.1.6 || ^5.0 || ^6.0 || ^7.0", - "symfony/filesystem": "^5.4 || ^6.0 || ^7.0" - }, - "conflict": { - "nikic/php-parser": "4.17.0" - }, - "provide": { - "psalm/psalm": "self.version" - }, - "require-dev": { - "amphp/phpunit-util": "^2.0", - "bamarni/composer-bin-plugin": "^1.4", - "brianium/paratest": "^6.9", - "ext-curl": "*", - "mockery/mockery": "^1.5", - "nunomaduro/mock-final-classes": "^1.1", - "php-parallel-lint/php-parallel-lint": "^1.2", - "phpstan/phpdoc-parser": "^1.6", - "phpunit/phpunit": "^9.6", - "psalm/plugin-mockery": "^1.1", - "psalm/plugin-phpunit": "^0.18", - "slevomat/coding-standard": "^8.4", - "squizlabs/php_codesniffer": "^3.6", - "symfony/process": "^4.4 || ^5.0 || ^6.0 || ^7.0" - }, - "suggest": { - "ext-curl": "In order to send data to shepherd", - "ext-igbinary": "^2.0.5 is required, used to serialize caching data" - }, - "bin": [ - "psalm", - "psalm-language-server", - "psalm-plugin", - "psalm-refactor", - "psalter" - ], - "type": "project", - "extra": { - "branch-alias": { - "dev-master": "5.x-dev", - "dev-4.x": "4.x-dev", - "dev-3.x": "3.x-dev", - "dev-2.x": "2.x-dev", - "dev-1.x": "1.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psalm\\": "src/Psalm/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Matthew Brown" - } - ], - "description": "A static analysis tool for finding errors in PHP applications", - "keywords": [ - "code", - "inspection", - "php", - "static analysis" - ], - "support": { - "docs": "https://psalm.dev/docs", - "issues": "https://github.com/vimeo/psalm/issues", - "source": "https://github.com/vimeo/psalm" - }, - "time": "2023-12-16T09:37:35+00:00" - }, - { - "name": "webmozart/assert", - "version": "1.11.0", - "source": { - "type": "git", - "url": "https://github.com/webmozarts/assert.git", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", - "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", - "shasum": "" - }, - "require": { - "ext-ctype": "*", - "php": "^7.2 || ^8.0" - }, - "conflict": { - "phpstan/phpstan": "<0.12.20", - "vimeo/psalm": "<4.6.1 || 4.6.2" - }, - "require-dev": { - "phpunit/phpunit": "^8.5.13" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.10-dev" - } - }, - "autoload": { - "psr-4": { - "Webmozart\\Assert\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "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.11.0" - }, - "time": "2022-06-03T18:03:27+00:00" - } - ], - "aliases": [], - "minimum-stability": "stable", - "stability-flags": [], - "prefer-stable": true, - "prefer-lowest": false, - "platform": [], - "platform-dev": [], - "plugin-api-version": "2.6.0" -} From febb746a8d3728cbfd20e760127828dbcf9889be Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 14:55:51 +0000 Subject: [PATCH 25/34] chore(deps): updated packages for composer to pick appropriate version --- composer.json | 14 ++++++-------- composer.lock | 10 +++------- 2 files changed, 9 insertions(+), 15 deletions(-) diff --git a/composer.json b/composer.json index a7d83d41a..d1346da17 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "olcs/olcs-selfserve", "description": "OLCS Self Service Web Site", "require": { - "php": ">=7.4", + "php": "^7.4", "dvsa/laminas-config-cloud-parameters": "^0.1.0", "laminas/laminas-authentication": "^2.6", "laminas/laminas-eventmanager": "^2.6", @@ -12,17 +12,16 @@ "laminas/laminas-servicemanager": "^2.7", "laminas/laminas-session": "^2.8", "laminas/laminas-view": "^2.11", - "olcs/olcs-auth": "^5.0@alpha", - "olcs/olcs-common": "^4.206.516", + "olcs/olcs-auth": "^5.0.0", + "olcs/olcs-common": "~4.206.516", "olcs/olcs-frontend-deps": "~4.206.0", - "olcs/olcs-logging": "^5.0@alpha", - "olcs/olcs-transfer": "^5.0@alpha" + "olcs/olcs-logging": "^5.0.0", + "olcs/olcs-transfer": "^5.0.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8", "johnkary/phpunit-speedtrap": "^4.0", "laminas/laminas-developer-tools": "*", - "laminas/laminas-modulemanager": "^2.9", "mockery/mockery": "^1.6", "phpstan/phpstan": "^0.12.100", "phpunit/phpunit": "^9.6", @@ -50,8 +49,7 @@ "sort-packages": true, "allow-plugins": { "bamarni/composer-bin-plugin": true, - "laminas/laminas-dependency-plugin": true, - "elendev/composer-push": true + "laminas/laminas-dependency-plugin": true } }, "scripts": { diff --git a/composer.lock b/composer.lock index de40a066e..b697926f7 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": "e22538fa81e7c182b5622eecced4cb02", + "content-hash": "f26aff6a20bef95c7412582ae436a3c6", "packages": [ { "name": "brick/varexporter", @@ -8218,15 +8218,11 @@ ], "aliases": [], "minimum-stability": "dev", - "stability-flags": { - "olcs/olcs-auth": 15, - "olcs/olcs-logging": 15, - "olcs/olcs-transfer": 15 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": ">=7.4" + "php": "^7.4" }, "platform-dev": [], "plugin-api-version": "2.6.0" From 31351200848113f5f58911eafb9510c02b4192be Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 14:56:40 +0000 Subject: [PATCH 26/34] chore: updated .gitignore --- .github/workflows/cd.yaml | 2 +- .gitignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 7b72cee22..5575cc46c 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -21,4 +21,4 @@ jobs: id: release with: release-type: php - package-name: olcs-auth + package-name: olcs-selfserve diff --git a/.gitignore b/.gitignore index 0d7df6e1d..4442103b3 100644 --- a/.gitignore +++ b/.gitignore @@ -17,6 +17,7 @@ node_modules .vscode/ test/coverage/ .scannerwork/ +/vendor-bin/*/composer.lock .phpunit.result.cache # Non-dist files for the static analysis. From aa78409465fd4e4b2bbfff73d78293b5cb8528a2 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Tue, 2 Jan 2024 22:41:36 +0000 Subject: [PATCH 27/34] chore(deps): added, removed and updated packages as required and need accordingly --- composer.json | 2 +- .../Form/BusRegApplicationsFilterFormTest.php | 2 +- ...sRegApplicationsOperatorFilterFormTest.php | 2 +- .../Form/Model/Form/BusRegBrowseFormTest.php | 2 +- .../BusRegRegistrationsFilterFormTest.php | 2 +- .../Form/Model/Form/EbsrPackUploadTest.php | 2 +- .../src/Form/Model/Form/FeePaymentTest.php | 2 +- .../Model/Form/Lva/AddGoodsVehicleTest.php | 2 +- .../Form/Lva/ApplicationUndertakingsTest.php | 2 +- .../Model/Form/Lva/EditGoodsVehicleTest.php | 2 +- .../src/Form/Model/Form/Lva/NewTmUserTest.php | 2 +- .../Form/Lva/VariationUndertakingsTest.php | 2 +- .../src/Form/Model/Form/MyDetailsTest.php | 2 +- .../src/Form/Model/Form/SearchFilterTest.php | 2 +- .../Form/Model/Form/SearchOperatorTest.php | 2 +- .../src/Form/Model/Form/SimpleSearchTest.php | 2 +- .../Model/Form/Surrender/CurrentDiscsTest.php | 2 +- .../Form/Surrender/OperatorLicenceTest.php | 2 +- .../TransportManagerApplicationResendTest.php | 2 +- .../Model/Form/UserForgotUsernameTest.php | 2 +- .../Form/UserRegistrationAddressTest.php | 2 +- .../Form/Model/Form/UserRegistrationTest.php | 2 +- test/Olcs/src/Form/Model/Form/UserTest.php | 2 +- .../Form/Model/Form/Vehicle/OCRSOptInTest.php | 2 +- .../AbstractFormValidationTestCase.php | 65 +++++++++---------- .../Model/Form/DeclineApplicationFormTest.php | 2 +- .../Model/Form/LicenceSelectionFormTest.php | 2 +- 27 files changed, 57 insertions(+), 60 deletions(-) rename test/Olcs/src/{Controller => TestHelpers}/AbstractFormValidationTestCase.php (99%) diff --git a/composer.json b/composer.json index d1346da17..6d0e865db 100644 --- a/composer.json +++ b/composer.json @@ -57,7 +57,7 @@ "post-install-cmd": [ "@composer bin all install" ], - "test": "phpunit", + "test": "phpunit --stop-on-failure", "phpcs": "phpcs", "psalm": "psalm", "phpstan": "phpstan", diff --git a/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php index 063f736f6..39e26d5b0 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegApplicationsFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class BusRegApplicationsFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php index 52dd98a15..ec833ed87 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegApplicationsOperatorFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class BusRegApplicationsOperatorFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php index 4a4140ded..e04dd6b69 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegBrowseFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class BusRegBrowseFormTest diff --git a/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php b/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php index 4cefb012b..1ab0b62c3 100644 --- a/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php +++ b/test/Olcs/src/Form/Model/Form/BusRegRegistrationsFilterFormTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class BusRegRegistrationsFilterFormTest diff --git a/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php b/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php index 71da02645..4ed83f3ff 100644 --- a/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php +++ b/test/Olcs/src/Form/Model/Form/EbsrPackUploadTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class EbsrPackUploadTest diff --git a/test/Olcs/src/Form/Model/Form/FeePaymentTest.php b/test/Olcs/src/Form/Model/Form/FeePaymentTest.php index 80714754e..dd62ed076 100644 --- a/test/Olcs/src/Form/Model/Form/FeePaymentTest.php +++ b/test/Olcs/src/Form/Model/Form/FeePaymentTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class FeePaymentTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php b/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php index 7775652f8..b4ba624ad 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/AddGoodsVehicleTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class AddGoodsVehicleTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php b/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php index 8375a840e..539879f4e 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/ApplicationUndertakingsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class ApplicationUndertakingsTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php b/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php index e0c75b068..2cdf5f0dd 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/EditGoodsVehicleTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class EditGoodsVehicleTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php b/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php index b18793a63..a51d4adc7 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/NewTmUserTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class NewTmUserTest diff --git a/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php b/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php index 4569c77bc..26c8af5bb 100644 --- a/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php +++ b/test/Olcs/src/Form/Model/Form/Lva/VariationUndertakingsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form\Lva; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class VariationUndertakingsTest diff --git a/test/Olcs/src/Form/Model/Form/MyDetailsTest.php b/test/Olcs/src/Form/Model/Form/MyDetailsTest.php index 3c5ac91a2..b5c8b515e 100644 --- a/test/Olcs/src/Form/Model/Form/MyDetailsTest.php +++ b/test/Olcs/src/Form/Model/Form/MyDetailsTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class MyDetailsTest diff --git a/test/Olcs/src/Form/Model/Form/SearchFilterTest.php b/test/Olcs/src/Form/Model/Form/SearchFilterTest.php index 90f1fdeaa..3229cd726 100644 --- a/test/Olcs/src/Form/Model/Form/SearchFilterTest.php +++ b/test/Olcs/src/Form/Model/Form/SearchFilterTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class SearchFilterTest diff --git a/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php b/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php index 7a11c428c..e768f5e07 100644 --- a/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php +++ b/test/Olcs/src/Form/Model/Form/SearchOperatorTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class SearchOperatorTest diff --git a/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php b/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php index ef5a4c088..561b9109f 100644 --- a/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php +++ b/test/Olcs/src/Form/Model/Form/SimpleSearchTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class SimpleSearchTest diff --git a/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php b/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php index c1a5d6fac..4c8fc79f0 100644 --- a/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php +++ b/test/Olcs/src/Form/Model/Form/Surrender/CurrentDiscsTest.php @@ -4,7 +4,7 @@ use Common\Form\Elements\Custom\OlcsCheckbox; use Common\Form\Elements\Types\HtmlTranslated; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; use Olcs\Form\Model\Form\Surrender\CurrentDiscs\CurrentDiscs; use Laminas\Form\Element\Button; use Laminas\Form\Element\Checkbox; diff --git a/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php b/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php index 71a08dbae..665fa72f9 100644 --- a/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php +++ b/test/Olcs/src/Form/Model/Form/Surrender/OperatorLicenceTest.php @@ -5,7 +5,7 @@ use Common\Form\Elements\InputFilters\ActionButton; use Common\Form\Elements\Types\Radio; use Common\Form\Elements\Types\HtmlTranslated; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; use Laminas\Form\Element\Button; use Laminas\Form\Element\Textarea; diff --git a/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php b/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php index 0e38c6e03..e31ff1fe8 100644 --- a/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php +++ b/test/Olcs/src/Form/Model/Form/TransportManagerApplicationResendTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class TransportManagerApplicationResendTest diff --git a/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php b/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php index 98f223d2c..662de75cf 100644 --- a/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php +++ b/test/Olcs/src/Form/Model/Form/UserForgotUsernameTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class UserForgotUsernameTest diff --git a/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php b/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php index a8c73a160..187ba165c 100644 --- a/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php +++ b/test/Olcs/src/Form/Model/Form/UserRegistrationAddressTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class UserRegistrationAddressTest diff --git a/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php b/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php index dcb1addd9..e49b2cd62 100644 --- a/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php +++ b/test/Olcs/src/Form/Model/Form/UserRegistrationTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class UserRegistrationTest diff --git a/test/Olcs/src/Form/Model/Form/UserTest.php b/test/Olcs/src/Form/Model/Form/UserTest.php index 80cf1ca94..1539ec3ae 100644 --- a/test/Olcs/src/Form/Model/Form/UserTest.php +++ b/test/Olcs/src/Form/Model/Form/UserTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class UserTest diff --git a/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php b/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php index fdb2f8c6d..50ee77258 100644 --- a/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php +++ b/test/Olcs/src/Form/Model/Form/Vehicle/OCRSOptInTest.php @@ -2,7 +2,7 @@ namespace OlcsTest\Form\Model\Form; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class OCRSOptInTest diff --git a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php b/test/Olcs/src/TestHelpers/AbstractFormValidationTestCase.php similarity index 99% rename from test/Olcs/src/Controller/AbstractFormValidationTestCase.php rename to test/Olcs/src/TestHelpers/AbstractFormValidationTestCase.php index 9df27590e..3fa964725 100644 --- a/test/Olcs/src/Controller/AbstractFormValidationTestCase.php +++ b/test/Olcs/src/TestHelpers/AbstractFormValidationTestCase.php @@ -1,5 +1,5 @@ serviceManager === null) { - $this->serviceManager = self::getRealServiceManager(); + + $this->serviceManager = self::getRealServiceManager(); + + // inject a real string helper + $this->serviceManager->setAllowOverride(true); $this->serviceManager->get('FormElementManager')->setFactory( @@ -124,6 +128,30 @@ function ($serviceLocator, $name, $requestedName) { return $this->serviceManager; } + public static function getRealServiceManager() + { + $serviceManager = new ServiceManager(new ServiceManagerConfig()); + $serviceManager->setService('ApplicationConfig', include __DIR__. '/../../../../config/application.config.php'); + $serviceManager->get('ModuleManager')->loadModules(); + $serviceManager->setAllowOverride(true); + + $mockTranslationLoader = m::mock(TranslationLoader::class); + $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); + $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); + $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); + + $pluginManager = new LoaderPluginManager($serviceManager); + $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); + $serviceManager->setService('TranslatorPluginManager', $pluginManager); + + // Mess up the backend, so any real rest calls will fail + $config = $serviceManager->get('Config'); + $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; + $serviceManager->setService('Config', $config); + + return $serviceManager; + } + /** * Get the form object * @@ -1276,35 +1304,4 @@ protected function getElementByHierarchy($elementHierarchy): ElementInterface } return $elementOrFieldSet; } - - /** - * Added this method for backwards compatibility - * - * @return \Laminas\ServiceManager\ServiceManager - */ - public static function getRealServiceManager() - { - - $config = include 'config/application.config.php'; - $serviceManager = new ServiceManager(new ServiceManagerConfig()); - $serviceManager->setService('ApplicationConfig', $config); - $serviceManager->get('ModuleManager')->loadModules(); - $serviceManager->setAllowOverride(true); - - $mockTranslationLoader = m::mock(TranslationLoader::class); - $mockTranslationLoader->shouldReceive('load')->andReturn(['default' => ['en_GB' => []]]); - $mockTranslationLoader->shouldReceive('loadReplacements')->andReturn([]); - $serviceManager->setService(TranslationLoader::class, $mockTranslationLoader); - - $pluginManager = new LoaderPluginManager($serviceManager); - $pluginManager->setService(TranslationLoader::class, $mockTranslationLoader); - $serviceManager->setService('TranslatorPluginManager', $pluginManager); - - // Mess up the backend, so any real rest calls will fail - $config = $serviceManager->get('Config'); - $config['service_api_mapping']['endpoints']['backend'] = 'http://some-fake-backend/'; - $serviceManager->setService('Config', $config); - - return $serviceManager; - } } diff --git a/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php b/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php index 7bcd97358..7a0dbe44d 100644 --- a/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php +++ b/test/Permits/src/Form/Model/Form/DeclineApplicationFormTest.php @@ -3,7 +3,7 @@ namespace PermitsTest\Form\Model\Form; use Common\Form\Elements\InputFilters\ActionButton; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; use Laminas\Validator; /** diff --git a/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php b/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php index adae2e4d6..55eb5a4cd 100644 --- a/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php +++ b/test/Permits/src/Form/Model/Form/LicenceSelectionFormTest.php @@ -4,7 +4,7 @@ use \Common\Form\Elements\InputFilters\ActionButton; use Common\Form\Elements\Types\Radio; -use OlcsTest\Controller\AbstractFormValidationTestCase; +use OlcsTest\TestHelpers\AbstractFormValidationTestCase; /** * Class LicenceSelectionFormTest From 70016f389d923826333fc961f83e8d2a95d22a46 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 10:10:54 +0000 Subject: [PATCH 28/34] chore(deps): added, removed and updated packages as required and needed accordingly --- composer.json | 16 +- composer.lock | 2555 +++++++++---------------------------------------- 2 files changed, 476 insertions(+), 2095 deletions(-) diff --git a/composer.json b/composer.json index 6d0e865db..2929d5c2d 100644 --- a/composer.json +++ b/composer.json @@ -3,29 +3,31 @@ "description": "OLCS Self Service Web Site", "require": { "php": "^7.4", - "dvsa/laminas-config-cloud-parameters": "^0.1.0", + "container-interop/container-interop": "^1.2", + "doctrine/annotations": "^1.14.2", + "dvsa/laminas-config-cloud-parameters": "^0.2.0", "laminas/laminas-authentication": "^2.6", "laminas/laminas-eventmanager": "^2.6", "laminas/laminas-form": "^2.13", "laminas/laminas-http": "^2.8", + "laminas/laminas-i18n": "^2.14", "laminas/laminas-mvc": "^2.7", "laminas/laminas-servicemanager": "^2.7", "laminas/laminas-session": "^2.8", + "laminas/laminas-stdlib": "^2.7", "laminas/laminas-view": "^2.11", + "lm-commons/lmc-rbac-mvc": "^2.6", "olcs/olcs-auth": "^5.0.0", - "olcs/olcs-common": "~4.206.516", - "olcs/olcs-frontend-deps": "~4.206.0", + "olcs/olcs-common": "^5.0.0", "olcs/olcs-logging": "^5.0.0", "olcs/olcs-transfer": "^5.0.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8", "johnkary/phpunit-speedtrap": "^4.0", - "laminas/laminas-developer-tools": "*", "mockery/mockery": "^1.6", "phpstan/phpstan": "^0.12.100", - "phpunit/phpunit": "^9.6", - "san/san-session-toolbar": "*" + "phpunit/phpunit": "^9.6" }, "autoload": { "classmap": [ @@ -57,7 +59,7 @@ "post-install-cmd": [ "@composer bin all install" ], - "test": "phpunit --stop-on-failure", + "test": "phpunit --stop-on-error", "phpcs": "phpcs", "psalm": "psalm", "phpstan": "phpstan", diff --git a/composer.lock b/composer.lock index b697926f7..58a981576 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": "f26aff6a20bef95c7412582ae436a3c6", + "content-hash": "e69e507f7613b73aef02269714671521", "packages": [ { "name": "brick/varexporter", @@ -168,737 +168,81 @@ "time": "2023-02-01T09:20:38+00:00" }, { - "name": "doctrine/cache", - "version": "1.13.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/cache.git", - "reference": "56cd022adb5514472cb144c087393c1821911d09" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/cache/zipball/56cd022adb5514472cb144c087393c1821911d09", - "reference": "56cd022adb5514472cb144c087393c1821911d09", - "shasum": "" - }, - "require": { - "php": "~7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": ">2.2,<2.4" - }, - "require-dev": { - "alcaeus/mongo-php-adapter": "^1.1", - "cache/integration-tests": "dev-master", - "doctrine/coding-standard": "^9", - "mongodb/mongodb": "^1.1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "predis/predis": "~1.0", - "psr/cache": "^1.0 || ^2.0 || ^3.0", - "symfony/cache": "^4.4 || ^5.4 || ^6", - "symfony/var-exporter": "^4.4 || ^5.4 || ^6" - }, - "suggest": { - "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" - } - }, - "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" - } - ], - "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", - "homepage": "https://www.doctrine-project.org/projects/cache.html", - "keywords": [ - "abstraction", - "apcu", - "cache", - "caching", - "couchdb", - "memcached", - "php", - "redis", - "xcache" - ], - "support": { - "issues": "https://github.com/doctrine/cache/issues", - "source": "https://github.com/doctrine/cache/tree/1.13.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%2Fcache", - "type": "tidelift" - } - ], - "time": "2022-05-20T20:06:54+00:00" - }, - { - "name": "doctrine/collections", - "version": "1.8.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/collections.git", - "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/collections/zipball/2b44dd4cbca8b5744327de78bafef5945c7e7b5e", - "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^0.5.3 || ^1", - "php": "^7.1.3 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9.0 || ^10.0", - "phpstan/phpstan": "^1.4.8", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.1.5", - "vimeo/psalm": "^4.22" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" - } - }, - "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" - } - ], - "description": "PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.", - "homepage": "https://www.doctrine-project.org/projects/collections.html", - "keywords": [ - "array", - "collections", - "iterators", - "php" - ], - "support": { - "issues": "https://github.com/doctrine/collections/issues", - "source": "https://github.com/doctrine/collections/tree/1.8.0" - }, - "time": "2022-09-01T20:12:10+00:00" - }, - { - "name": "doctrine/common", - "version": "2.13.3", - "source": { - "type": "git", - "url": "https://github.com/doctrine/common.git", - "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f", - "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f", - "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" - }, - "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" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.11.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": "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" - ], - "support": { - "issues": "https://github.com/doctrine/common/issues", - "source": "https://github.com/doctrine/common/tree/2.13.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%2Fcommon", - "type": "tidelift" - } - ], - "time": "2020-06-05T16:46:05+00:00" - }, - { - "name": "doctrine/deprecations", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/doctrine/deprecations.git", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "1.4.10 || 1.10.15", - "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "0.18.4", - "psr/log": "^1 || ^2 || ^3", - "vimeo/psalm": "4.30.0 || 5.12.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/1.1.2" - }, - "time": "2023-09-27T20:04:15+00:00" - }, - { - "name": "doctrine/doctrine-module", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/DoctrineModule.git", - "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/9407d04d0b08e7071dab05c9d068cefda9dc5a6f", - "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f", - "shasum": "" - }, - "require": { - "doctrine/cache": "^1.6", - "doctrine/common": "^2.6.1", - "php": "^5.6 || ^7.0", - "symfony/console": "^2.3 || ^3.0", - "zendframework/zend-authentication": "^2.5.3", - "zendframework/zend-cache": "^2.7.1", - "zendframework/zend-form": "^2.9", - "zendframework/zend-hydrator": "^1.1 || ^2.2.1", - "zendframework/zend-mvc": "^2.7.10 || ^3.0.1", - "zendframework/zend-paginator": "^2.7", - "zendframework/zend-servicemanager": "^2.7.6 || ^3.1", - "zendframework/zend-stdlib": "^2.7.7 || ^3.0.1", - "zendframework/zend-validator": "^2.8.1" - }, - "require-dev": { - "phpunit/phpunit": "^4.8", - "squizlabs/php_codesniffer": "^2.6.2", - "zendframework/zend-i18n": "^2.7.3", - "zendframework/zend-log": "^2.9", - "zendframework/zend-modulemanager": "^2.7.2", - "zendframework/zend-serializer": "^2.8", - "zendframework/zend-session": "^2.7.3", - "zendframework/zend-test": "^2.6.1 || ^3.0.1", - "zendframework/zend-version": "^2.5.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.10 if you are using ZF3" - }, - "bin": [ - "bin/doctrine-module" - ], - "type": "library", - "extra": { - "zf": { - "module": "DoctrineModule" - } - }, - "autoload": { - "psr-0": { - "DoctrineModule\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Kyle Spraggs", - "email": "theman@spiffyjr.me", - "homepage": "http://www.spiffyjr.me/" - }, - { - "name": "Marco Pivetta", - "email": "ocramius@gmail.com", - "homepage": "http://marco-pivetta.com/" - }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@hotmail.com" - }, - { - "name": "MichaĆ«l Gallego", - "email": "mic.gallego@gmail.com", - "homepage": "http://www.michaelgallego.fr" - } - ], - "description": "Zend Framework Module that provides Doctrine basic functionality required for ORM and ODM modules", - "homepage": "http://www.doctrine-project.org/", - "keywords": [ - "doctrine", - "module", - "zf" - ], - "support": { - "issues": "https://github.com/doctrine/DoctrineModule/issues", - "source": "https://github.com/doctrine/DoctrineModule/tree/2.0.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%2Fdoctrine-module", - "type": "tidelift" - } - ], - "time": "2016-10-03T19:40:55+00:00" - }, - { - "name": "doctrine/event-manager", - "version": "1.2.0", - "source": { - "type": "git", - "url": "https://github.com/doctrine/event-manager.git", - "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", - "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", - "shasum": "" - }, - "require": { - "doctrine/deprecations": "^0.5.3 || ^1", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": "<2.9" - }, - "require-dev": { - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "~1.4.10 || ^1.8.8", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.24" - }, - "type": "library", - "autoload": { - "psr-4": { - "Doctrine\\Common\\": "src" - } - }, - "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 Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", - "homepage": "https://www.doctrine-project.org/projects/event-manager.html", - "keywords": [ - "event", - "event dispatcher", - "event manager", - "event system", - "events" - ], - "support": { - "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.2.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%2Fevent-manager", - "type": "tidelift" - } - ], - "time": "2022-10-12T20:51:15+00:00" - }, - { - "name": "doctrine/inflector", - "version": "1.4.4", - "source": { - "type": "git", - "url": "https://github.com/doctrine/inflector.git", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", - "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", - "shasum": "" - }, - "require": { - "php": "^7.1 || ^8.0" - }, - "require-dev": { - "doctrine/coding-standard": "^8.0", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" - }, - "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" - } - }, - "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" - } - ], - "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", - "homepage": "https://www.doctrine-project.org/projects/inflector.html", - "keywords": [ - "inflection", - "inflector", - "lowercase", - "manipulation", - "php", - "plural", - "singular", - "strings", - "uppercase", - "words" - ], - "support": { - "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/1.4.4" - }, - "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%2Finflector", - "type": "tidelift" - } - ], - "time": "2021-04-16T17:34:40+00:00" - }, - { - "name": "doctrine/lexer", - "version": "1.2.3", + "name": "doctrine/deprecations", + "version": "1.1.2", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + "url": "https://github.com/doctrine/deprecations.git", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", - "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "url": "https://api.github.com/repos/doctrine/deprecations/zipball/4f2d4f2836e7ec4e7a8625e75c6aa916004db931", + "reference": "4f2d4f2836e7ec4e7a8625e75c6aa916004db931", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9.0", - "phpstan/phpstan": "^1.3", + "doctrine/coding-standard": "^9", + "phpstan/phpstan": "1.4.10 || 1.10.15", + "phpstan/phpstan-phpunit": "^1.0", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.11" + "psalm/plugin-phpunit": "0.18.4", + "psr/log": "^1 || ^2 || ^3", + "vimeo/psalm": "4.30.0 || 5.12.0" + }, + "suggest": { + "psr/log": "Allows logging deprecations via PSR-3 logger implementation" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + "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": "Johannes Schmitt", - "email": "schmittjoh@gmail.com" - } - ], - "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", - "keywords": [ - "annotations", - "docblock", - "lexer", - "parser", - "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/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/1.2.3" + "issues": "https://github.com/doctrine/deprecations/issues", + "source": "https://github.com/doctrine/deprecations/tree/1.1.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%2Flexer", - "type": "tidelift" - } - ], - "time": "2022-02-28T11:07:21+00:00" + "time": "2023-09-27T20:04:15+00:00" }, { - "name": "doctrine/persistence", - "version": "1.3.8", + "name": "doctrine/lexer", + "version": "2.1.0", "source": { "type": "git", - "url": "https://github.com/doctrine/persistence.git", - "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288" + "url": "https://github.com/doctrine/lexer.git", + "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/persistence/zipball/7a6eac9fb6f61bba91328f15aa7547f4806ca288", - "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", + "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", "shasum": "" }, "require": { - "doctrine/annotations": "^1.0", - "doctrine/cache": "^1.0", - "doctrine/collections": "^1.0", - "doctrine/event-manager": "^1.0", - "doctrine/reflection": "^1.2", + "doctrine/deprecations": "^1.0", "php": "^7.1 || ^8.0" }, - "conflict": { - "doctrine/common": "<2.10@dev" - }, "require-dev": { - "doctrine/coding-standard": "^6.0", - "phpstan/phpstan": "^0.11", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^3.11" + "doctrine/coding-standard": "^9 || ^10", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "psalm/plugin-phpunit": "^0.18.3", + "vimeo/psalm": "^4.11 || ^5.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\\Lexer\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -914,35 +258,23 @@ "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 Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.", - "homepage": "https://doctrine-project.org/projects/persistence.html", + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", "keywords": [ - "mapper", - "object", - "odm", - "orm", - "persistence" + "annotations", + "docblock", + "lexer", + "parser", + "php" ], "support": { - "issues": "https://github.com/doctrine/persistence/issues", - "source": "https://github.com/doctrine/persistence/tree/1.3.x" + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/2.1.0" }, "funding": [ { @@ -954,102 +286,24 @@ "type": "patreon" }, { - "url": "https://tidelift.com/funding/github/packagist/doctrine%2Fpersistence", + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Flexer", "type": "tidelift" } ], - "time": "2020-06-20T12:56:16+00:00" - }, - { - "name": "doctrine/reflection", - "version": "1.2.4", - "source": { - "type": "git", - "url": "https://github.com/doctrine/reflection.git", - "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/doctrine/reflection/zipball/6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", - "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", - "shasum": "" - }, - "require": { - "doctrine/annotations": "^1.0 || ^2.0", - "ext-tokenizer": "*", - "php": "^7.1 || ^8.0" - }, - "conflict": { - "doctrine/common": "<2.9" - }, - "require-dev": { - "doctrine/coding-standard": "^9", - "doctrine/common": "^3.3", - "phpstan/phpstan": "^1.4.10", - "phpstan/phpstan-phpunit": "^1", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5" - }, - "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": "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.4" - }, - "abandoned": "roave/better-reflection", - "time": "2023-07-27T18:11:59+00:00" + "time": "2022-12-14T08:49:07+00:00" }, { "name": "dvsa/laminas-config-cloud-parameters", - "version": "v0.1.1", + "version": "v0.2.0", "source": { "type": "git", "url": "https://github.com/dvsa/dvsa-laminas-config-cloud-parameters.git", - "reference": "1cec4e8cdf16bf61c848be45f758697977659c1e" + "reference": "073c97dd6fb426e31bec5a592e3119c3ffcb668d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dvsa/dvsa-laminas-config-cloud-parameters/zipball/1cec4e8cdf16bf61c848be45f758697977659c1e", - "reference": "1cec4e8cdf16bf61c848be45f758697977659c1e", + "url": "https://api.github.com/repos/dvsa/dvsa-laminas-config-cloud-parameters/zipball/073c97dd6fb426e31bec5a592e3119c3ffcb668d", + "reference": "073c97dd6fb426e31bec5a592e3119c3ffcb668d", "shasum": "" }, "require": { @@ -1058,7 +312,8 @@ "laminas/laminas-config-aggregator": "^1.7", "laminas/laminas-modulemanager": "^2.4|^3.0", "php": "^7.4 || ^8.0", - "symfony/dependency-injection": "^5.4" + "symfony/dependency-injection": "^5.4", + "symfony/property-access": "^5.4|^6.3" }, "require-dev": { "aws/aws-sdk-php": "^3.281", @@ -1088,9 +343,9 @@ ], "support": { "issues": "https://github.com/dvsa/dvsa-laminas-config-cloud-parameters/issues", - "source": "https://github.com/dvsa/dvsa-laminas-config-cloud-parameters/tree/v0.1.1" + "source": "https://github.com/dvsa/dvsa-laminas-config-cloud-parameters/tree/v0.2.0" }, - "time": "2023-11-06T10:01:58+00:00" + "time": "2023-11-17T11:31:22+00:00" }, { "name": "ezyang/htmlpurifier", @@ -1153,69 +408,6 @@ }, "time": "2023-11-17T15:01:25+00:00" }, - { - "name": "firebase/php-jwt", - "version": "v6.10.0", - "source": { - "type": "git", - "url": "https://github.com/firebase/php-jwt.git", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/a49db6f0a5033aef5143295342f1c95521b075ff", - "reference": "a49db6f0a5033aef5143295342f1c95521b075ff", - "shasum": "" - }, - "require": { - "php": "^7.4||^8.0" - }, - "require-dev": { - "guzzlehttp/guzzle": "^6.5||^7.4", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.5", - "psr/cache": "^1.0||^2.0", - "psr/http-client": "^1.0", - "psr/http-factory": "^1.0" - }, - "suggest": { - "ext-sodium": "Support EdDSA (Ed25519) signatures", - "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" - }, - "type": "library", - "autoload": { - "psr-4": { - "Firebase\\JWT\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Neuman Vong", - "email": "neuman+pear@twilio.com", - "role": "Developer" - }, - { - "name": "Anant Narayanan", - "email": "anant@php.net", - "role": "Developer" - } - ], - "description": "A simple library to encode and decode JSON Web Tokens (JWT) in PHP. Should conform to the current spec.", - "homepage": "https://github.com/firebase/php-jwt", - "keywords": [ - "jwt", - "php" - ], - "support": { - "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.10.0" - }, - "time": "2023-12-01T16:26:39+00:00" - }, { "name": "laminas/laminas-authentication", "version": "2.6.0", @@ -1726,59 +918,6 @@ ], "time": "2021-02-11T19:40:03+00:00" }, - { - "name": "laminas/laminas-dependency-plugin", - "version": "2.2.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-dependency-plugin.git", - "reference": "73cfb63ddca9d6bfedad5e0a038f6d55063975a3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-dependency-plugin/zipball/73cfb63ddca9d6bfedad5e0a038f6d55063975a3", - "reference": "73cfb63ddca9d6bfedad5e0a038f6d55063975a3", - "shasum": "" - }, - "require": { - "composer-plugin-api": "^1.1 || ^2.0", - "php": "^7.3 || ~8.0.0 || ~8.1.0" - }, - "require-dev": { - "composer/composer": "^1.9 || ^2.0", - "laminas/laminas-coding-standard": "^2.2.1", - "mikey179/vfsstream": "^1.6.10@alpha", - "phpunit/phpunit": "^9.5.5", - "psalm/plugin-phpunit": "^0.15.1", - "roave/security-advisories": "dev-master", - "vimeo/psalm": "^4.5" - }, - "type": "composer-plugin", - "extra": { - "class": "Laminas\\DependencyPlugin\\DependencyRewriterPluginDelegator" - }, - "autoload": { - "psr-4": { - "Laminas\\DependencyPlugin\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Replace zendframework and zfcampus packages with their Laminas Project equivalents.", - "support": { - "issues": "https://github.com/laminas/laminas-dependency-plugin/issues", - "source": "https://github.com/laminas/laminas-dependency-plugin/tree/2.2.0" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-09-08T17:51:35+00:00" - }, { "name": "laminas/laminas-diactoros", "version": "1.8.7p2", @@ -2444,46 +1583,34 @@ }, { "name": "laminas/laminas-json", - "version": "2.6.1", + "version": "3.3.0", "source": { "type": "git", "url": "https://github.com/laminas/laminas-json.git", - "reference": "db58425b7f0eba44a7539450cc926af80915951a" + "reference": "9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-json/zipball/db58425b7f0eba44a7539450cc926af80915951a", - "reference": "db58425b7f0eba44a7539450cc926af80915951a", + "url": "https://api.github.com/repos/laminas/laminas-json/zipball/9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f", + "reference": "9a0ce9f330b7d11e70c4acb44d67e8c4f03f437f", "shasum": "" }, "require": { - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.5 || ^7.0" + "php": "^7.3 || ~8.0.0 || ~8.1.0" }, - "replace": { - "zendframework/zend-json": "self.version" + "conflict": { + "zendframework/zend-json": "*" }, "require-dev": { - "fabpot/php-cs-fixer": "1.7.*", - "laminas/laminas-http": "^2.5.4", - "laminas/laminas-server": "^2.6.1", - "laminas/laminas-stdlib": "^2.5 || ^3.0", - "laminas/laminas-xml": "^1.0.2", - "phpunit/phpunit": "~4.0" + "laminas/laminas-coding-standard": "~2.2.1", + "laminas/laminas-stdlib": "^2.7.7 || ^3.1", + "phpunit/phpunit": "^9.3" }, "suggest": { - "laminas/laminas-http": "Laminas\\Http component, required to use Laminas\\Json\\Server", - "laminas/laminas-server": "Laminas\\Server component, required to use Laminas\\Json\\Server", - "laminas/laminas-stdlib": "Laminas\\Stdlib component, for use with caching Laminas\\Json\\Server responses", - "laminas/laminas-xml": "To support Laminas\\Json\\Json::fromXml() usage" + "laminas/laminas-json-server": "For implementing JSON-RPC servers", + "laminas/laminas-xml2json": "For converting XML documents to JSON" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.6-dev", - "dev-develop": "2.7-dev" - } - }, "autoload": { "psr-4": { "Laminas\\Json\\": "src/" @@ -2507,7 +1634,13 @@ "rss": "https://github.com/laminas/laminas-json/releases.atom", "source": "https://github.com/laminas/laminas-json" }, - "time": "2019-12-31T17:15:00+00:00" + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-09-02T18:02:31+00:00" }, { "name": "laminas/laminas-loader", @@ -2647,87 +1780,6 @@ }, "time": "2019-12-31T17:18:59+00:00" }, - { - "name": "laminas/laminas-mail", - "version": "2.14.3", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-mail.git", - "reference": "a496ab1c708b91809de211522057a6d6781bd0aa" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mail/zipball/a496ab1c708b91809de211522057a6d6781bd0aa", - "reference": "a496ab1c708b91809de211522057a6d6781bd0aa", - "shasum": "" - }, - "require": { - "ext-iconv": "*", - "laminas/laminas-loader": "^2.5", - "laminas/laminas-mime": "^2.5", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-validator": "^2.10.2", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.3 || ~8.0.0", - "symfony/polyfill-mbstring": "^1.12.0", - "true/punycode": "^2.1" - }, - "replace": { - "zendframework/zend-mail": "^2.10.0" - }, - "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^3.4", - "laminas/laminas-crypt": "^2.6 || ^3.0", - "laminas/laminas-db": "^2.12", - "laminas/laminas-servicemanager": "^3.2.1", - "phpunit/phpunit": "^9.3", - "psalm/plugin-phpunit": "^0.15.1", - "symfony/process": "^5.3", - "vimeo/psalm": "^4.7" - }, - "suggest": { - "laminas/laminas-crypt": "Crammd5 support in SMTP Auth", - "laminas/laminas-servicemanager": "^2.7.10 || ^3.3.1 when using SMTP to deliver messages" - }, - "type": "library", - "extra": { - "laminas": { - "component": "Laminas\\Mail", - "config-provider": "Laminas\\Mail\\ConfigProvider" - } - }, - "autoload": { - "psr-4": { - "Laminas\\Mail\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Provides generalized functionality to compose and send both text and MIME-compliant multipart e-mail messages", - "homepage": "https://laminas.dev", - "keywords": [ - "laminas", - "mail" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-mail/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-mail/issues", - "rss": "https://github.com/laminas/laminas-mail/releases.atom", - "source": "https://github.com/laminas/laminas-mail" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-09-23T07:17:22+00:00" - }, { "name": "laminas/laminas-math", "version": "3.5.0", @@ -2795,67 +1847,6 @@ ], "time": "2021-12-06T02:02:07+00:00" }, - { - "name": "laminas/laminas-mime", - "version": "2.10.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-mime.git", - "reference": "62a899a7c9100889c2d2386b1357003a2cb52fa9" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mime/zipball/62a899a7c9100889c2d2386b1357003a2cb52fa9", - "reference": "62a899a7c9100889c2d2386b1357003a2cb52fa9", - "shasum": "" - }, - "require": { - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "php": "^7.3 || ~8.0.0 || ~8.1.0" - }, - "conflict": { - "zendframework/zend-mime": "*" - }, - "require-dev": { - "laminas/laminas-coding-standard": "~2.2.1", - "laminas/laminas-mail": "^2.12", - "phpunit/phpunit": "^9.5" - }, - "suggest": { - "laminas/laminas-mail": "Laminas\\Mail component" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Mime\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Create and parse MIME messages and parts", - "homepage": "https://laminas.dev", - "keywords": [ - "laminas", - "mime" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-mime/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-mime/issues", - "rss": "https://github.com/laminas/laminas-mime/releases.atom", - "source": "https://github.com/laminas/laminas-mime" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2022-08-30T09:38:41+00:00" - }, { "name": "laminas/laminas-modulemanager", "version": "2.9.0", @@ -3120,83 +2111,6 @@ ], "time": "2021-12-06T01:40:32+00:00" }, - { - "name": "laminas/laminas-paginator", - "version": "2.8.2", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-paginator.git", - "reference": "5e53d927776b2d20e420bc2b289fa0c364a6b0bd" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-paginator/zipball/5e53d927776b2d20e420bc2b289fa0c364a6b0bd", - "reference": "5e53d927776b2d20e420bc2b289fa0c364a6b0bd", - "shasum": "" - }, - "require": { - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^7.0 || ^5.6" - }, - "replace": { - "zendframework/zend-paginator": "self.version" - }, - "require-dev": { - "laminas/laminas-cache": "^2.6.1", - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^2.6.0", - "laminas/laminas-db": "^2.9.2", - "laminas/laminas-filter": "^2.6.1", - "laminas/laminas-json": "^2.6.1", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-view": "^2.6.3", - "phpunit/phpunit": "^6.2.1 || ^5.7.15" - }, - "suggest": { - "laminas/laminas-cache": "Laminas\\Cache component to support cache features", - "laminas/laminas-db": "Laminas\\Db component", - "laminas/laminas-filter": "Laminas\\Filter component", - "laminas/laminas-json": "Laminas\\Json component", - "laminas/laminas-servicemanager": "Laminas\\ServiceManager component", - "laminas/laminas-view": "Laminas\\View component" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.8.x-dev", - "dev-develop": "2.9.x-dev" - }, - "laminas": { - "component": "Laminas\\Paginator", - "config-provider": "Laminas\\Paginator\\ConfigProvider" - } - }, - "autoload": { - "psr-4": { - "Laminas\\Paginator\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Paginate collections of data from arbitrary sources", - "homepage": "https://laminas.dev", - "keywords": [ - "laminas", - "paginator" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-paginator/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-paginator/issues", - "rss": "https://github.com/laminas/laminas-paginator/releases.atom", - "source": "https://github.com/laminas/laminas-paginator" - }, - "time": "2019-12-31T17:36:22+00:00" - }, { "name": "laminas/laminas-psr7bridge", "version": "0.2.2", @@ -3259,77 +2173,6 @@ }, "time": "2019-12-31T17:38:47+00:00" }, - { - "name": "laminas/laminas-serializer", - "version": "2.10.0", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-serializer.git", - "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", - "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", - "shasum": "" - }, - "require": { - "laminas/laminas-json": "^2.5 || ^3.0", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0" - }, - "replace": { - "zendframework/zend-serializer": "^2.9.1" - }, - "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-math": "^2.6 || ^3.0", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.16" - }, - "suggest": { - "laminas/laminas-math": "(^2.6 || ^3.0) To support Python Pickle serialization", - "laminas/laminas-servicemanager": "(^2.7.5 || ^3.0.3) To support plugin manager support" - }, - "type": "library", - "extra": { - "laminas": { - "component": "Laminas\\Serializer", - "config-provider": "Laminas\\Serializer\\ConfigProvider" - } - }, - "autoload": { - "psr-4": { - "Laminas\\Serializer\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Serialize and deserialize PHP structures to a variety of representations", - "homepage": "https://laminas.dev", - "keywords": [ - "laminas", - "serializer" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-serializer/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-serializer/issues", - "rss": "https://github.com/laminas/laminas-serializer/releases.atom", - "source": "https://github.com/laminas/laminas-serializer" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2021-02-17T17:05:24+00:00" - }, { "name": "laminas/laminas-servicemanager", "version": "2.7.11", @@ -3503,106 +2346,46 @@ "laminas/laminas-eventmanager": "^2.6.1", "laminas/laminas-filter": "~2.5", "laminas/laminas-inputfilter": "~2.5", - "laminas/laminas-serializer": "~2.5", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20" - }, - "suggest": { - "laminas/laminas-eventmanager": "To support aggregate hydrator usage", - "laminas/laminas-filter": "To support naming strategy hydrator usage", - "laminas/laminas-serializer": "Laminas\\Serializer component", - "laminas/laminas-servicemanager": "To support hydrator plugin manager usage" - }, - "type": "library", - "autoload": { - "psr-4": { - "Laminas\\Stdlib\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "homepage": "https://laminas.dev", - "keywords": [ - "laminas", - "stdlib" - ], - "support": { - "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-stdlib/", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-stdlib/issues", - "rss": "https://github.com/laminas/laminas-stdlib/releases.atom", - "source": "https://github.com/laminas/laminas-stdlib" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2022-01-20T16:23:34+00:00" - }, - { - "name": "laminas/laminas-text", - "version": "2.7.1", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-text.git", - "reference": "3601b5eacb06ed0a12f658df860cc0f9613cf4db" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-text/zipball/3601b5eacb06ed0a12f658df860cc0f9613cf4db", - "reference": "3601b5eacb06ed0a12f658df860cc0f9613cf4db", - "shasum": "" - }, - "require": { + "laminas/laminas-serializer": "~2.5", "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0" - }, - "replace": { - "zendframework/zend-text": "self.version" + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.20" }, - "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "laminas/laminas-config": "^2.6", - "phpunit/phpunit": "^5.7.27 || ^6.5.8 || ^7.1.4" + "suggest": { + "laminas/laminas-eventmanager": "To support aggregate hydrator usage", + "laminas/laminas-filter": "To support naming strategy hydrator usage", + "laminas/laminas-serializer": "Laminas\\Serializer component", + "laminas/laminas-servicemanager": "To support hydrator plugin manager usage" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.7.x-dev", - "dev-develop": "2.8.x-dev" - } - }, "autoload": { "psr-4": { - "Laminas\\Text\\": "src/" + "Laminas\\Stdlib\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "BSD-3-Clause" ], - "description": "Create FIGlets and text-based tables", "homepage": "https://laminas.dev", "keywords": [ "laminas", - "text" + "stdlib" ], "support": { "chat": "https://laminas.dev/chat", - "docs": "https://docs.laminas.dev/laminas-text/", + "docs": "https://docs.laminas.dev/laminas-stdlib/", "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-text/issues", - "rss": "https://github.com/laminas/laminas-text/releases.atom", - "source": "https://github.com/laminas/laminas-text" + "issues": "https://github.com/laminas/laminas-stdlib/issues", + "rss": "https://github.com/laminas/laminas-stdlib/releases.atom", + "source": "https://github.com/laminas/laminas-stdlib" }, - "time": "2019-12-31T17:54:52+00:00" + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2022-01-20T16:23:34+00:00" }, { "name": "laminas/laminas-uri", @@ -4172,41 +2955,60 @@ }, { "name": "olcs/olcs-common", - "version": "4.206.516", + "version": "5.0.0-alpha.1", "source": { "type": "git", "url": "https://github.com/dvsa/olcs-common.git", - "reference": "3ef40d9ad3a61a7531e3d2de02f933131abdad05" + "reference": "0a9748ed58e43b414dbe572383a0ff85bf98f3de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dvsa/olcs-common/zipball/3ef40d9ad3a61a7531e3d2de02f933131abdad05", - "reference": "3ef40d9ad3a61a7531e3d2de02f933131abdad05", + "url": "https://api.github.com/repos/dvsa/olcs-common/zipball/0a9748ed58e43b414dbe572383a0ff85bf98f3de", + "reference": "0a9748ed58e43b414dbe572383a0ff85bf98f3de", "shasum": "" }, "require": { - "olcs/olcs-laminas": "~2.5.0 || ~3.0.0", - "php": ">=7.4" + "container-interop/container-interop": "^1.2", + "ezyang/htmlpurifier": "^4.17", + "laminas/laminas-authentication": "^2.6", + "laminas/laminas-cache": "^2.8", + "laminas/laminas-code": "^3.4.1", + "laminas/laminas-eventmanager": "^2.6", + "laminas/laminas-filter": "^2.9", + "laminas/laminas-form": "^2.13", + "laminas/laminas-http": "^2.8", + "laminas/laminas-i18n": "^2.14", + "laminas/laminas-inputfilter": "^2.10", + "laminas/laminas-modulemanager": "^2.9", + "laminas/laminas-mvc": "^2.7", + "laminas/laminas-navigation": "2.13.0", + "laminas/laminas-servicemanager": "^2.7", + "laminas/laminas-stdlib": "^2.7", + "laminas/laminas-validator": "^2.11", + "laminas/laminas-view": "^2.11", + "olcs/olcs-logging": "^5.0.0", + "olcs/olcs-transfer": "^5.0.0", + "olcs/olcs-utils": "^5.0", + "php": "^7.4" }, "require-dev": { + "bamarni/composer-bin-plugin": "^1.8", + "dms/phpunit-arraysubset-asserts": "^0.5.0", "doctrine/annotations": "^1.14.2", - "olcs/olcs-devtools": "~4.206.0", - "olcs/olcs-logging": "^5.0.0", - "olcs/olcs-transfer": "^5.0.0", - "olcs/olcs-utils": "^5.0.0", - "phpstan/phpstan": "^0.12.100", - "soflomo/purifier": "^1.0", - "symfony/lock": "^5" + "johnkary/phpunit-speedtrap": "^4.0", + "laminas/laminas-serializer": "^2.10", + "lm-commons/lmc-rbac-mvc": "^2.6", + "mikey179/vfsstream": "~v1.6.11", + "mockery/mockery": "^1.6.7", + "phpunit/phpunit": "^9.6", + "symfony/filesystem": "^5.4", + "symfony/lock": "^5.4" }, "type": "library", "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-common", - "ignore": [ - "composer.phar", - "build.xml", - "composer-update.sh" - ] + "bamarni-bin": { + "bin-links": true, + "forward-command": true } }, "autoload": { @@ -4220,118 +3022,9 @@ "notification-url": "https://packagist.org/downloads/", "description": "Common library for the OLCS Project", "support": { - "source": "https://github.com/dvsa/olcs-common/tree/4.206.516" - }, - "time": "2023-12-15T11:17:44+00:00" - }, - { - "name": "olcs/olcs-frontend-deps", - "version": "4.206.6", - "source": { - "type": "git", - "url": "https://github.com/dvsa/olcs-frontend-deps.git", - "reference": "6c994f5816fc37753e86e707343eed3bf2079e70" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dvsa/olcs-frontend-deps/zipball/6c994f5816fc37753e86e707343eed3bf2079e70", - "reference": "6c994f5816fc37753e86e707343eed3bf2079e70", - "shasum": "" - }, - "require": { - "doctrine/annotations": "^1.14.2", - "doctrine/doctrine-module": "^1", - "ext-intl": "*", - "firebase/php-jwt": "^6.0", - "olcs/olcs-auth": "^5.0.0", - "olcs/olcs-common": "~4.206.0", - "olcs/olcs-logging": "^5.0.0", - "olcs/olcs-transfer": "^5.0.0", - "olcs/olcs-utils": "^5.0.0", - "php": ">=7.4", - "soflomo/purifier": "^1.0", - "symfony/filesystem": "^5", - "symfony/lock": "^5" - }, - "type": "library", - "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-frontend-deps" - } - }, - "notification-url": "https://packagist.org/downloads/", - "description": "List of front end dependencies, shared between internal and selfserve nodes", - "support": { - "source": "https://github.com/dvsa/olcs-frontend-deps/tree/4.206.6" - }, - "time": "2023-12-05T14:47:33+00:00" - }, - { - "name": "olcs/olcs-laminas", - "version": "2.5.2", - "source": { - "type": "git", - "url": "https://github.com/dvsa/olcs-laminas.git", - "reference": "59258281b9f56cb621cc7148af31905bc26c1d33" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/dvsa/olcs-laminas/zipball/59258281b9f56cb621cc7148af31905bc26c1d33", - "reference": "59258281b9f56cb621cc7148af31905bc26c1d33", - "shasum": "" - }, - "require": { - "laminas/laminas-authentication": "^2.5", - "laminas/laminas-cache": "^2.5", - "laminas/laminas-code": "~3.4.1", - "laminas/laminas-console": "^2.5", - "laminas/laminas-crypt": "^3.0", - "laminas/laminas-dependency-plugin": "^2.0", - "laminas/laminas-escaper": "^2.5", - "laminas/laminas-eventmanager": "^2.5", - "laminas/laminas-filter": "^2.5", - "laminas/laminas-form": "^2.5", - "laminas/laminas-http": "^2.5", - "laminas/laminas-i18n": "^2.5", - "laminas/laminas-inputfilter": "^2.5", - "laminas/laminas-json": "^2.5", - "laminas/laminas-loader": "^2.5", - "laminas/laminas-log": "^2.5", - "laminas/laminas-mail": "^2.5", - "laminas/laminas-math": "^3.0", - "laminas/laminas-mime": "^2.5", - "laminas/laminas-modulemanager": "^2.5", - "laminas/laminas-mvc": "^2.5", - "laminas/laminas-navigation": "<=2.13.0", - "laminas/laminas-serializer": "^2.5", - "laminas/laminas-servicemanager": "^2.5", - "laminas/laminas-session": "^2.5", - "laminas/laminas-stdlib": "^2.5", - "laminas/laminas-text": "^2.5", - "laminas/laminas-uri": "^2.5", - "laminas/laminas-validator": "^2.5", - "laminas/laminas-view": "^2.5", - "laminas/laminas-xml": "^1.2.0", - "lm-commons/lmc-rbac-mvc": "^2.6" - }, - "require-dev": { - "elendev/composer-push": "1.0.3", - "laminas/laminas-developer-tools": "*", - "san/san-session-toolbar": "*" - }, - "type": "library", - "extra": { - "nexus-push": { - "url": "https://nexus.olcs.dev-dvsacloud.uk/repository/olcs-laminas" - } - }, - "notification-url": "https://packagist.org/downloads/", - "description": "List of olcs laminas dependencies that are common across all repos", - "support": { - "issues": "https://github.com/dvsa/olcs-laminas/issues", - "source": "https://github.com/dvsa/olcs-laminas/tree/2.5.2" + "source": "https://github.com/dvsa/olcs-common/tree/5.0.0-alpha.1" }, - "time": "2023-02-28T10:26:42+00:00" + "time": "2023-12-15T09:41:55+00:00" }, { "name": "olcs/olcs-logging", @@ -4720,260 +3413,24 @@ "license": [ "MIT" ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" - } - ], - "description": "Common interfaces for simple caching", - "keywords": [ - "cache", - "caching", - "psr", - "psr-16", - "simple-cache" - ], - "support": { - "source": "https://github.com/php-fig/simple-cache/tree/master" - }, - "time": "2017-10-23T01:57:42+00:00" - }, - { - "name": "soflomo/purifier", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/juriansluiman/Soflomo-Purifier.git", - "reference": "9302c64d0f2853e3486ff6b619a90083674136b4" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/juriansluiman/Soflomo-Purifier/zipball/9302c64d0f2853e3486ff6b619a90083674136b4", - "reference": "9302c64d0f2853e3486ff6b619a90083674136b4", - "shasum": "" - }, - "require": { - "ezyang/htmlpurifier": "^4.5", - "php": ">=5.5", - "zendframework/zend-filter": "^2.5" - }, - "require-dev": { - "fabpot/php-cs-fixer": "^1.11", - "php-vfs/php-vfs": "^1.3", - "phpunit/phpunit": "^4.8", - "zendframework/zend-console": "^2.5", - "zendframework/zend-http": "^2.5", - "zendframework/zend-i18n": "^2.5", - "zendframework/zend-log": "^2.6", - "zendframework/zend-modulemanager": "^2.5", - "zendframework/zend-mvc": "^2.5", - "zendframework/zend-serializer": "^2.5", - "zendframework/zend-servicemanager": "^2.5", - "zendframework/zend-view": "^2.5" - }, - "suggest": { - "zendframework/zend-modulemanager": "To load the filter as a module in a ZF2 application", - "zendframework/zend-servicemanager": "For creating the filter with the SM factory", - "zendframework/zend-view": "For using the purifier as view helper" - }, - "bin": [ - "bin/purifier-generate-standalone" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0-dev" - } - }, - "autoload": { - "psr-4": { - "Soflomo\\Purifier\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Jurian Sluiman", - "email": "jurian@juriansluiman.nl", - "homepage": "https://juriansluiman.nl" - }, - { - "name": "Stefano Torresi", - "email": "stefano@torresi.io", - "homepage": "https://stefanotorresi.it" - } - ], - "description": "HTML Purifier integration module for Zend Framework 2 ", - "homepage": "https://github.com/juriansluiman/Soflomo-Purifier", - "keywords": [ - "Purifier", - "filter", - "html", - "purify", - "zf2" - ], - "support": { - "issues": "https://github.com/juriansluiman/Soflomo-Purifier/issues", - "source": "https://github.com/juriansluiman/Soflomo-Purifier/tree/1.0.2" - }, - "time": "2016-03-10T20:32:46+00:00" - }, - { - "name": "symfony/console", - "version": "v3.4.47", - "source": { - "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a10b1da6fc93080c180bba7219b5ff5b7518fe81", - "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81", - "shasum": "" - }, - "require": { - "php": "^5.5.9|>=7.0.8", - "symfony/debug": "~2.8|~3.0|~4.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.4", - "symfony/process": "<3.3" - }, - "provide": { - "psr/log-implementation": "1.0" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.3|~4.0", - "symfony/dependency-injection": "~3.4|~4.0", - "symfony/event-dispatcher": "~2.8|~3.0|~4.0", - "symfony/lock": "~3.4|~4.0", - "symfony/process": "~3.3|~4.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/lock": "", - "symfony/process": "" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Console\\": "" - }, - "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": "Symfony Console Component", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/console/tree/v3.4.47" - }, - "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": "2020-10-24T10:57:07+00:00" - }, - { - "name": "symfony/debug", - "version": "v4.4.44", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "1a692492190773c5310bc7877cb590c04c2f05be" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/1a692492190773c5310bc7877cb590c04c2f05be", - "reference": "1a692492190773c5310bc7877cb590c04c2f05be", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "psr/log": "^1|^2|^3" - }, - "conflict": { - "symfony/http-kernel": "<3.4" - }, - "require-dev": { - "symfony/http-kernel": "^3.4|^4.0|^5.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, + "authors": [ { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" } ], - "description": "Provides tools to ease debugging PHP code", - "homepage": "https://symfony.com", + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], "support": { - "source": "https://github.com/symfony/debug/tree/v4.4.44" + "source": "https://github.com/php-fig/simple-cache/tree/master" }, - "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" - } - ], - "abandoned": "symfony/error-handler", - "time": "2022-07-28T16:29:46+00:00" + "time": "2017-10-23T01:57:42+00:00" }, { "name": "symfony/dependency-injection", @@ -5132,33 +3589,45 @@ "time": "2022-01-02T09:53:40+00:00" }, { - "name": "symfony/filesystem", - "version": "v5.4.25", + "name": "symfony/polyfill-ctype", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364" + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", - "reference": "0ce3a62c9579a53358d3a7eb6b3dfb79789a6364", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", "shasum": "" }, "require": { - "php": ">=7.2.5", - "symfony/polyfill-ctype": "~1.8", - "symfony/polyfill-mbstring": "~1.8", - "symfony/polyfill-php80": "^1.16" + "php": ">=7.1" + }, + "provide": { + "ext-ctype": "*" + }, + "suggest": { + "ext-ctype": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Component\\Filesystem\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Symfony\\Polyfill\\Ctype\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5166,18 +3635,24 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Provides basic utilities for the filesystem", + "description": "Symfony polyfill for ctype functions", "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], "support": { - "source": "https://github.com/symfony/filesystem/tree/v5.4.25" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" }, "funding": [ { @@ -5193,43 +3668,45 @@ "type": "tidelift" } ], - "time": "2023-05-31T13:04:02+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { - "name": "symfony/lock", - "version": "v5.4.34", + "name": "symfony/polyfill-intl-grapheme", + "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/lock.git", - "reference": "26ff165e2b501ff7ead2f30a02f7e0eb0975866e" + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "reference": "875e90aeea2777b6f135677f618529449334a612" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/lock/zipball/26ff165e2b501ff7ead2f30a02f7e0eb0975866e", - "reference": "26ff165e2b501ff7ead2f30a02f7e0eb0975866e", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/875e90aeea2777b6f135677f618529449334a612", + "reference": "875e90aeea2777b6f135677f618529449334a612", "shasum": "" }, "require": { - "php": ">=7.2.5", - "psr/log": "^1|^2|^3", - "symfony/deprecation-contracts": "^2.1|^3", - "symfony/polyfill-php80": "^1.16" - }, - "conflict": { - "doctrine/dbal": "<2.13" + "php": ">=7.1" }, - "require-dev": { - "doctrine/dbal": "^2.13|^3|^4", - "predis/predis": "~1.0" + "suggest": { + "ext-intl": "For best performance" }, "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, "autoload": { + "files": [ + "bootstrap.php" + ], "psr-4": { - "Symfony\\Component\\Lock\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] + "Symfony\\Polyfill\\Intl\\Grapheme\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5237,26 +3714,26 @@ ], "authors": [ { - "name": "JĆ©rĆ©my DerussĆ©", - "email": "jeremy@derusse.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Creates and manages locks, a mechanism to provide exclusive access to a shared resource", + "description": "Symfony polyfill for intl's grapheme_* functions", "homepage": "https://symfony.com", "keywords": [ - "cas", - "flock", - "locking", - "mutex", - "redlock", - "semaphore" + "compatibility", + "grapheme", + "intl", + "polyfill", + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/lock/tree/v5.4.34" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.28.0" }, "funding": [ { @@ -5272,30 +3749,27 @@ "type": "tidelift" } ], - "time": "2023-12-18T14:56:06+00:00" + "time": "2023-01-26T09:26:14+00:00" }, { - "name": "symfony/polyfill-ctype", + "name": "symfony/polyfill-intl-normalizer", "version": "v1.28.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb" + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", - "reference": "ea208ce43cbb04af6867b4fdddb1bdbf84cc28cb", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", + "reference": "8c4ad05dd0120b6a53c1ca374dca2ad0a1c4ed92", "shasum": "" }, "require": { "php": ">=7.1" }, - "provide": { - "ext-ctype": "*" - }, "suggest": { - "ext-ctype": "For best performance" + "ext-intl": "For best performance" }, "type": "library", "extra": { @@ -5312,8 +3786,11 @@ "bootstrap.php" ], "psr-4": { - "Symfony\\Polyfill\\Ctype\\": "" - } + "Symfony\\Polyfill\\Intl\\Normalizer\\": "" + }, + "classmap": [ + "Resources/stubs" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5321,24 +3798,26 @@ ], "authors": [ { - "name": "Gert de Pagter", - "email": "BackEndTea@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for ctype functions", + "description": "Symfony polyfill for intl's Normalizer class and related functions", "homepage": "https://symfony.com", "keywords": [ "compatibility", - "ctype", + "intl", + "normalizer", "polyfill", - "portable" + "portable", + "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.28.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.28.0" }, "funding": [ { @@ -5680,6 +4159,178 @@ ], "time": "2023-01-26T09:26:14+00:00" }, + { + "name": "symfony/property-access", + "version": "v5.4.26", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-access.git", + "reference": "0249e46f69e92049a488f39fcf531cb42c50caaa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-access/zipball/0249e46f69e92049a488f39fcf531cb42c50caaa", + "reference": "0249e46f69e92049a488f39fcf531cb42c50caaa", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16", + "symfony/property-info": "^5.2|^6.0" + }, + "require-dev": { + "symfony/cache": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/cache-implementation": "To cache access methods." + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyAccess\\": "" + }, + "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": "Provides functions to read and write from/to an object or array using a simple string notation", + "homepage": "https://symfony.com", + "keywords": [ + "access", + "array", + "extraction", + "index", + "injection", + "object", + "property", + "property-path", + "reflection" + ], + "support": { + "source": "https://github.com/symfony/property-access/tree/v5.4.26" + }, + "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": "2023-07-13T15:20:41+00:00" + }, + { + "name": "symfony/property-info", + "version": "v5.4.24", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-info.git", + "reference": "d43b85b00699b4484964c297575b5c6f9dc5f6e1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-info/zipball/d43b85b00699b4484964c297575b5c6f9dc5f6e1", + "reference": "d43b85b00699b4484964c297575b5c6f9dc5f6e1", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16", + "symfony/string": "^5.1|^6.0" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "<3.2.2", + "phpdocumentor/type-resolver": "<1.4.0", + "symfony/dependency-injection": "<4.4" + }, + "require-dev": { + "doctrine/annotations": "^1.10.4|^2", + "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", + "phpstan/phpdoc-parser": "^1.0", + "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^4.4|^5.0|^6.0", + "symfony/serializer": "^4.4|^5.0|^6.0" + }, + "suggest": { + "phpdocumentor/reflection-docblock": "To use the PHPDoc", + "psr/cache-implementation": "To cache results", + "symfony/doctrine-bridge": "To use Doctrine metadata", + "symfony/serializer": "To use Serializer metadata" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyInfo\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "KĆ©vin Dunglas", + "email": "dunglas@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Extracts information about PHP class' properties using metadata of popular sources", + "homepage": "https://symfony.com", + "keywords": [ + "doctrine", + "phpdoc", + "property", + "symfony", + "type", + "validator" + ], + "support": { + "source": "https://github.com/symfony/property-info/tree/v5.4.24" + }, + "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": "2023-05-15T20:11:03+00:00" + }, { "name": "symfony/service-contracts", "version": "v2.5.2", @@ -5764,32 +4415,47 @@ "time": "2022-05-30T19:17:29+00:00" }, { - "name": "true/punycode", - "version": "v2.1.1", + "name": "symfony/string", + "version": "v5.4.34", "source": { "type": "git", - "url": "https://github.com/true/php-punycode.git", - "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e" + "url": "https://github.com/symfony/string.git", + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/true/php-punycode/zipball/a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", - "reference": "a4d0c11a36dd7f4e7cd7096076cab6d3378a071e", + "url": "https://api.github.com/repos/symfony/string/zipball/e3f98bfc7885c957488f443df82d97814a3ce061", + "reference": "e3f98bfc7885c957488f443df82d97814a3ce061", "shasum": "" }, "require": { - "php": ">=5.3.0", - "symfony/polyfill-mbstring": "^1.3" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-intl-grapheme": "~1.0", + "symfony/polyfill-intl-normalizer": "~1.0", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php80": "~1.15" + }, + "conflict": { + "symfony/translation-contracts": ">=3.0" }, "require-dev": { - "phpunit/phpunit": "~4.7", - "squizlabs/php_codesniffer": "~2.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|^6.0" }, "type": "library", "autoload": { + "files": [ + "Resources/functions.php" + ], "psr-4": { - "TrueBV\\": "src/" - } + "Symfony\\Component\\String\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -5797,22 +4463,42 @@ ], "authors": [ { - "name": "Renan GonƧalves", - "email": "renan.saddam@gmail.com" + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" } ], - "description": "A Bootstring encoding of Unicode for Internationalized Domain Names in Applications (IDNA)", - "homepage": "https://github.com/true/php-punycode", + "description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way", + "homepage": "https://symfony.com", "keywords": [ - "idna", - "punycode" + "grapheme", + "i18n", + "string", + "unicode", + "utf-8", + "utf8" ], "support": { - "issues": "https://github.com/true/php-punycode/issues", - "source": "https://github.com/true/php-punycode/tree/master" + "source": "https://github.com/symfony/string/tree/v5.4.34" }, - "abandoned": true, - "time": "2016-11-16T10:37:54+00:00" + "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": "2023-12-09T13:20:28+00:00" }, { "name": "webimpress/safe-writer", @@ -6159,85 +4845,6 @@ }, "time": "2022-10-17T00:56:56+00:00" }, - { - "name": "laminas/laminas-developer-tools", - "version": "2.0.3", - "source": { - "type": "git", - "url": "https://github.com/laminas/laminas-developer-tools.git", - "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-developer-tools/zipball/f6a6cfe65a36f9284e106381d002c216be6df0bc", - "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", - "shasum": "" - }, - "require": { - "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", - "laminas/laminas-modulemanager": "^2.7", - "laminas/laminas-mvc": "^2.7 || ^3.0.1", - "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", - "laminas/laminas-stdlib": "^2.7 || ^3.0", - "laminas/laminas-view": "^2.6", - "laminas/laminas-zendframework-bridge": "^1.0", - "php": "^5.6 || ^7.0", - "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" - }, - "replace": { - "zendframework/zend-developer-tools": "^2.0.0" - }, - "require-dev": { - "laminas/laminas-coding-standard": "~1.0.0", - "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" - }, - "suggest": { - "aist/aist-git-tools": "Show you information about current GIT repository", - "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", - "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", - "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", - "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", - "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", - "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" - }, - "type": "library", - "extra": { - "laminas": { - "module": "Laminas\\DeveloperTools" - } - }, - "autoload": { - "psr-4": { - "Laminas\\DeveloperTools\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Module for developer and debug tools for use with laminas-mvc applications.", - "homepage": "https://laminas.dev", - "keywords": [ - "debug", - "developer", - "laminas", - "module" - ], - "support": { - "chat": "https://laminas.dev/chat", - "forum": "https://discourse.laminas.dev", - "issues": "https://github.com/laminas/laminas-developer-tools/issues", - "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", - "source": "https://github.com/laminas/laminas-developer-tools" - }, - "funding": [ - { - "url": "https://funding.communitybridge.org/projects/laminas-project", - "type": "community_bridge" - } - ], - "time": "2020-11-02T03:12:47+00:00" - }, { "name": "mockery/mockery", "version": "1.6.7", @@ -6973,69 +5580,6 @@ ], "time": "2023-12-01T16:55:19+00:00" }, - { - "name": "san/san-session-toolbar", - "version": "1.0.12", - "source": { - "type": "git", - "url": "https://github.com/samsonasik/SanSessionToolbar.git", - "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/samsonasik/SanSessionToolbar/zipball/8dcabb057041ee80c258795ca2ce1a736367e8df", - "reference": "8dcabb057041ee80c258795ca2ce1a736367e8df", - "shasum": "" - }, - "require": { - "php": "^5.6 || ^7.0", - "zendframework/zend-json": "^2.5 || ^3.0", - "zendframework/zend-session": "^2.8.4" - }, - "require-dev": { - "container-interop/container-interop": "^1.1", - "zendframework/zend-developer-tools": "^1.0.0 || ^1.1.0", - "zendframework/zend-i18n": "^2.5", - "zendframework/zend-log": "^2.5", - "zendframework/zend-serializer": "^2.5", - "zendframework/zend-test": "^2.5", - "zendframework/zend-view": "^2.5" - }, - "suggest": { - "ext-xdebug": "For better output format of session data, Xdebug should already installed", - "zendframework/zend-mvc-plugin-flashmessenger": "^1.0 for zend-mvc ^3.0 usage to be able to use flashMessenger" - }, - "type": "library", - "autoload": { - "psr-4": { - "SanSessionToolbar\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Abdul Malik Ikhsan", - "email": "samsonasik@gmail.com", - "homepage": "http://samsonasik.wordpress.com", - "role": "Developer" - } - ], - "description": "ZF2/ZF3 Session Toolbar for ZendDeveloperTools ", - "homepage": "https://github.com/samsonasik/SanSessionToolbar", - "keywords": [ - "session", - "zf2", - "zf3" - ], - "support": { - "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", - "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" - }, - "time": "2018-01-31T23:17:00+00:00" - }, { "name": "sebastian/cli-parser", "version": "1.0.1", @@ -8000,171 +6544,6 @@ ], "time": "2020-09-28T06:39:44+00:00" }, - { - "name": "symfony/polyfill-php72", - "version": "v1.28.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179", - "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.28-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.28.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": "2023-01-26T09:26:14+00:00" - }, - { - "name": "symfony/var-dumper", - "version": "v4.4.47", - "source": { - "type": "git", - "url": "https://github.com/symfony/var-dumper.git", - "reference": "1069c7a3fca74578022fab6f81643248d02f8e63" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1069c7a3fca74578022fab6f81643248d02f8e63", - "reference": "1069c7a3fca74578022fab6f81643248d02f8e63", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "symfony/polyfill-mbstring": "~1.0", - "symfony/polyfill-php72": "~1.5", - "symfony/polyfill-php80": "^1.16" - }, - "conflict": { - "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", - "symfony/console": "<3.4" - }, - "require-dev": { - "ext-iconv": "*", - "symfony/console": "^3.4|^4.0|^5.0", - "symfony/process": "^4.4|^5.0", - "twig/twig": "^1.43|^2.13|^3.0.4" - }, - "suggest": { - "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", - "ext-intl": "To show region name in time zone dump", - "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" - }, - "bin": [ - "Resources/bin/var-dump-server" - ], - "type": "library", - "autoload": { - "files": [ - "Resources/functions/dump.php" - ], - "psr-4": { - "Symfony\\Component\\VarDumper\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "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": "Provides mechanisms for walking through any arbitrary PHP variable", - "homepage": "https://symfony.com", - "keywords": [ - "debug", - "dump" - ], - "support": { - "source": "https://github.com/symfony/var-dumper/tree/v4.4.47" - }, - "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-10-03T15:15:11+00:00" - }, { "name": "theseer/tokenizer", "version": "1.2.2", From 17f86103486d38fe40b0db6095dbba242d8a14a8 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 10:21:26 +0000 Subject: [PATCH 29/34] chore(deps): added, removed and updated packages as required and needed accordingly --- composer.json | 2 + composer.lock | 1142 ++++++++++++++++++++++++++++++++++++++++++++++--- 2 files changed, 1095 insertions(+), 49 deletions(-) diff --git a/composer.json b/composer.json index 2929d5c2d..65cf531ab 100644 --- a/composer.json +++ b/composer.json @@ -5,6 +5,7 @@ "php": "^7.4", "container-interop/container-interop": "^1.2", "doctrine/annotations": "^1.14.2", + "doctrine/doctrine-module": "^1", "dvsa/laminas-config-cloud-parameters": "^0.2.0", "laminas/laminas-authentication": "^2.6", "laminas/laminas-eventmanager": "^2.6", @@ -12,6 +13,7 @@ "laminas/laminas-http": "^2.8", "laminas/laminas-i18n": "^2.14", "laminas/laminas-mvc": "^2.7", + "laminas/laminas-serializer": "^2.10", "laminas/laminas-servicemanager": "^2.7", "laminas/laminas-session": "^2.8", "laminas/laminas-stdlib": "^2.7", diff --git a/composer.lock b/composer.lock index 58a981576..2fdb99f03 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": "e69e507f7613b73aef02269714671521", + "content-hash": "ee483b1ac78d063002abbc0f9b3f42dc", "packages": [ { "name": "brick/varexporter", @@ -167,6 +167,276 @@ }, "time": "2023-02-01T09:20:38+00:00" }, + { + "name": "doctrine/cache", + "version": "1.13.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/cache.git", + "reference": "56cd022adb5514472cb144c087393c1821911d09" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/cache/zipball/56cd022adb5514472cb144c087393c1821911d09", + "reference": "56cd022adb5514472cb144c087393c1821911d09", + "shasum": "" + }, + "require": { + "php": "~7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": ">2.2,<2.4" + }, + "require-dev": { + "alcaeus/mongo-php-adapter": "^1.1", + "cache/integration-tests": "dev-master", + "doctrine/coding-standard": "^9", + "mongodb/mongodb": "^1.1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "predis/predis": "~1.0", + "psr/cache": "^1.0 || ^2.0 || ^3.0", + "symfony/cache": "^4.4 || ^5.4 || ^6", + "symfony/var-exporter": "^4.4 || ^5.4 || ^6" + }, + "suggest": { + "alcaeus/mongo-php-adapter": "Required to use legacy MongoDB driver" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Cache\\": "lib/Doctrine/Common/Cache" + } + }, + "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" + } + ], + "description": "PHP Doctrine Cache library is a popular cache implementation that supports many different drivers such as redis, memcache, apc, mongodb and others.", + "homepage": "https://www.doctrine-project.org/projects/cache.html", + "keywords": [ + "abstraction", + "apcu", + "cache", + "caching", + "couchdb", + "memcached", + "php", + "redis", + "xcache" + ], + "support": { + "issues": "https://github.com/doctrine/cache/issues", + "source": "https://github.com/doctrine/cache/tree/1.13.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%2Fcache", + "type": "tidelift" + } + ], + "time": "2022-05-20T20:06:54+00:00" + }, + { + "name": "doctrine/collections", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/collections.git", + "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/collections/zipball/2b44dd4cbca8b5744327de78bafef5945c7e7b5e", + "reference": "2b44dd4cbca8b5744327de78bafef5945c7e7b5e", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^0.5.3 || ^1", + "php": "^7.1.3 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0 || ^10.0", + "phpstan/phpstan": "^1.4.8", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.1.5", + "vimeo/psalm": "^4.22" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Collections\\": "lib/Doctrine/Common/Collections" + } + }, + "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" + } + ], + "description": "PHP Doctrine Collections library that adds additional functionality on top of PHP arrays.", + "homepage": "https://www.doctrine-project.org/projects/collections.html", + "keywords": [ + "array", + "collections", + "iterators", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/collections/issues", + "source": "https://github.com/doctrine/collections/tree/1.8.0" + }, + "time": "2022-09-01T20:12:10+00:00" + }, + { + "name": "doctrine/common", + "version": "2.13.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/common.git", + "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/common/zipball/f3812c026e557892c34ef37f6ab808a6b567da7f", + "reference": "f3812c026e557892c34ef37f6ab808a6b567da7f", + "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" + }, + "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" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.11.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": "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" + ], + "support": { + "issues": "https://github.com/doctrine/common/issues", + "source": "https://github.com/doctrine/common/tree/2.13.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%2Fcommon", + "type": "tidelift" + } + ], + "time": "2020-06-05T16:46:05+00:00" + }, { "name": "doctrine/deprecations", "version": "1.1.2", @@ -201,48 +471,528 @@ "psr-4": { "Doctrine\\Deprecations\\": "lib/Doctrine/Deprecations" } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" + }, + "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/1.1.2" + }, + "time": "2023-09-27T20:04:15+00:00" + }, + { + "name": "doctrine/doctrine-module", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/DoctrineModule.git", + "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/DoctrineModule/zipball/9407d04d0b08e7071dab05c9d068cefda9dc5a6f", + "reference": "9407d04d0b08e7071dab05c9d068cefda9dc5a6f", + "shasum": "" + }, + "require": { + "doctrine/cache": "^1.6", + "doctrine/common": "^2.6.1", + "php": "^5.6 || ^7.0", + "symfony/console": "^2.3 || ^3.0", + "zendframework/zend-authentication": "^2.5.3", + "zendframework/zend-cache": "^2.7.1", + "zendframework/zend-form": "^2.9", + "zendframework/zend-hydrator": "^1.1 || ^2.2.1", + "zendframework/zend-mvc": "^2.7.10 || ^3.0.1", + "zendframework/zend-paginator": "^2.7", + "zendframework/zend-servicemanager": "^2.7.6 || ^3.1", + "zendframework/zend-stdlib": "^2.7.7 || ^3.0.1", + "zendframework/zend-validator": "^2.8.1" + }, + "require-dev": { + "phpunit/phpunit": "^4.8", + "squizlabs/php_codesniffer": "^2.6.2", + "zendframework/zend-i18n": "^2.7.3", + "zendframework/zend-log": "^2.9", + "zendframework/zend-modulemanager": "^2.7.2", + "zendframework/zend-serializer": "^2.8", + "zendframework/zend-session": "^2.7.3", + "zendframework/zend-test": "^2.6.1 || ^3.0.1", + "zendframework/zend-version": "^2.5.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.10 if you are using ZF3" + }, + "bin": [ + "bin/doctrine-module" + ], + "type": "library", + "extra": { + "zf": { + "module": "DoctrineModule" + } + }, + "autoload": { + "psr-0": { + "DoctrineModule\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Spraggs", + "email": "theman@spiffyjr.me", + "homepage": "http://www.spiffyjr.me/" + }, + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "http://marco-pivetta.com/" + }, + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@hotmail.com" + }, + { + "name": "MichaĆ«l Gallego", + "email": "mic.gallego@gmail.com", + "homepage": "http://www.michaelgallego.fr" + } + ], + "description": "Zend Framework Module that provides Doctrine basic functionality required for ORM and ODM modules", + "homepage": "http://www.doctrine-project.org/", + "keywords": [ + "doctrine", + "module", + "zf" + ], + "support": { + "issues": "https://github.com/doctrine/DoctrineModule/issues", + "source": "https://github.com/doctrine/DoctrineModule/tree/2.0.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%2Fdoctrine-module", + "type": "tidelift" + } + ], + "time": "2016-10-03T19:40:55+00:00" + }, + { + "name": "doctrine/event-manager", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/event-manager.git", + "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", + "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", + "shasum": "" + }, + "require": { + "doctrine/deprecations": "^0.5.3 || ^1", + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": "<2.9" + }, + "require-dev": { + "doctrine/coding-standard": "^9 || ^10", + "phpstan/phpstan": "~1.4.10 || ^1.8.8", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.24" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "src" + } + }, + "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 Event Manager is a simple PHP event system that was built to be used with the various Doctrine projects.", + "homepage": "https://www.doctrine-project.org/projects/event-manager.html", + "keywords": [ + "event", + "event dispatcher", + "event manager", + "event system", + "events" + ], + "support": { + "issues": "https://github.com/doctrine/event-manager/issues", + "source": "https://github.com/doctrine/event-manager/tree/1.2.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%2Fevent-manager", + "type": "tidelift" + } + ], + "time": "2022-10-12T20:51:15+00:00" + }, + { + "name": "doctrine/inflector", + "version": "1.4.4", + "source": { + "type": "git", + "url": "https://github.com/doctrine/inflector.git", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "reference": "4bd5c1cdfcd00e9e2d8c484f79150f67e5d355d9", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^8.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-phpunit": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + }, + "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" + } + }, + "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" + } + ], + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", + "keywords": [ + "inflection", + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "support": { + "issues": "https://github.com/doctrine/inflector/issues", + "source": "https://github.com/doctrine/inflector/tree/1.4.4" + }, + "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%2Finflector", + "type": "tidelift" + } + ], + "time": "2021-04-16T17:34:40+00:00" + }, + { + "name": "doctrine/lexer", + "version": "1.2.3", + "source": { + "type": "git", + "url": "https://github.com/doctrine/lexer.git", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/lexer/zipball/c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "reference": "c268e882d4dbdd85e36e4ad69e02dc284f89d229", + "shasum": "" + }, + "require": { + "php": "^7.1 || ^8.0" + }, + "require-dev": { + "doctrine/coding-standard": "^9.0", + "phpstan/phpstan": "^1.3", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", + "vimeo/psalm": "^4.11" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Common\\Lexer\\": "lib/Doctrine/Common/Lexer" + } + }, + "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": "Johannes Schmitt", + "email": "schmittjoh@gmail.com" + } + ], + "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", + "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "keywords": [ + "annotations", + "docblock", + "lexer", + "parser", + "php" + ], + "support": { + "issues": "https://github.com/doctrine/lexer/issues", + "source": "https://github.com/doctrine/lexer/tree/1.2.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%2Flexer", + "type": "tidelift" + } + ], + "time": "2022-02-28T11:07:21+00:00" + }, + { + "name": "doctrine/persistence", + "version": "1.3.8", + "source": { + "type": "git", + "url": "https://github.com/doctrine/persistence.git", + "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/persistence/zipball/7a6eac9fb6f61bba91328f15aa7547f4806ca288", + "reference": "7a6eac9fb6f61bba91328f15aa7547f4806ca288", + "shasum": "" + }, + "require": { + "doctrine/annotations": "^1.0", + "doctrine/cache": "^1.0", + "doctrine/collections": "^1.0", + "doctrine/event-manager": "^1.0", + "doctrine/reflection": "^1.2", + "php": "^7.1 || ^8.0" + }, + "conflict": { + "doctrine/common": "<2.10@dev" + }, + "require-dev": { + "doctrine/coding-standard": "^6.0", + "phpstan/phpstan": "^0.11", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", + "vimeo/psalm": "^3.11" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Doctrine\\Common\\": "lib/Doctrine/Common", + "Doctrine\\Persistence\\": "lib/Doctrine/Persistence" + } + }, + "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 Persistence project is a set of shared interfaces and functionality that the different Doctrine object mappers share.", + "homepage": "https://doctrine-project.org/projects/persistence.html", + "keywords": [ + "mapper", + "object", + "odm", + "orm", + "persistence" + ], + "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" + } ], - "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/1.1.2" - }, - "time": "2023-09-27T20:04:15+00:00" + "time": "2020-06-20T12:56:16+00:00" }, { - "name": "doctrine/lexer", - "version": "2.1.0", + "name": "doctrine/reflection", + "version": "1.2.4", "source": { "type": "git", - "url": "https://github.com/doctrine/lexer.git", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124" + "url": "https://github.com/doctrine/reflection.git", + "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/lexer/zipball/39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", - "reference": "39ab8fcf5a51ce4b85ca97c7a7d033eb12831124", + "url": "https://api.github.com/repos/doctrine/reflection/zipball/6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", + "reference": "6bcea3e81ab8b3d0abe5fde5300bbc8a968960c7", "shasum": "" }, "require": { - "doctrine/deprecations": "^1.0", + "doctrine/annotations": "^1.0 || ^2.0", + "ext-tokenizer": "*", "php": "^7.1 || ^8.0" }, + "conflict": { + "doctrine/common": "<2.9" + }, "require-dev": { - "doctrine/coding-standard": "^9 || ^10", - "phpstan/phpstan": "^1.3", - "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "psalm/plugin-phpunit": "^0.18.3", - "vimeo/psalm": "^4.11 || ^5.0" + "doctrine/coding-standard": "^9", + "doctrine/common": "^3.3", + "phpstan/phpstan": "^1.4.10", + "phpstan/phpstan-phpunit": "^1", + "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\Lexer\\": "src" + "Doctrine\\Common\\": "lib/Doctrine/Common" } }, "notification-url": "https://packagist.org/downloads/", @@ -258,39 +1008,35 @@ "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 Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", - "homepage": "https://www.doctrine-project.org/projects/lexer.html", + "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": [ - "annotations", - "docblock", - "lexer", - "parser", - "php" + "reflection", + "static" ], "support": { - "issues": "https://github.com/doctrine/lexer/issues", - "source": "https://github.com/doctrine/lexer/tree/2.1.0" + "issues": "https://github.com/doctrine/reflection/issues", + "source": "https://github.com/doctrine/reflection/tree/1.2.4" }, - "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%2Flexer", - "type": "tidelift" - } - ], - "time": "2022-12-14T08:49:07+00:00" + "abandoned": "roave/better-reflection", + "time": "2023-07-27T18:11:59+00:00" }, { "name": "dvsa/laminas-config-cloud-parameters", @@ -2173,6 +2919,77 @@ }, "time": "2019-12-31T17:38:47+00:00" }, + { + "name": "laminas/laminas-serializer", + "version": "2.10.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-serializer.git", + "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-serializer/zipball/1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", + "reference": "1c57f1bdf05da078493b774c9e8d77ee8b46b4bb", + "shasum": "" + }, + "require": { + "laminas/laminas-json": "^2.5 || ^3.0", + "laminas/laminas-stdlib": "^2.7 || ^3.0", + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^5.6 || ^7.0" + }, + "replace": { + "zendframework/zend-serializer": "^2.9.1" + }, + "require-dev": { + "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-math": "^2.6 || ^3.0", + "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", + "phpunit/phpunit": "^5.7.27 || ^6.5.14 || ^7.5.16" + }, + "suggest": { + "laminas/laminas-math": "(^2.6 || ^3.0) To support Python Pickle serialization", + "laminas/laminas-servicemanager": "(^2.7.5 || ^3.0.3) To support plugin manager support" + }, + "type": "library", + "extra": { + "laminas": { + "component": "Laminas\\Serializer", + "config-provider": "Laminas\\Serializer\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Laminas\\Serializer\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Serialize and deserialize PHP structures to a variety of representations", + "homepage": "https://laminas.dev", + "keywords": [ + "laminas", + "serializer" + ], + "support": { + "chat": "https://laminas.dev/chat", + "docs": "https://docs.laminas.dev/laminas-serializer/", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-serializer/issues", + "rss": "https://github.com/laminas/laminas-serializer/releases.atom", + "source": "https://github.com/laminas/laminas-serializer" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2021-02-17T17:05:24+00:00" + }, { "name": "laminas/laminas-servicemanager", "version": "2.7.11", @@ -3432,6 +4249,159 @@ }, "time": "2017-10-23T01:57:42+00:00" }, + { + "name": "symfony/console", + "version": "v3.4.47", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/a10b1da6fc93080c180bba7219b5ff5b7518fe81", + "reference": "a10b1da6fc93080c180bba7219b5ff5b7518fe81", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/debug": "~2.8|~3.0|~4.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.4", + "symfony/process": "<3.3" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.3|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/event-dispatcher": "~2.8|~3.0|~4.0", + "symfony/lock": "~3.4|~4.0", + "symfony/process": "~3.3|~4.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "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": "Symfony Console Component", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/console/tree/v3.4.47" + }, + "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": "2020-10-24T10:57:07+00:00" + }, + { + "name": "symfony/debug", + "version": "v4.4.44", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "1a692492190773c5310bc7877cb590c04c2f05be" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/1a692492190773c5310bc7877cb590c04c2f05be", + "reference": "1a692492190773c5310bc7877cb590c04c2f05be", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "psr/log": "^1|^2|^3" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "^3.4|^4.0|^5.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Debug\\": "" + }, + "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": "Provides tools to ease debugging PHP code", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/debug/tree/v4.4.44" + }, + "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" + } + ], + "abandoned": "symfony/error-handler", + "time": "2022-07-28T16:29:46+00:00" + }, { "name": "symfony/dependency-injection", "version": "v5.4.34", @@ -4559,6 +5529,80 @@ ], "time": "2021-04-19T16:34:45+00:00" }, + { + "name": "zendframework/zend-paginator", + "version": "2.8.2", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-paginator.git", + "reference": "2b4d07d9475ed581278a28d065b238a0941402e2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-paginator/zipball/2b4d07d9475ed581278a28d065b238a0941402e2", + "reference": "2b4d07d9475ed581278a28d065b238a0941402e2", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^5.6", + "zendframework/zend-stdlib": "^2.7 || ^3.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.2.1 || ^5.7.15", + "zendframework/zend-cache": "^2.6.1", + "zendframework/zend-coding-standard": "~1.0.0", + "zendframework/zend-config": "^2.6.0", + "zendframework/zend-db": "^2.9.2", + "zendframework/zend-filter": "^2.6.1", + "zendframework/zend-json": "^2.6.1", + "zendframework/zend-servicemanager": "^2.7.5 || ^3.0.3", + "zendframework/zend-view": "^2.6.3" + }, + "suggest": { + "zendframework/zend-cache": "Zend\\Cache component to support cache features", + "zendframework/zend-db": "Zend\\Db component", + "zendframework/zend-filter": "Zend\\Filter component", + "zendframework/zend-json": "Zend\\Json component", + "zendframework/zend-servicemanager": "Zend\\ServiceManager component", + "zendframework/zend-view": "Zend\\View component" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.8.x-dev", + "dev-develop": "2.9.x-dev" + }, + "zf": { + "component": "Zend\\Paginator", + "config-provider": "Zend\\Paginator\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Zend\\Paginator\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Paginate collections of data from arbitrary sources", + "keywords": [ + "ZendFramework", + "paginator", + "zf" + ], + "support": { + "chat": "https://zendframework-slack.herokuapp.com", + "docs": "https://docs.zendframework.com/zend-paginator/", + "forum": "https://discourse.zendframework.com/c/questions/components", + "issues": "https://github.com/zendframework/zend-paginator/issues", + "rss": "https://github.com/zendframework/zend-paginator/releases.atom", + "source": "https://github.com/zendframework/zend-paginator" + }, + "abandoned": "laminas/laminas-paginator", + "time": "2019-08-21T13:31:03+00:00" + }, { "name": "zfr/rbac", "version": "1.2.0", From c0e05cc771de7b9854d5a2ddef31e30638e23e94 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 10:55:09 +0000 Subject: [PATCH 30/34] chore: Removed debugging flagged to stop on error --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 65cf531ab..289479284 100644 --- a/composer.json +++ b/composer.json @@ -61,7 +61,7 @@ "post-install-cmd": [ "@composer bin all install" ], - "test": "phpunit --stop-on-error", + "test": "phpunit", "phpcs": "phpcs", "psalm": "psalm", "phpstan": "phpstan", From 64112ff722c899749da652512dab0595427fbf18 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 15:48:29 +0000 Subject: [PATCH 31/34] chore: Removed in favor of default setting --- phpunit.xml.dist | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 4fde25a8a..14eafd084 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -14,16 +14,6 @@ - - - - 250 - - - 5 - - - From b8894fa85c12be41f698308cae6f6050ffdbc120 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 15:48:49 +0000 Subject: [PATCH 32/34] chore(deps): added, removed and updated packages as required and needed accordingly --- composer.json | 8 +- composer.lock | 422 ++++++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 366 insertions(+), 64 deletions(-) diff --git a/composer.json b/composer.json index 289479284..051cc0237 100644 --- a/composer.json +++ b/composer.json @@ -22,14 +22,16 @@ "olcs/olcs-auth": "^5.0.0", "olcs/olcs-common": "^5.0.0", "olcs/olcs-logging": "^5.0.0", - "olcs/olcs-transfer": "^5.0.0" + "olcs/olcs-transfer": "^5.0.0", + "olcs/olcs-utils": "^5.0.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8", "johnkary/phpunit-speedtrap": "^4.0", + "laminas/laminas-developer-tools": "*", "mockery/mockery": "^1.6", - "phpstan/phpstan": "^0.12.100", - "phpunit/phpunit": "^9.6" + "phpunit/phpunit": "^9.6", + "san/san-session-toolbar": "*" }, "autoload": { "classmap": [ diff --git a/composer.lock b/composer.lock index 2fdb99f03..444049080 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": "ee483b1ac78d063002abbc0f9b3f42dc", + "content-hash": "cb780a3f42a77a5ef183645c8186ac32", "packages": [ { "name": "brick/varexporter", @@ -5889,6 +5889,85 @@ }, "time": "2022-10-17T00:56:56+00:00" }, + { + "name": "laminas/laminas-developer-tools", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-developer-tools.git", + "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-developer-tools/zipball/f6a6cfe65a36f9284e106381d002c216be6df0bc", + "reference": "f6a6cfe65a36f9284e106381d002c216be6df0bc", + "shasum": "" + }, + "require": { + "laminas/laminas-eventmanager": "^2.6.2 || ^3.0", + "laminas/laminas-modulemanager": "^2.7", + "laminas/laminas-mvc": "^2.7 || ^3.0.1", + "laminas/laminas-servicemanager": "^2.7.5 || ^3.0.3", + "laminas/laminas-stdlib": "^2.7 || ^3.0", + "laminas/laminas-view": "^2.6", + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^5.6 || ^7.0", + "symfony/var-dumper": "^3.4.36 || ^4.4.1 || ^5.0.1" + }, + "replace": { + "zendframework/zend-developer-tools": "^2.0.0" + }, + "require-dev": { + "laminas/laminas-coding-standard": "~1.0.0", + "phpunit/phpunit": "^5.7.25 || ^6.4.4 || ^7.1" + }, + "suggest": { + "aist/aist-git-tools": "Show you information about current GIT repository", + "bjyoungblood/bjy-profiler": "Version: dev-master, allows the usage of the (Laminas) Db collector.", + "doctrine/doctrine-orm-module": "Profile DoctrineORM queries", + "jhuet/zdt-logger-module": "Show you log data from Laminas\\Log", + "ocramius/ocra-service-manager": "OcraServiceManager can help you track dependencies within your application.", + "san/san-session-toolbar": "SanSessionToolbar can help you see current Laminas\\Session data you're using within your application.", + "snapshotpl/api-tools-snap-event-debugger": "ZfSnapEventDebugger can help you debug events from Laminas\\EventManager" + }, + "type": "library", + "extra": { + "laminas": { + "module": "Laminas\\DeveloperTools" + } + }, + "autoload": { + "psr-4": { + "Laminas\\DeveloperTools\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Module for developer and debug tools for use with laminas-mvc applications.", + "homepage": "https://laminas.dev", + "keywords": [ + "debug", + "developer", + "laminas", + "module" + ], + "support": { + "chat": "https://laminas.dev/chat", + "forum": "https://discourse.laminas.dev", + "issues": "https://github.com/laminas/laminas-developer-tools/issues", + "rss": "https://github.com/laminas/laminas-developer-tools/releases.atom", + "source": "https://github.com/laminas/laminas-developer-tools" + }, + "funding": [ + { + "url": "https://funding.communitybridge.org/projects/laminas-project", + "type": "community_bridge" + } + ], + "time": "2020-11-02T03:12:47+00:00" + }, { "name": "mockery/mockery", "version": "1.6.7", @@ -6142,66 +6221,6 @@ }, "time": "2022-02-21T01:04:05+00:00" }, - { - "name": "phpstan/phpstan", - "version": "0.12.100", - "source": { - "type": "git", - "url": "https://github.com/phpstan/phpstan.git", - "reference": "48236ddf823547081b2b153d1cd2994b784328c3" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/48236ddf823547081b2b153d1cd2994b784328c3", - "reference": "48236ddf823547081b2b153d1cd2994b784328c3", - "shasum": "" - }, - "require": { - "php": "^7.1|^8.0" - }, - "conflict": { - "phpstan/phpstan-shim": "*" - }, - "bin": [ - "phpstan", - "phpstan.phar" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.12-dev" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "description": "PHPStan - PHP Static Analysis Tool", - "support": { - "issues": "https://github.com/phpstan/phpstan/issues", - "source": "https://github.com/phpstan/phpstan/tree/0.12.100" - }, - "funding": [ - { - "url": "https://github.com/ondrejmirtes", - "type": "github" - }, - { - "url": "https://github.com/phpstan", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" - } - ], - "time": "2022-11-01T09:52:08+00:00" - }, { "name": "phpunit/php-code-coverage", "version": "9.2.30", @@ -6624,6 +6643,68 @@ ], "time": "2023-12-01T16:55:19+00:00" }, + { + "name": "san/san-session-toolbar", + "version": "0.6.0", + "source": { + "type": "git", + "url": "https://github.com/samsonasik/SanSessionToolbar.git", + "reference": "453fb0557ea45de984fa7702b9e2477aba0a489a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/samsonasik/SanSessionToolbar/zipball/453fb0557ea45de984fa7702b9e2477aba0a489a", + "reference": "453fb0557ea45de984fa7702b9e2477aba0a489a", + "shasum": "" + }, + "require": { + "php": ">=5.3.23,<8", + "zendframework/zend-debug": "~2.3", + "zendframework/zend-session": "~2.3" + }, + "require-dev": { + "container-interop/container-interop": "^1.1", + "phpunit/phpcov": "~2.0", + "satooshi/php-coveralls": "^1.0", + "zendframework/zend-developer-tools": "dev-master", + "zendframework/zend-i18n": "~2.3", + "zendframework/zend-log": "~2.3", + "zendframework/zend-serializer": "~2.3", + "zendframework/zend-test": "~2.3" + }, + "suggest": { + "ext-xdebug": "For better output format of session data, Xdebug should already installed" + }, + "type": "library", + "autoload": { + "psr-4": { + "SanSessionToolbar\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Abdul Malik Ikhsan", + "email": "samsonasik@gmail.com", + "homepage": "http://samsonasik.wordpress.com", + "role": "Developer" + } + ], + "description": "ZF2 Session Toolbar for ZendDeveloperTools ", + "homepage": "https://github.com/samsonasik/SanSessionToolbar", + "keywords": [ + "session", + "zf2" + ], + "support": { + "issues": "https://github.com/samsonasik/SanSessionToolbar/issues", + "source": "https://github.com/samsonasik/SanSessionToolbar/tree/master" + }, + "time": "2016-05-04T21:13:28+00:00" + }, { "name": "sebastian/cli-parser", "version": "1.0.1", @@ -7588,6 +7669,171 @@ ], "time": "2020-09-28T06:39:44+00:00" }, + { + "name": "symfony/polyfill-php72", + "version": "v1.28.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php72.git", + "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/70f4aebd92afca2f865444d30a4d2151c13c3179", + "reference": "70f4aebd92afca2f865444d30a4d2151c13c3179", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.28-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.28.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": "2023-01-26T09:26:14+00:00" + }, + { + "name": "symfony/var-dumper", + "version": "v4.4.47", + "source": { + "type": "git", + "url": "https://github.com/symfony/var-dumper.git", + "reference": "1069c7a3fca74578022fab6f81643248d02f8e63" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/1069c7a3fca74578022fab6f81643248d02f8e63", + "reference": "1069c7a3fca74578022fab6f81643248d02f8e63", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php72": "~1.5", + "symfony/polyfill-php80": "^1.16" + }, + "conflict": { + "phpunit/phpunit": "<4.8.35|<5.4.3,>=5.0", + "symfony/console": "<3.4" + }, + "require-dev": { + "ext-iconv": "*", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/process": "^4.4|^5.0", + "twig/twig": "^1.43|^2.13|^3.0.4" + }, + "suggest": { + "ext-iconv": "To convert non-UTF-8 strings to UTF-8 (or symfony/polyfill-iconv in case ext-iconv cannot be used).", + "ext-intl": "To show region name in time zone dump", + "symfony/console": "To use the ServerDumpCommand and/or the bin/var-dump-server script" + }, + "bin": [ + "Resources/bin/var-dump-server" + ], + "type": "library", + "autoload": { + "files": [ + "Resources/functions/dump.php" + ], + "psr-4": { + "Symfony\\Component\\VarDumper\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "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": "Provides mechanisms for walking through any arbitrary PHP variable", + "homepage": "https://symfony.com", + "keywords": [ + "debug", + "dump" + ], + "support": { + "source": "https://github.com/symfony/var-dumper/tree/v4.4.47" + }, + "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-10-03T15:15:11+00:00" + }, { "name": "theseer/tokenizer", "version": "1.2.2", @@ -7637,6 +7883,60 @@ } ], "time": "2023-11-20T00:12:19+00:00" + }, + { + "name": "zendframework/zend-debug", + "version": "2.5.1", + "source": { + "type": "git", + "url": "https://github.com/zendframework/zend-debug.git", + "reference": "b6f9df59155391ca683c479a0d758f66ef73b3b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/zendframework/zend-debug/zipball/b6f9df59155391ca683c479a0d758f66ef73b3b3", + "reference": "b6f9df59155391ca683c479a0d758f66ef73b3b3", + "shasum": "" + }, + "require": { + "php": ">=5.3.23" + }, + "require-dev": { + "fabpot/php-cs-fixer": "1.7.*", + "phpunit/phpunit": "~4.0", + "zendframework/zend-escaper": "2.*" + }, + "suggest": { + "ext/xdebug": "XDebug, for better backtrace output", + "zendframework/zend-escaper": "To support escaped output" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.5-dev", + "dev-develop": "2.6-dev" + } + }, + "autoload": { + "psr-4": { + "Zend\\Debug\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "homepage": "https://github.com/zendframework/zend-debug", + "keywords": [ + "debug", + "zf2" + ], + "support": { + "issues": "https://github.com/zendframework/zend-debug/issues", + "source": "https://github.com/zendframework/zend-debug/tree/release-2.5.0" + }, + "abandoned": true, + "time": "2015-06-03T14:05:35+00:00" } ], "aliases": [], From bf6a650b56ccd017b61da88d8f1a2f1e717075c2 Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 16:11:04 +0000 Subject: [PATCH 33/34] chore: project specific workflow added --- .github/workflows/ci.yaml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b971c50b9..c31ef5836 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,19 +7,17 @@ on: jobs: security: - uses: dvsa/.github/.github/workflows/php-library-security.yml@main - with: - php-versions: "[\"7.4\"]" + uses: dvsa/.github/.github/workflows/php-security.yml@main secrets: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} static-analysis: - uses: dvsa/.github/.github/workflows/php-library-static.yml@main + uses: dvsa/.github/.github/workflows/php-static.yml@main with: php-version: '7.4' tests: - uses: dvsa/.github/.github/workflows/php-library-tests.yml@main + uses: dvsa/.github/.github/workflows/php-tests.yml@main with: php-versions: "[\"7.4\"]" fail-fast: false From 26d7b38df299f4417725f5891af4697d3fa1645d Mon Sep 17 00:00:00 2001 From: sanaullahkhan Date: Wed, 3 Jan 2024 17:21:57 +0000 Subject: [PATCH 34/34] chore: added correct path of phpstan and psalm --- phpstan.neon.dist | 4 ++-- psalm.xml.dist | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index f76823d26..afa6c17b4 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,5 +1,5 @@ parameters: level: 1 paths: - - src - - test \ No newline at end of file + - module + - test diff --git a/psalm.xml.dist b/psalm.xml.dist index aa552e0b6..be5908bf0 100644 --- a/psalm.xml.dist +++ b/psalm.xml.dist @@ -8,6 +8,6 @@ findUnusedCode="false" > - + - \ No newline at end of file +