From a2041abc3f726cdae62e669efb92e3eebd8619b4 Mon Sep 17 00:00:00 2001 From: Brian French Date: Tue, 24 Dec 2019 18:29:07 -0500 Subject: [PATCH 1/2] Update AppControllerTest.php --- tests/TestCase/Controller/AppControllerTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/TestCase/Controller/AppControllerTest.php b/tests/TestCase/Controller/AppControllerTest.php index 206522a..07b5e01 100644 --- a/tests/TestCase/Controller/AppControllerTest.php +++ b/tests/TestCase/Controller/AppControllerTest.php @@ -4,6 +4,7 @@ /** * AppControllerTest */ + namespace Fr3nch\Jira\Test\TestCase\Controller; use App\Application; @@ -15,8 +16,6 @@ /** * App Controller Test - * @runTestsInSeparateProcesses - * @preserveGlobalState disabled */ class AppControllerTest extends TestCase { From da9270d263fab2eb8529f33e1d12a7c438999865 Mon Sep 17 00:00:00 2001 From: Brian French Date: Wed, 5 Feb 2020 20:20:19 -0500 Subject: [PATCH 2/2] Updating Typehints and Tests. --- composer.json | 4 +- composer.lock | 885 +++++++++++++------------ src/Lib/JiraProject.php | 8 +- src/View/Helper/JiraHelper.php | 4 +- tests/TestCase/Lib/JiraProjectTest.php | 54 +- 5 files changed, 462 insertions(+), 493 deletions(-) diff --git a/composer.json b/composer.json index 6c8db14..2416e21 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fr3nch13/cakephp-jira", - "description": "A CakePHP Plugin to intereact with Jira.", + "description": "A CakePHP 4.x Plugin to intereact with Jira.", "keywords": ["cakephp", "plugin", "jira"], "homepage": "https://github.com/fr3nch13/cakephp-jira", "type": "cakephp-plugin", @@ -16,7 +16,7 @@ "prefer-stable": true, "require": { "php": "^7.2", - "lesstif/php-jira-rest-client": "^1.41" + "lesstif/php-jira-rest-client": "^1.44" }, "require-dev": { "fr3nch13/cakephp-pta": "2.0.2" diff --git a/composer.lock b/composer.lock index 18dee25..331d79a 100644 --- a/composer.lock +++ b/composer.lock @@ -4,26 +4,26 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9a8cb59ad40b5f9cf7b96b270b15f9bc", + "content-hash": "fe0472acd7026b65df99600fa1499931", "packages": [ { "name": "lesstif/php-jira-rest-client", - "version": "1.42.0", + "version": "1.44.0", "source": { "type": "git", "url": "https://github.com/lesstif/php-jira-rest-client.git", - "reference": "c319cfd46623147776feb974cfbde6bddee316ee" + "reference": "c05eee2e8d7c460d605d493b9292d179142de74d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/lesstif/php-jira-rest-client/zipball/c319cfd46623147776feb974cfbde6bddee316ee", - "reference": "c319cfd46623147776feb974cfbde6bddee316ee", + "url": "https://api.github.com/repos/lesstif/php-jira-rest-client/zipball/c05eee2e8d7c460d605d493b9292d179142de74d", + "reference": "c05eee2e8d7c460d605d493b9292d179142de74d", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": "*", - "monolog/monolog": "~1.12", + "monolog/monolog": "~1.12|^2.0", "netresearch/jsonmapper": "~0.11|^1.0", "php": ">=5.6.9", "vlucas/phpdotenv": "~1.0|~2.0|^3.0" @@ -64,25 +64,25 @@ "jira-rest", "rest" ], - "time": "2019-12-12T04:16:15+00:00" + "time": "2020-02-01T12:19:59+00:00" }, { "name": "monolog/monolog", - "version": "1.25.3", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "fa82921994db851a8becaf3787a9e73c5976b6f1" + "reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/fa82921994db851a8becaf3787a9e73c5976b6f1", - "reference": "fa82921994db851a8becaf3787a9e73c5976b6f1", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c861fcba2ca29404dc9e617eedd9eff4616986b8", + "reference": "c861fcba2ca29404dc9e617eedd9eff4616986b8", "shasum": "" }, "require": { - "php": ">=5.3.0", - "psr/log": "~1.0" + "php": "^7.2", + "psr/log": "^1.0.1" }, "provide": { "psr/log-implementation": "1.0.0" @@ -90,33 +90,36 @@ "require-dev": { "aws/aws-sdk-php": "^2.4.9 || ^3.0", "doctrine/couchdb": "~1.0@dev", - "graylog2/gelf-php": "~1.0", - "jakub-onderka/php-parallel-lint": "0.9", + "elasticsearch/elasticsearch": "^6.0", + "graylog2/gelf-php": "^1.4.2", + "jakub-onderka/php-parallel-lint": "^0.9", "php-amqplib/php-amqplib": "~2.4", "php-console/php-console": "^3.1.3", - "phpunit/phpunit": "~4.5", - "phpunit/phpunit-mock-objects": "2.3.0", + "phpspec/prophecy": "^1.6.1", + "phpunit/phpunit": "^8.3", + "predis/predis": "^1.1", + "rollbar/rollbar": "^1.3", "ruflin/elastica": ">=0.90 <3.0", - "sentry/sentry": "^0.13", "swiftmailer/swiftmailer": "^5.3|^6.0" }, "suggest": { "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-mongo": "Allow sending log messages to a MongoDB server", + "ext-mbstring": "Allow to work properly with unicode symbols", + "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", "php-console/php-console": "Allow sending log messages to Google Chrome", "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server", - "sentry/sentry": "Allow sending log messages to a Sentry server" + "ruflin/elastica": "Allow sending log messages to an Elastic Search server" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { @@ -142,7 +145,7 @@ "logging", "psr-3" ], - "time": "2019-12-20T14:15:16+00:00" + "time": "2019-12-20T14:22:59+00:00" }, { "name": "netresearch/jsonmapper", @@ -409,117 +412,6 @@ } ], "packages-dev": [ - { - "name": "aptoma/twig-markdown", - "version": "3.2.0", - "source": { - "type": "git", - "url": "https://github.com/aptoma/twig-markdown.git", - "reference": "496ec52657ead7c7e816a8702da26c3cc2e0990c" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/aptoma/twig-markdown/zipball/496ec52657ead7c7e816a8702da26c3cc2e0990c", - "reference": "496ec52657ead7c7e816a8702da26c3cc2e0990c", - "shasum": "" - }, - "require": { - "php": "^7.0", - "twig/twig": "^2.7.0" - }, - "require-dev": { - "codeclimate/php-test-reporter": "dev-master", - "erusev/parsedown": "^1.6", - "knplabs/github-api": "~1.4", - "league/commonmark": "~0.5", - "michelf/php-markdown": "~1", - "phpunit/phpunit": "~6.0||~5.0" - }, - "suggest": { - "knplabs/github-api": "Needed for using GitHub's Markdown engine provided through their API.", - "michelf/php-markdown": "Original Markdown engine with MarkdownExtra." - }, - "type": "library", - "autoload": { - "psr-0": { - "Aptoma": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Joris Berthelot", - "email": "joris@berthelot.tel" - }, - { - "name": "Gunnar Lium", - "email": "gunnar@aptoma.com" - } - ], - "description": "Twig extension to work with Markdown content", - "keywords": [ - "markdown", - "twig" - ], - "time": "2019-05-24T07:47:05+00:00" - }, - { - "name": "asm89/twig-cache-extension", - "version": "1.3.2", - "source": { - "type": "git", - "url": "https://github.com/asm89/twig-cache-extension.git", - "reference": "630ea7abdc3fc62ba6786c02590a1560e449cf55" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/asm89/twig-cache-extension/zipball/630ea7abdc3fc62ba6786c02590a1560e449cf55", - "reference": "630ea7abdc3fc62ba6786c02590a1560e449cf55", - "shasum": "" - }, - "require": { - "php": ">=5.3.2", - "twig/twig": "^1.0|^2.0" - }, - "require-dev": { - "doctrine/cache": "~1.0" - }, - "suggest": { - "psr/cache-implementation": "To make use of PSR-6 cache implementation via PsrCacheAdapter." - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, - "autoload": { - "psr-4": { - "": "lib/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Alexander", - "email": "iam.asm89@gmail.com" - } - ], - "description": "Cache fragments of templates directly within Twig.", - "homepage": "https://github.com/asm89/twig-cache-extension", - "keywords": [ - "cache", - "extension", - "twig" - ], - "time": "2017-01-10T22:04:15+00:00" - }, { "name": "aura/intl", "version": "3.0.0", @@ -568,27 +460,27 @@ }, { "name": "cakephp/bake", - "version": "2.0.1", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/cakephp/bake.git", - "reference": "83b8008954bdceb14d6cc74f9f432f72be1c32af" + "reference": "113502b5687026adf158fde3132354f4dcd49ed4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/bake/zipball/83b8008954bdceb14d6cc74f9f432f72be1c32af", - "reference": "83b8008954bdceb14d6cc74f9f432f72be1c32af", + "url": "https://api.github.com/repos/cakephp/bake/zipball/113502b5687026adf158fde3132354f4dcd49ed4", + "reference": "113502b5687026adf158fde3132354f4dcd49ed4", "shasum": "" }, "require": { "cakephp/cakephp": "^4.0", "cakephp/plugin-installer": "^1.0", "php": ">=7.2", - "wyrihaximus/twig-view": "dev-master" + "wyrihaximus/twig-view": "^5.0.1" }, "require-dev": { - "cakephp/cakephp-codesniffer": "dev-next", - "phpunit/phpunit": "^8.0" + "cakephp/cakephp-codesniffer": "^4.0", + "phpunit/phpunit": "~8.5.0" }, "type": "cakephp-plugin", "autoload": { @@ -612,36 +504,36 @@ "bake", "cakephp" ], - "time": "2019-12-19T14:38:18+00:00" + "time": "2020-01-06T15:41:13+00:00" }, { "name": "cakephp/cakephp", - "version": "4.0.0", + "version": "4.0.3", "source": { "type": "git", "url": "https://github.com/cakephp/cakephp.git", - "reference": "767b164747df789db8c0fbcf3bcf9eaf3be55b38" + "reference": "94435ab211196ce92014a83ec7bab4e385bf8ba3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/cakephp/zipball/767b164747df789db8c0fbcf3bcf9eaf3be55b38", - "reference": "767b164747df789db8c0fbcf3bcf9eaf3be55b38", + "url": "https://api.github.com/repos/cakephp/cakephp/zipball/94435ab211196ce92014a83ec7bab4e385bf8ba3", + "reference": "94435ab211196ce92014a83ec7bab4e385bf8ba3", "shasum": "" }, "require": { "aura/intl": "^3.0.0", "cakephp/chronos": "^2.0", - "composer/ca-bundle": "^1.0", + "composer/ca-bundle": "^1.2", "ext-intl": "*", "ext-mbstring": "*", + "laminas/laminas-diactoros": "^2.2.2", + "laminas/laminas-httphandlerrunner": "^1.1", "php": ">=7.2.0", "psr/http-client": "^1.0", "psr/http-server-handler": "^1.0", "psr/http-server-middleware": "^1.0", "psr/log": "^1.0.0", - "psr/simple-cache": "^1.0.0", - "zendframework/zend-diactoros": "^2.0", - "zendframework/zend-httphandlerrunner": "^1.0" + "psr/simple-cache": "^1.0.0" }, "replace": { "cakephp/cache": "self.version", @@ -661,10 +553,10 @@ "cakephp/validation": "self.version" }, "require-dev": { - "cakephp/cakephp-codesniffer": "dev-next", + "cakephp/cakephp-codesniffer": "^4.0", "mikey179/vfsstream": "^1.6", "paragonie/csp-builder": "^2.3", - "phpunit/phpunit": "~8.4.0" + "phpunit/phpunit": "~8.5.0" }, "suggest": { "ext-curl": "To enable more efficient network calls in Http\\Client.", @@ -707,25 +599,25 @@ "rapid-development", "validation" ], - "time": "2019-12-16T01:57:50+00:00" + "time": "2020-01-26T02:19:21+00:00" }, { "name": "cakephp/cakephp-codesniffer", - "version": "4.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/cakephp/cakephp-codesniffer.git", - "reference": "47ba4cb9776302cc258afcbbf08ba61dfc1559d5" + "reference": "637e424134e6fc7c6c3ecddd750ef743eb7869fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/cakephp-codesniffer/zipball/47ba4cb9776302cc258afcbbf08ba61dfc1559d5", - "reference": "47ba4cb9776302cc258afcbbf08ba61dfc1559d5", + "url": "https://api.github.com/repos/cakephp/cakephp-codesniffer/zipball/637e424134e6fc7c6c3ecddd750ef743eb7869fc", + "reference": "637e424134e6fc7c6c3ecddd750ef743eb7869fc", "shasum": "" }, "require": { "php": "^7.1", - "slevomat/coding-standard": "^5.0", + "slevomat/coding-standard": "^6.0", "squizlabs/php_codesniffer": "~3.5.0" }, "require-dev": { @@ -753,7 +645,7 @@ "codesniffer", "framework" ], - "time": "2019-12-16T07:06:24+00:00" + "time": "2020-01-13T22:00:38+00:00" }, { "name": "cakephp/chronos", @@ -812,16 +704,16 @@ }, { "name": "cakephp/debug_kit", - "version": "4.0.1", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/cakephp/debug_kit.git", - "reference": "fb177fb4afcf95e272f5beea89afece32fc825a9" + "reference": "56805287711dc81c081865250faeee80ce5eec50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/debug_kit/zipball/fb177fb4afcf95e272f5beea89afece32fc825a9", - "reference": "fb177fb4afcf95e272f5beea89afece32fc825a9", + "url": "https://api.github.com/repos/cakephp/debug_kit/zipball/56805287711dc81c081865250faeee80ce5eec50", + "reference": "56805287711dc81c081865250faeee80ce5eec50", "shasum": "" }, "require": { @@ -833,7 +725,7 @@ "php": ">=7.2" }, "require-dev": { - "cakephp/cakephp-codesniffer": "dev-next", + "cakephp/cakephp-codesniffer": "^4.0", "phpunit/phpunit": "^8.0" }, "suggest": { @@ -868,7 +760,7 @@ "debug", "kit" ], - "time": "2019-12-19T01:39:05+00:00" + "time": "2020-01-16T14:50:30+00:00" }, { "name": "cakephp/migrations", @@ -966,16 +858,16 @@ }, { "name": "composer/ca-bundle", - "version": "1.2.5", + "version": "1.2.6", "source": { "type": "git", "url": "https://github.com/composer/ca-bundle.git", - "reference": "62e8fc2dc550e5d6d8c9360c7721662670f58149" + "reference": "47fe531de31fca4a1b997f87308e7d7804348f7e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/62e8fc2dc550e5d6d8c9360c7721662670f58149", - "reference": "62e8fc2dc550e5d6d8c9360c7721662670f58149", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/47fe531de31fca4a1b997f87308e7d7804348f7e", + "reference": "47fe531de31fca4a1b997f87308e7d7804348f7e", "shasum": "" }, "require": { @@ -1018,20 +910,20 @@ "ssl", "tls" ], - "time": "2019-12-11T14:44:42+00:00" + "time": "2020-01-13T10:02:55+00:00" }, { "name": "composer/composer", - "version": "1.9.1", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/composer/composer.git", - "reference": "bb01f2180df87ce7992b8331a68904f80439dd2f" + "reference": "1291a16ce3f48bfdeca39d64fca4875098af4d7b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/bb01f2180df87ce7992b8331a68904f80439dd2f", - "reference": "bb01f2180df87ce7992b8331a68904f80439dd2f", + "url": "https://api.github.com/repos/composer/composer/zipball/1291a16ce3f48bfdeca39d64fca4875098af4d7b", + "reference": "1291a16ce3f48bfdeca39d64fca4875098af4d7b", "shasum": "" }, "require": { @@ -1098,28 +990,27 @@ "dependency", "package" ], - "time": "2019-11-01T16:20:17+00:00" + "time": "2020-02-04T11:58:49+00:00" }, { "name": "composer/semver", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e" + "reference": "c6bea70230ef4dd483e6bbcab6005f682ed3a8de" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/46d9139568ccb8d9e7cdd4539cab7347568a5e2e", - "reference": "46d9139568ccb8d9e7cdd4539cab7347568a5e2e", + "url": "https://api.github.com/repos/composer/semver/zipball/c6bea70230ef4dd483e6bbcab6005f682ed3a8de", + "reference": "c6bea70230ef4dd483e6bbcab6005f682ed3a8de", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0" }, "require-dev": { - "phpunit/phpunit": "^4.5 || ^5.0.5", - "phpunit/phpunit-mock-objects": "2.3.0 || ^3.0" + "phpunit/phpunit": "^4.5 || ^5.0.5" }, "type": "library", "extra": { @@ -1160,7 +1051,7 @@ "validation", "versioning" ], - "time": "2019-03-19T17:25:45+00:00" + "time": "2020-01-13T12:06:48+00:00" }, { "name": "composer/spdx-licenses", @@ -1775,6 +1666,201 @@ ], "time": "2019-09-25T14:49:45+00:00" }, + { + "name": "laminas/laminas-diactoros", + "version": "2.2.2", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-diactoros.git", + "reference": "95178c4751d737cdf9ab0a9f70a42754ac860e7b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-diactoros/zipball/95178c4751d737cdf9ab0a9f70a42754ac860e7b", + "reference": "95178c4751d737cdf9ab0a9f70a42754ac860e7b", + "shasum": "" + }, + "require": { + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^7.1", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.0" + }, + "conflict": { + "phpspec/prophecy": "<1.9.0" + }, + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" + }, + "replace": { + "zendframework/zend-diactoros": "self.version" + }, + "require-dev": { + "ext-curl": "*", + "ext-dom": "*", + "ext-libxml": "*", + "http-interop/http-factory-tests": "^0.5.0", + "laminas/laminas-coding-standard": "~1.0.0", + "php-http/psr7-integration-tests": "dev-master", + "phpunit/phpunit": "^7.5.18" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.1.x-dev", + "dev-develop": "2.2.x-dev", + "dev-release-1.8": "1.8.x-dev" + } + }, + "autoload": { + "files": [ + "src/functions/create_uploaded_file.php", + "src/functions/marshal_headers_from_sapi.php", + "src/functions/marshal_method_from_sapi.php", + "src/functions/marshal_protocol_version_from_sapi.php", + "src/functions/marshal_uri_from_sapi.php", + "src/functions/normalize_server.php", + "src/functions/normalize_uploaded_files.php", + "src/functions/parse_cookie_header.php", + "src/functions/create_uploaded_file.legacy.php", + "src/functions/marshal_headers_from_sapi.legacy.php", + "src/functions/marshal_method_from_sapi.legacy.php", + "src/functions/marshal_protocol_version_from_sapi.legacy.php", + "src/functions/marshal_uri_from_sapi.legacy.php", + "src/functions/normalize_server.legacy.php", + "src/functions/normalize_uploaded_files.legacy.php", + "src/functions/parse_cookie_header.legacy.php" + ], + "psr-4": { + "Laminas\\Diactoros\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "PSR HTTP Message implementations", + "homepage": "https://laminas.dev", + "keywords": [ + "http", + "laminas", + "psr", + "psr-7" + ], + "time": "2020-01-07T19:39:26+00:00" + }, + { + "name": "laminas/laminas-httphandlerrunner", + "version": "1.1.0", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-httphandlerrunner.git", + "reference": "296f5ff35074dd981d1570a66b95596c81808087" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-httphandlerrunner/zipball/296f5ff35074dd981d1570a66b95596c81808087", + "reference": "296f5ff35074dd981d1570a66b95596c81808087", + "shasum": "" + }, + "require": { + "laminas/laminas-zendframework-bridge": "^1.0", + "php": "^7.1", + "psr/http-message": "^1.0", + "psr/http-message-implementation": "^1.0", + "psr/http-server-handler": "^1.0" + }, + "replace": { + "zendframework/zend-httphandlerrunner": "self.version" + }, + "require-dev": { + "laminas/laminas-coding-standard": "~1.0.0", + "laminas/laminas-diactoros": "^1.7 || ^2.1.1", + "phpunit/phpunit": "^7.0.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev", + "dev-develop": "1.2.x-dev" + }, + "laminas": { + "config-provider": "Laminas\\HttpHandlerRunner\\ConfigProvider" + } + }, + "autoload": { + "psr-4": { + "Laminas\\HttpHandlerRunner\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.", + "homepage": "https://laminas.dev", + "keywords": [ + "components", + "laminas", + "mezzio", + "psr-15", + "psr-7" + ], + "time": "2019-12-31T17:06:16+00:00" + }, + { + "name": "laminas/laminas-zendframework-bridge", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/laminas/laminas-zendframework-bridge.git", + "reference": "0fb9675b84a1666ab45182b6c5b29956921e818d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laminas/laminas-zendframework-bridge/zipball/0fb9675b84a1666ab45182b6c5b29956921e818d", + "reference": "0fb9675b84a1666ab45182b6c5b29956921e818d", + "shasum": "" + }, + "require": { + "php": "^5.6 || ^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.1", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev", + "dev-develop": "1.1.x-dev" + }, + "laminas": { + "module": "Laminas\\ZendFrameworkBridge" + } + }, + "autoload": { + "files": [ + "src/autoload.php" + ], + "psr-4": { + "Laminas\\ZendFrameworkBridge\\": "src//" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Alias legacy ZF class names to Laminas Project equivalents.", + "keywords": [ + "ZendFramework", + "autoloading", + "laminas", + "zf" + ], + "time": "2020-01-07T22:58:31+00:00" + }, { "name": "m1/env", "version": "2.1.2", @@ -1887,23 +1973,22 @@ }, { "name": "mockery/mockery", - "version": "1.3.0", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "5571962a4f733fbb57bede39778f71647fae8e66" + "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/5571962a4f733fbb57bede39778f71647fae8e66", - "reference": "5571962a4f733fbb57bede39778f71647fae8e66", + "url": "https://api.github.com/repos/mockery/mockery/zipball/f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be", + "reference": "f69bbde7d7a75d6b2862d9ca8fab1cd28014b4be", "shasum": "" }, "require": { "hamcrest/hamcrest-php": "~2.0", "lib-pcre": ">=7.0", - "php": ">=5.6.0", - "sebastian/comparator": "^1.2.4|^3.0" + "php": ">=5.6.0" }, "require-dev": { "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0" @@ -1911,7 +1996,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.2.x-dev" + "dev-master": "1.3.x-dev" } }, "autoload": { @@ -1949,20 +2034,20 @@ "test double", "testing" ], - "time": "2019-11-24T07:54:50+00:00" + "time": "2019-12-26T09:49:15+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.9.4", + "version": "1.9.5", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7" + "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/579bb7356d91f9456ccd505f24ca8b667966a0a7", - "reference": "579bb7356d91f9456ccd505f24ca8b667966a0a7", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/b2c28789e80a97badd14145fda39b545d83ca3ef", + "reference": "b2c28789e80a97badd14145fda39b545d83ca3ef", "shasum": "" }, "require": { @@ -1997,7 +2082,7 @@ "object", "object graph" ], - "time": "2019-12-15T19:12:40+00:00" + "time": "2020-01-17T21:11:47+00:00" }, { "name": "nikic/php-parser", @@ -2207,16 +2292,16 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.3", + "version": "4.3.4", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62" + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62", - "reference": "2ecaa9fef01634c83bfa8dc1fe35fb5cef223a62", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/da3fd972d6bafd628114f7e7e036f45944b62e9c", + "reference": "da3fd972d6bafd628114f7e7e036f45944b62e9c", "shasum": "" }, "require": { @@ -2228,6 +2313,7 @@ "require-dev": { "doctrine/instantiator": "^1.0.5", "mockery/mockery": "^1.0", + "phpdocumentor/type-resolver": "0.4.*", "phpunit/phpunit": "^6.4" }, "type": "library", @@ -2254,7 +2340,7 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2019-12-20T13:40:23+00:00" + "time": "2019-12-28T18:55:12+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -2305,24 +2391,24 @@ }, { "name": "phpspec/prophecy", - "version": "1.10.1", + "version": "v1.10.2", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc" + "reference": "b4400efc9d206e83138e2bb97ed7f5b14b831cd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/cbe1df668b3fe136bcc909126a0f529a78d4cbbc", - "reference": "cbe1df668b3fe136bcc909126a0f529a78d4cbbc", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/b4400efc9d206e83138e2bb97ed7f5b14b831cd9", + "reference": "b4400efc9d206e83138e2bb97ed7f5b14b831cd9", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", - "sebastian/comparator": "^1.2.3|^2.0|^3.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" }, "require-dev": { "phpspec/phpspec": "^2.5 || ^3.2", @@ -2364,20 +2450,20 @@ "spy", "stub" ], - "time": "2019-12-22T21:05:45+00:00" + "time": "2020-01-20T15:57:02+00:00" }, { "name": "phpstan/phpdoc-parser", - "version": "0.3.5", + "version": "0.4.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "8c4ef2aefd9788238897b678a985e1d5c8df6db4" + "reference": "928179efc5368145a8b03cb20d58cb3f3136afae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/8c4ef2aefd9788238897b678a985e1d5c8df6db4", - "reference": "8c4ef2aefd9788238897b678a985e1d5c8df6db4", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/928179efc5368145a8b03cb20d58cb3f3136afae", + "reference": "928179efc5368145a8b03cb20d58cb3f3136afae", "shasum": "" }, "require": { @@ -2385,18 +2471,20 @@ }, "require-dev": { "consistence/coding-standard": "^3.5", + "ergebnis/composer-normalize": "^2.0.2", "jakub-onderka/php-parallel-lint": "^0.9.2", "phing/phing": "^2.16.0", - "phpstan/phpstan": "^0.10", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", "phpunit/phpunit": "^6.3", "slevomat/coding-standard": "^4.7.2", - "squizlabs/php_codesniffer": "^3.3.2", - "symfony/process": "^3.4 || ^4.0" + "symfony/process": "^4.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "0.3-dev" + "dev-master": "0.4-dev" } }, "autoload": { @@ -2411,24 +2499,23 @@ "MIT" ], "description": "PHPDoc parser with support for nullable, intersection and generic types", - "time": "2019-06-07T19:13:52+00:00" + "time": "2020-01-25T20:42:48+00:00" }, { "name": "phpstan/phpstan", - "version": "0.12.3", + "version": "0.12.9", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "c15a6ea55da71d8133399306f560cfe4d30301b7" + "reference": "297cb2458a96ea96d5e9d6ef38f1b7305c071f32" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/c15a6ea55da71d8133399306f560cfe4d30301b7", - "reference": "c15a6ea55da71d8133399306f560cfe4d30301b7", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/297cb2458a96ea96d5e9d6ef38f1b7305c071f32", + "reference": "297cb2458a96ea96d5e9d6ef38f1b7305c071f32", "shasum": "" }, "require": { - "nikic/php-parser": "^4.3.0", "php": "^7.1" }, "bin": [ @@ -2451,7 +2538,7 @@ "MIT" ], "description": "PHPStan - PHP Static Analysis Tool", - "time": "2019-12-14T13:41:17+00:00" + "time": "2020-02-04T22:30:27+00:00" }, { "name": "phpunit/php-code-coverage", @@ -2707,16 +2794,16 @@ }, { "name": "phpunit/phpunit", - "version": "8.5.0", + "version": "8.5.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab" + "reference": "018b6ac3c8ab20916db85fa91bf6465acb64d1e0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/3ee1c1fd6fc264480c25b6fb8285edefe1702dab", - "reference": "3ee1c1fd6fc264480c25b6fb8285edefe1702dab", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/018b6ac3c8ab20916db85fa91bf6465acb64d1e0", + "reference": "018b6ac3c8ab20916db85fa91bf6465acb64d1e0", "shasum": "" }, "require": { @@ -2786,7 +2873,7 @@ "testing", "xunit" ], - "time": "2019-12-06T05:41:38+00:00" + "time": "2020-01-08T08:49:49+00:00" }, { "name": "psr/container", @@ -3222,12 +3309,12 @@ "source": { "type": "git", "url": "https://github.com/cakephp/phinx.git", - "reference": "9777d057186dd84bb1a320ee847857eff46c8aa9" + "reference": "7b3ca6c0a97381d391a1ffb4b8a789415cfe8607" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/phinx/zipball/9777d057186dd84bb1a320ee847857eff46c8aa9", - "reference": "9777d057186dd84bb1a320ee847857eff46c8aa9", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/7b3ca6c0a97381d391a1ffb4b8a789415cfe8607", + "reference": "7b3ca6c0a97381d391a1ffb4b8a789415cfe8607", "shasum": "" }, "require": { @@ -3240,7 +3327,7 @@ }, "require-dev": { "cakephp/cakephp-codesniffer": "^3.0", - "phpunit/phpunit": ">=6.0,<8.0", + "phpunit/phpunit": "^8.5", "sebastian/comparator": ">=1.2.3" }, "bin": [ @@ -3289,7 +3376,7 @@ "migrations", "phinx" ], - "time": "2019-12-24T01:57:34+00:00" + "time": "2020-01-03T23:12:36+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -3957,16 +4044,16 @@ }, { "name": "seld/phar-utils", - "version": "1.0.1", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "7009b5139491975ef6486545a39f3e6dad5ac30a" + "reference": "84715761c35808076b00908a20317a3a8a67d17e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/7009b5139491975ef6486545a39f3e6dad5ac30a", - "reference": "7009b5139491975ef6486545a39f3e6dad5ac30a", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/84715761c35808076b00908a20317a3a8a67d17e", + "reference": "84715761c35808076b00908a20317a3a8a67d17e", "shasum": "" }, "require": { @@ -3997,34 +4084,35 @@ "keywords": [ "phra" ], - "time": "2015-10-13T18:44:15+00:00" + "time": "2020-01-13T10:41:09+00:00" }, { "name": "slevomat/coding-standard", - "version": "5.0.4", + "version": "6.1.4", "source": { "type": "git", "url": "https://github.com/slevomat/coding-standard.git", - "reference": "287ac3347c47918c0bf5e10335e36197ea10894c" + "reference": "49e60216bd467dece2b414ca5cc91298cd5afa45" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/287ac3347c47918c0bf5e10335e36197ea10894c", - "reference": "287ac3347c47918c0bf5e10335e36197ea10894c", + "url": "https://api.github.com/repos/slevomat/coding-standard/zipball/49e60216bd467dece2b414ca5cc91298cd5afa45", + "reference": "49e60216bd467dece2b414ca5cc91298cd5afa45", "shasum": "" }, "require": { "php": "^7.1", - "phpstan/phpdoc-parser": "^0.3.1", - "squizlabs/php_codesniffer": "^3.4.1" + "phpstan/phpdoc-parser": "0.3.5 - 0.4.3", + "squizlabs/php_codesniffer": "^3.5.4" }, "require-dev": { + "dealerdirect/phpcodesniffer-composer-installer": "0.6.2", "jakub-onderka/php-parallel-lint": "1.0.0", - "phing/phing": "2.16.1", - "phpstan/phpstan": "0.11.4", - "phpstan/phpstan-phpunit": "0.11", - "phpstan/phpstan-strict-rules": "0.11", - "phpunit/phpunit": "8.0.5" + "phing/phing": "2.16.3", + "phpstan/phpstan": "0.11.19|0.12.8", + "phpstan/phpstan-phpunit": "0.11.2|0.12.6", + "phpstan/phpstan-strict-rules": "0.11.1|0.12.2", + "phpunit/phpunit": "7.5.18|8.5.2" }, "type": "phpcodesniffer-standard", "autoload": { @@ -4037,20 +4125,20 @@ "MIT" ], "description": "Slevomat Coding Standard for PHP_CodeSniffer complements Consistence Coding Standard by providing sniffs with additional checks.", - "time": "2019-03-22T19:10:53+00:00" + "time": "2020-02-03T21:40:44+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "3.5.3", + "version": "3.5.4", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb" + "reference": "dceec07328401de6211037abbb18bda423677e26" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/557a1fc7ac702c66b0bbfe16ab3d55839ef724cb", - "reference": "557a1fc7ac702c66b0bbfe16ab3d55839ef724cb", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dceec07328401de6211037abbb18bda423677e26", + "reference": "dceec07328401de6211037abbb18bda423677e26", "shasum": "" }, "require": { @@ -4088,20 +4176,20 @@ "phpcs", "standards" ], - "time": "2019-12-04T04:46:47+00:00" + "time": "2020-01-30T22:20:29+00:00" }, { "name": "symfony/config", - "version": "v5.0.2", + "version": "v5.0.4", "source": { "type": "git", "url": "https://github.com/symfony/config.git", - "reference": "7f930484966350906185ba0a604728f7898b7ba0" + "reference": "7640c6704f56bf64045066bc5d93fd9d664baa63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/config/zipball/7f930484966350906185ba0a604728f7898b7ba0", - "reference": "7f930484966350906185ba0a604728f7898b7ba0", + "url": "https://api.github.com/repos/symfony/config/zipball/7640c6704f56bf64045066bc5d93fd9d664baa63", + "reference": "7640c6704f56bf64045066bc5d93fd9d664baa63", "shasum": "" }, "require": { @@ -4152,20 +4240,20 @@ ], "description": "Symfony Config Component", "homepage": "https://symfony.com", - "time": "2019-12-18T13:50:31+00:00" + "time": "2020-01-04T14:08:26+00:00" }, { "name": "symfony/console", - "version": "v4.4.2", + "version": "v4.4.4", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "82437719dab1e6bdd28726af14cb345c2ec816d0" + "reference": "f512001679f37e6a042b51897ed24a2f05eba656" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/82437719dab1e6bdd28726af14cb345c2ec816d0", - "reference": "82437719dab1e6bdd28726af14cb345c2ec816d0", + "url": "https://api.github.com/repos/symfony/console/zipball/f512001679f37e6a042b51897ed24a2f05eba656", + "reference": "f512001679f37e6a042b51897ed24a2f05eba656", "shasum": "" }, "require": { @@ -4228,20 +4316,20 @@ ], "description": "Symfony Console Component", "homepage": "https://symfony.com", - "time": "2019-12-17T10:32:23+00:00" + "time": "2020-01-25T12:44:29+00:00" }, { "name": "symfony/filesystem", - "version": "v4.4.2", + "version": "v4.4.4", "source": { "type": "git", "url": "https://github.com/symfony/filesystem.git", - "reference": "40c2606131d56eff6f193b6e2ceb92414653b591" + "reference": "266c9540b475f26122b61ef8b23dd9198f5d1cfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/40c2606131d56eff6f193b6e2ceb92414653b591", - "reference": "40c2606131d56eff6f193b6e2ceb92414653b591", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/266c9540b475f26122b61ef8b23dd9198f5d1cfd", + "reference": "266c9540b475f26122b61ef8b23dd9198f5d1cfd", "shasum": "" }, "require": { @@ -4278,20 +4366,20 @@ ], "description": "Symfony Filesystem Component", "homepage": "https://symfony.com", - "time": "2019-11-26T23:16:41+00:00" + "time": "2020-01-21T08:20:44+00:00" }, { "name": "symfony/finder", - "version": "v4.4.2", + "version": "v4.4.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "ce8743441da64c41e2a667b8eb66070444ed911e" + "reference": "3a50be43515590faf812fbd7708200aabc327ec3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/ce8743441da64c41e2a667b8eb66070444ed911e", - "reference": "ce8743441da64c41e2a667b8eb66070444ed911e", + "url": "https://api.github.com/repos/symfony/finder/zipball/3a50be43515590faf812fbd7708200aabc327ec3", + "reference": "3a50be43515590faf812fbd7708200aabc327ec3", "shasum": "" }, "require": { @@ -4327,7 +4415,7 @@ ], "description": "Symfony Finder Component", "homepage": "https://symfony.com", - "time": "2019-11-17T21:56:56+00:00" + "time": "2020-01-04T13:00:46+00:00" }, { "name": "symfony/polyfill-mbstring", @@ -4448,16 +4536,16 @@ }, { "name": "symfony/process", - "version": "v4.4.2", + "version": "v4.4.4", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "b84501ad50adb72a94fb460a5b5c91f693e99c9b" + "reference": "f5697ab4cb14a5deed7473819e63141bf5352c36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/b84501ad50adb72a94fb460a5b5c91f693e99c9b", - "reference": "b84501ad50adb72a94fb460a5b5c91f693e99c9b", + "url": "https://api.github.com/repos/symfony/process/zipball/f5697ab4cb14a5deed7473819e63141bf5352c36", + "reference": "f5697ab4cb14a5deed7473819e63141bf5352c36", "shasum": "" }, "require": { @@ -4493,7 +4581,7 @@ ], "description": "Symfony Process Component", "homepage": "https://symfony.com", - "time": "2019-12-06T10:06:46+00:00" + "time": "2020-01-09T09:50:08+00:00" }, { "name": "symfony/service-contracts", @@ -4555,16 +4643,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.0.2", + "version": "v5.0.4", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a" + "reference": "923591cfb78a935f0c98968fedfad05bfda9d01f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a", - "reference": "d7bc61d5d335fa9b1b91e14bb16861e8ca50f53a", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/923591cfb78a935f0c98968fedfad05bfda9d01f", + "reference": "923591cfb78a935f0c98968fedfad05bfda9d01f", "shasum": "" }, "require": { @@ -4626,20 +4714,20 @@ "debug", "dump" ], - "time": "2019-12-18T13:50:31+00:00" + "time": "2020-01-25T15:56:29+00:00" }, { "name": "symfony/yaml", - "version": "v5.0.2", + "version": "v5.0.4", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0" + "reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/847661e77afa48d99ecfa508e8b60f0b029a19c0", - "reference": "847661e77afa48d99ecfa508e8b60f0b029a19c0", + "url": "https://api.github.com/repos/symfony/yaml/zipball/69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a", + "reference": "69b44e3b8f90949aee2eb3aa9b86ceeb01cbf62a", "shasum": "" }, "require": { @@ -4685,7 +4773,7 @@ ], "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2019-12-10T11:06:55+00:00" + "time": "2020-01-21T11:12:28+00:00" }, { "name": "theseer/tokenizer", @@ -4727,40 +4815,93 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "time": "2019-06-13T22:48:21+00:00" }, + { + "name": "twig/markdown-extra", + "version": "v3.0.1", + "source": { + "type": "git", + "url": "https://github.com/twigphp/markdown-extra.git", + "reference": "e3f6eb3f65eb2c165451c8417d918fb96fbd6d4d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/twigphp/markdown-extra/zipball/e3f6eb3f65eb2c165451c8417d918fb96fbd6d4d", + "reference": "e3f6eb3f65eb2c165451c8417d918fb96fbd6d4d", + "shasum": "" + }, + "require": { + "php": "^7.1.3", + "twig/twig": "^2.4|^3.0" + }, + "require-dev": { + "erusev/parsedown": "^1.7", + "league/commonmark": "^1.0", + "league/html-to-markdown": "^4.8", + "michelf/php-markdown": "^1.8", + "symfony/phpunit-bridge": "^4.4|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, + "autoload": { + "psr-4": { + "Twig\\Extra\\Markdown\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com", + "homepage": "http://fabien.potencier.org", + "role": "Lead Developer" + } + ], + "description": "A Twig extension for Markdown", + "homepage": "https://twig.symfony.com", + "keywords": [ + "html", + "markdown", + "twig" + ], + "time": "2019-12-28T07:09:27+00:00" + }, { "name": "twig/twig", - "version": "v2.12.2", + "version": "v3.0.1", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed" + "reference": "28f856a4c57eeb24485916e8a68403f41a133616" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", - "reference": "d761fd1f1c6b867ae09a7d8119a6d95d06dc44ed", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/28f856a4c57eeb24485916e8a68403f41a133616", + "reference": "28f856a4c57eeb24485916e8a68403f41a133616", "shasum": "" }, "require": { - "php": "^7.0", + "php": "^7.2.5", "symfony/polyfill-ctype": "^1.8", "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { "psr/container": "^1.0", - "symfony/debug": "^3.4|^4.2", - "symfony/phpunit-bridge": "^4.4@dev|^5.0" + "symfony/phpunit-bridge": "^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.12-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-0": { - "Twig_": "lib/" - }, "psr-4": { "Twig\\": "src/" } @@ -4778,7 +4919,6 @@ }, { "name": "Twig Team", - "homepage": "https://twig.symfony.com/contributors", "role": "Contributors" }, { @@ -4792,7 +4932,7 @@ "keywords": [ "templating" ], - "time": "2019-11-11T16:52:09+00:00" + "time": "2019-12-28T07:17:28+00:00" }, { "name": "webmozart/assert", @@ -4844,25 +4984,24 @@ }, { "name": "wyrihaximus/twig-view", - "version": "dev-master", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/WyriHaximus/TwigView.git", - "reference": "83589cac5ff47f7eba141a191f22bd3e7e97bd85" + "reference": "ec1d3091d56a0da9b1756692fa0bf99846a4eb20" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/WyriHaximus/TwigView/zipball/83589cac5ff47f7eba141a191f22bd3e7e97bd85", - "reference": "83589cac5ff47f7eba141a191f22bd3e7e97bd85", + "url": "https://api.github.com/repos/WyriHaximus/TwigView/zipball/ec1d3091d56a0da9b1756692fa0bf99846a4eb20", + "reference": "ec1d3091d56a0da9b1756692fa0bf99846a4eb20", "shasum": "" }, "require": { - "aptoma/twig-markdown": "^3.0", - "asm89/twig-cache-extension": "^1.0", "cakephp/cakephp": "^4.0", - "jasny/twig-extensions": "^1.2.0", + "jasny/twig-extensions": "^1.3", "php": "^7.2", - "twig/twig": "^2.4.3" + "twig/markdown-extra": "^3.0", + "twig/twig": "^3.0" }, "require-dev": { "cakephp/cakephp-codesniffer": "^4.0", @@ -4897,129 +5036,7 @@ "twig2", "view" ], - "time": "2019-12-19T01:46:53+00:00" - }, - { - "name": "zendframework/zend-diactoros", - "version": "2.2.1", - "source": { - "type": "git", - "url": "https://github.com/zendframework/zend-diactoros.git", - "reference": "de5847b068362a88684a55b0dbb40d85986cfa52" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-diactoros/zipball/de5847b068362a88684a55b0dbb40d85986cfa52", - "reference": "de5847b068362a88684a55b0dbb40d85986cfa52", - "shasum": "" - }, - "require": { - "php": "^7.1", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.0" - }, - "provide": { - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "ext-curl": "*", - "ext-dom": "*", - "ext-libxml": "*", - "http-interop/http-factory-tests": "^0.5.0", - "php-http/psr7-integration-tests": "dev-master", - "phpunit/phpunit": "^7.0.2", - "zendframework/zend-coding-standard": "~1.0.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "2.1.x-dev", - "dev-develop": "2.2.x-dev", - "dev-release-1.8": "1.8.x-dev" - } - }, - "autoload": { - "files": [ - "src/functions/create_uploaded_file.php", - "src/functions/marshal_headers_from_sapi.php", - "src/functions/marshal_method_from_sapi.php", - "src/functions/marshal_protocol_version_from_sapi.php", - "src/functions/marshal_uri_from_sapi.php", - "src/functions/normalize_server.php", - "src/functions/normalize_uploaded_files.php", - "src/functions/parse_cookie_header.php" - ], - "psr-4": { - "Zend\\Diactoros\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "PSR HTTP Message implementations", - "keywords": [ - "http", - "psr", - "psr-7" - ], - "time": "2019-11-13T19:16:13+00:00" - }, - { - "name": "zendframework/zend-httphandlerrunner", - "version": "1.1.0", - "source": { - "type": "git", - "url": "https://github.com/zendframework/zend-httphandlerrunner.git", - "reference": "75fb12751fe9d6e392cce1ee0d687dacae2db787" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/zendframework/zend-httphandlerrunner/zipball/75fb12751fe9d6e392cce1ee0d687dacae2db787", - "reference": "75fb12751fe9d6e392cce1ee0d687dacae2db787", - "shasum": "" - }, - "require": { - "php": "^7.1", - "psr/http-message": "^1.0", - "psr/http-message-implementation": "^1.0", - "psr/http-server-handler": "^1.0" - }, - "require-dev": { - "phpunit/phpunit": "^7.0.2", - "zendframework/zend-coding-standard": "~1.0.0", - "zendframework/zend-diactoros": "^1.7 || ^2.1.1" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev", - "dev-develop": "1.2.x-dev" - }, - "zf": { - "config-provider": "Zend\\HttpHandlerRunner\\ConfigProvider" - } - }, - "autoload": { - "psr-4": { - "Zend\\HttpHandlerRunner\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "description": "Execute PSR-15 RequestHandlerInterface instances and emit responses they generate.", - "keywords": [ - "ZendFramework", - "components", - "expressive", - "psr-15", - "psr-7", - "zf" - ], - "time": "2019-02-19T18:20:34+00:00" + "time": "2019-12-30T11:29:47+00:00" } ], "aliases": [], diff --git a/src/Lib/JiraProject.php b/src/Lib/JiraProject.php index b3cb15c..69d1ef7 100644 --- a/src/Lib/JiraProject.php +++ b/src/Lib/JiraProject.php @@ -54,9 +54,9 @@ class JiraProject /** * The list of a Project's Versions. - * @var array + * @var array<\JiraRestApi\Issue\Version> */ - protected $Versions = []; + protected $Versions; /** * The project service object. @@ -177,7 +177,7 @@ public function __construct() throw new MissingProjectException($this->projectKey); } - $this->Versions = $this->ProjectService->getVersions($this->projectKey); + $this->Versions = (array)$this->ProjectService->getVersions($this->projectKey); $this->IssueService = new IssueService($this->ConfigObj); } @@ -238,7 +238,7 @@ public function getInfo(): \JiraRestApi\Project\Project /** * Get the Project's Versions. * - * @return array A list of version objects. + * @return array<\JiraRestApi\Issue\Version> A list of version objects. */ public function getVersions(): array { diff --git a/src/View/Helper/JiraHelper.php b/src/View/Helper/JiraHelper.php index 37bb27a..f1fb11f 100644 --- a/src/View/Helper/JiraHelper.php +++ b/src/View/Helper/JiraHelper.php @@ -65,9 +65,9 @@ public function getInfo() /** * Gets a list of all versions within your project. * - * @return array A list of version objects. + * @return array<\JiraRestApi\Issue\Version> A list of version objects. */ - public function getVersions(): ?array + public function getVersions(): array { return $this->JiraProject->getVersions(); } diff --git a/tests/TestCase/Lib/JiraProjectTest.php b/tests/TestCase/Lib/JiraProjectTest.php index e955797..c4044e7 100644 --- a/tests/TestCase/Lib/JiraProjectTest.php +++ b/tests/TestCase/Lib/JiraProjectTest.php @@ -74,14 +74,11 @@ public function testGetInfo(): void */ public function testGetVersions(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $versions = $this->JiraProject->getVersions(); - $this->assertEquals($this->versions, $versions); + $this->assertIsArray($versions); + $this->assertEquals(3, count($versions)); + $this->assertInstanceOf(\JiraRestApi\Issue\Version::class, $versions[0]); } /** @@ -91,11 +88,6 @@ public function testGetVersions(): void */ public function testGetIssues(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $issues = $this->JiraProject->getIssues(); $this->assertEquals($this->IssueSearchResult, $issues); @@ -108,11 +100,6 @@ public function testGetIssues(): void */ public function testGetOpenIssues(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $issues = $this->JiraProject->getOpenIssues(); $this->assertEquals($this->IssueSearchResultOpen, $issues); @@ -125,11 +112,6 @@ public function testGetOpenIssues(): void */ public function testGetIssue(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $issue = $this->JiraProject->getIssue(1); $this->assertInstanceOf(Issue::class, $issue); @@ -144,11 +126,6 @@ public function testGetIssue(): void */ public function testGetBugs(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $issues = $this->JiraProject->getBugs(); $this->assertEquals($this->IssueSearchResultBugs, $issues); @@ -161,11 +138,6 @@ public function testGetBugs(): void */ public function testGetOpenBugs(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $issues = $this->JiraProject->getOpenBugs(); $this->assertEquals($this->IssueSearchResultBugs, $issues); @@ -178,11 +150,6 @@ public function testGetOpenBugs(): void */ public function testModifyAllowedTypes(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $this->JiraProject->modifyAllowedTypes('Test', [ 'jiraType' => 'Task', // Must be one of the types in the $this->validTypes. 'jiraLabels' => 'test-label', // The label used to tag user submitted bugs. @@ -211,11 +178,6 @@ public function testModifyAllowedTypes(): void */ public function testIsAllowedType(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $this->JiraProject->modifyAllowedTypes('Test', [ 'jiraType' => 'Task', // Must be one of the types in the $this->validTypes. 'jiraLabels' => 'test-label', // The label used to tag user submitted bugs. @@ -278,11 +240,6 @@ public function testSetFormData(): void */ public function testGetFormData(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $this->JiraProject->modifyAllowedTypes('Test', [ 'jiraType' => 'Task', // Must be one of the types in the $this->validTypes. 'jiraLabels' => 'test-label', // The label used to tag user submitted bugs. @@ -314,11 +271,6 @@ public function testGetFormData(): void */ public function testSubmitIssue(): void { - if ($this->incomplete) { - $this->markTestIncomplete('Not implemented yet.'); - - return; - } $this->JiraProject->modifyAllowedTypes('Test', [ 'jiraType' => 'Task', // Must be one of the types in the $this->validTypes. 'jiraLabels' => 'test-label', // The label used to tag user submitted bugs.