From 8ed56ecf382147f209d9ad352e0559d5d3ce61e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Fri, 22 Nov 2019 15:26:05 +0000 Subject: [PATCH 1/2] Update dev-dependencies to allow tests on PHPUnit 8 - mockery/mockery ^1.2.4 - php-mock/php-mock-phpunit ^2.5 - phpunit/phpunit ^7.5.17 || ^8.4.3 --- .gitignore | 1 + .travis.yml | 2 +- composer.json | 6 +- composer.lock | 608 ++++++++++-------- .../CreateHandlerCommandTest.php | 10 +- .../CreateHandlerExceptionTest.php | 18 +- test/CreateHandler/CreateHandlerTest.php | 4 +- test/CreateHandler/CreateTemplateTest.php | 2 +- .../CreateMiddlewareCommandTest.php | 8 +- .../CreateMiddlewareExceptionTest.php | 18 +- .../CreateMiddleware/CreateMiddlewareTest.php | 4 +- test/Factory/ClassNotFoundExceptionTest.php | 2 +- .../ConfigFileNotWritableExceptionTest.php | 2 +- test/Factory/ConfigInjectorTest.php | 6 +- test/Factory/CreateFactoryCommandTest.php | 4 +- test/Factory/CreateTest.php | 4 +- .../FactoryAlreadyExistsExceptionTest.php | 4 +- test/Factory/FactoryClassGeneratorTest.php | 2 +- test/Factory/FactoryWriteExceptionTest.php | 2 +- .../MigrateInteropMiddlewareCommandTest.php | 7 +- ...eMiddlewareToRequestHandlerCommandTest.php | 5 +- test/Module/CommandCommonOptionsTest.php | 2 +- .../CommonOptionsAndAttributesTrait.php | 4 +- test/Module/CreateCommandTest.php | 4 +- test/Module/CreateTest.php | 2 +- test/Module/DeregisterCommandTest.php | 4 +- test/Module/RegisterCommandTest.php | 4 +- 27 files changed, 404 insertions(+), 335 deletions(-) diff --git a/.gitignore b/.gitignore index d822fd3..0e03123 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +/.phpunit.result.cache /clover.xml /coveralls-upload.json /phpunit.xml diff --git a/.travis.yml b/.travis.yml index b241be1..55a91c0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,7 +17,7 @@ matrix: - php: 7.1 env: - DEPS=locked - - LEGACY_DEPS="symfony/console" + - LEGACY_DEPS="phpunit/phpunit symfony/console" - CS_CHECK=true - TEST_COVERAGE=true - php: 7.1 diff --git a/composer.json b/composer.json index 6096741..8106d90 100644 --- a/composer.json +++ b/composer.json @@ -34,9 +34,9 @@ "require-dev": { "malukenho/docheader": "^0.1.6", "mikey179/vfsstream": "^1.6.7", - "mockery/mockery": "^1.0", - "php-mock/php-mock-phpunit": "^2.1", - "phpunit/phpunit": "^7.0.3", + "mockery/mockery": "^1.2.4", + "php-mock/php-mock-phpunit": "^2.5", + "phpunit/phpunit": "^7.5.17 || ^8.4.3", "zendframework/zend-coding-standard": "~1.0.0" }, "autoload": { diff --git a/composer.lock b/composer.lock index 8364c48..5556162 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": "9b8698174301626a4fba09cebc9b10ae", + "content-hash": "7d95076aa5be979ccc71799b7006489a", "packages": [ { "name": "fig/http-message-util", @@ -1246,27 +1246,29 @@ "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.1.0", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda" + "reference": "ae466f726242e637cebdd526a7d991b9433bacf1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", - "reference": "185b8868aa9bf7159f5f953ed5afb2d7fcdc3bda", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/ae466f726242e637cebdd526a7d991b9433bacf1", + "reference": "ae466f726242e637cebdd526a7d991b9433bacf1", "shasum": "" }, "require": { "php": "^7.1" }, "require-dev": { - "athletic/athletic": "~0.1.8", + "doctrine/coding-standard": "^6.0", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "^6.2.3", - "squizlabs/php_codesniffer": "^3.0.2" + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { @@ -1291,12 +1293,12 @@ } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ "constructor", "instantiate" ], - "time": "2017-07-22T11:58:36+00:00" + "time": "2019-10-21T16:45:58+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -1445,16 +1447,16 @@ }, { "name": "mockery/mockery", - "version": "1.0", + "version": "1.2.4", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38" + "reference": "b3453f75fd23d9fd41685f2148f4abeacabc6405" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/1bac8c362b12f522fdd1f1fa3556284c91affa38", - "reference": "1bac8c362b12f522fdd1f1fa3556284c91affa38", + "url": "https://api.github.com/repos/mockery/mockery/zipball/b3453f75fd23d9fd41685f2148f4abeacabc6405", + "reference": "b3453f75fd23d9fd41685f2148f4abeacabc6405", "shasum": "" }, "require": { @@ -1463,12 +1465,12 @@ "php": ">=5.6.0" }, "require-dev": { - "phpunit/phpunit": "~5.7|~6.1" + "phpunit/phpunit": "~5.7.10|~6.5|~7.0|~8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { @@ -1492,8 +1494,8 @@ "homepage": "http://davedevelopment.co.uk" } ], - "description": "Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succinct API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending.", - "homepage": "http://github.com/mockery/mockery", + "description": "Mockery is a simple yet flexible PHP mock object framework", + "homepage": "https://github.com/mockery/mockery", "keywords": [ "BDD", "TDD", @@ -1506,29 +1508,32 @@ "test double", "testing" ], - "time": "2017-10-06T16:20:43+00:00" + "time": "2019-09-30T08:30:27+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.7.0", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e" + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", - "reference": "3b8a3a99ba1f6a3952ac2747d989303cbd6b7a3e", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/007c053ae6f31bba39dfa19a7726f56e9763bbea", + "reference": "007c053ae6f31bba39dfa19a7726f56e9763bbea", "shasum": "" }, "require": { - "php": "^5.6 || ^7.0" + "php": "^7.1" + }, + "replace": { + "myclabs/deep-copy": "self.version" }, "require-dev": { "doctrine/collections": "^1.0", "doctrine/common": "^2.6", - "phpunit/phpunit": "^4.1" + "phpunit/phpunit": "^7.1" }, "type": "library", "autoload": { @@ -1551,26 +1556,26 @@ "object", "object graph" ], - "time": "2017-10-19T19:58:43+00:00" + "time": "2019-08-09T12:45:53+00:00" }, { "name": "phar-io/manifest", - "version": "1.0.1", + "version": "1.0.3", "source": { "type": "git", "url": "https://github.com/phar-io/manifest.git", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0" + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/manifest/zipball/2df402786ab5368a0169091f61a7c1e0eb6852d0", - "reference": "2df402786ab5368a0169091f61a7c1e0eb6852d0", + "url": "https://api.github.com/repos/phar-io/manifest/zipball/7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", + "reference": "7761fcacf03b4d4f16e7ccb606d4879ca431fcf4", "shasum": "" }, "require": { "ext-dom": "*", "ext-phar": "*", - "phar-io/version": "^1.0.1", + "phar-io/version": "^2.0", "php": "^5.6 || ^7.0" }, "type": "library", @@ -1606,20 +1611,20 @@ } ], "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", - "time": "2017-03-05T18:14:27+00:00" + "time": "2018-07-08T19:23:20+00:00" }, { "name": "phar-io/version", - "version": "1.0.1", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/phar-io/version.git", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df" + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/a70c0ced4be299a63d32fa96d9281d03e94041df", - "reference": "a70c0ced4be299a63d32fa96d9281d03e94041df", + "url": "https://api.github.com/repos/phar-io/version/zipball/45a2ec53a73c70ce41d55cedef9063630abaf1b6", + "reference": "45a2ec53a73c70ce41d55cedef9063630abaf1b6", "shasum": "" }, "require": { @@ -1653,31 +1658,31 @@ } ], "description": "Library for handling version information and constraints", - "time": "2017-03-05T17:38:23+00:00" + "time": "2018-07-08T19:19:57+00:00" }, { "name": "php-mock/php-mock", - "version": "2.0.0", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/php-mock/php-mock.git", - "reference": "22d297231118e6fd5b9db087fbe1ef866c2b95d2" + "reference": "35379d7b382b787215617f124662d9ead72c15e3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-mock/php-mock/zipball/22d297231118e6fd5b9db087fbe1ef866c2b95d2", - "reference": "22d297231118e6fd5b9db087fbe1ef866c2b95d2", + "url": "https://api.github.com/repos/php-mock/php-mock/zipball/35379d7b382b787215617f124662d9ead72c15e3", + "reference": "35379d7b382b787215617f124662d9ead72c15e3", "shasum": "" }, "require": { - "php": ">=5.6", + "php": "^5.6 || ^7.0", "phpunit/php-text-template": "^1" }, "replace": { "malkusch/php-mock": "*" }, "require-dev": { - "phpunit/phpunit": "^5.7" + "phpunit/phpunit": "^5.7 || ^6.5 || ^7.5 || ^8.0" }, "suggest": { "php-mock/php-mock-phpunit": "Allows integration into PHPUnit testcase with the trait PHPMock." @@ -1698,9 +1703,9 @@ "authors": [ { "name": "Markus Malkusch", - "role": "Developer", "email": "markus@malkusch.de", - "homepage": "http://markus.malkusch.de" + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], "description": "PHP-Mock can mock built-in PHP functions (e.g. time()). PHP-Mock relies on PHP's namespace fallback policy. No further extension is needed.", @@ -1714,7 +1719,7 @@ "test", "test double" ], - "time": "2017-02-17T20:52:52+00:00" + "time": "2019-06-05T20:10:01+00:00" }, { "name": "php-mock/php-mock-integration", @@ -1771,22 +1776,22 @@ }, { "name": "php-mock/php-mock-phpunit", - "version": "2.1.0", + "version": "2.5.0", "source": { "type": "git", "url": "https://github.com/php-mock/php-mock-phpunit.git", - "reference": "a7e7a51511095ad160d78e98f0e878002ddfe5f2" + "reference": "7df4bd123ce196bbba19f142c4906c20be8ec546" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-mock/php-mock-phpunit/zipball/a7e7a51511095ad160d78e98f0e878002ddfe5f2", - "reference": "a7e7a51511095ad160d78e98f0e878002ddfe5f2", + "url": "https://api.github.com/repos/php-mock/php-mock-phpunit/zipball/7df4bd123ce196bbba19f142c4906c20be8ec546", + "reference": "7df4bd123ce196bbba19f142c4906c20be8ec546", "shasum": "" }, "require": { "php": ">=7", "php-mock/php-mock-integration": "^2", - "phpunit/phpunit": "^6 || ^7" + "phpunit/phpunit": "^6 || ^7 || ^8" }, "type": "library", "autoload": { @@ -1804,9 +1809,9 @@ "authors": [ { "name": "Markus Malkusch", - "role": "Developer", "email": "markus@malkusch.de", - "homepage": "http://markus.malkusch.de" + "homepage": "http://markus.malkusch.de", + "role": "Developer" } ], "description": "Mock built-in PHP functions (e.g. time()) with PHPUnit. This package relies on PHP's namespace fallback policy. No further extension is needed.", @@ -1821,39 +1826,37 @@ "test", "test double" ], - "time": "2018-03-23T08:15:28+00:00" + "time": "2019-10-05T21:44:04+00:00" }, { "name": "phpdocumentor/reflection-common", - "version": "1.0.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6" + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", - "reference": "21bdeb5f65d7ebf9f43b1b25d404f87deab5bfb6", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/63a995caa1ca9e5590304cd845c15ad6d482a62a", + "reference": "63a995caa1ca9e5590304cd845c15ad6d482a62a", "shasum": "" }, "require": { - "php": ">=5.5" + "php": ">=7.1" }, "require-dev": { - "phpunit/phpunit": "^4.6" + "phpunit/phpunit": "~6" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "phpDocumentor\\Reflection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1875,30 +1878,30 @@ "reflection", "static analysis" ], - "time": "2017-09-11T18:02:19+00:00" + "time": "2018-08-07T13:53:10+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "4.3.0", + "version": "4.3.2", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08" + "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/94fd0001232e47129dd3504189fa1c7225010d08", - "reference": "94fd0001232e47129dd3504189fa1c7225010d08", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/b83ff7cfcfee7827e1e78b637a5904fe6a96698e", + "reference": "b83ff7cfcfee7827e1e78b637a5904fe6a96698e", "shasum": "" }, "require": { "php": "^7.0", - "phpdocumentor/reflection-common": "^1.0.0", - "phpdocumentor/type-resolver": "^0.4.0", + "phpdocumentor/reflection-common": "^1.0.0 || ^2.0.0", + "phpdocumentor/type-resolver": "~0.4 || ^1.0.0", "webmozart/assert": "^1.0" }, "require-dev": { - "doctrine/instantiator": "~1.0.5", + "doctrine/instantiator": "^1.0.5", "mockery/mockery": "^1.0", "phpunit/phpunit": "^6.4" }, @@ -1926,41 +1929,40 @@ } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2017-11-30T07:14:17+00:00" + "time": "2019-09-12T14:27:41+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.4.0", + "version": "1.0.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7" + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/9c977708995954784726e25d0cd1dddf4e65b0f7", - "reference": "9c977708995954784726e25d0cd1dddf4e65b0f7", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", + "reference": "2e32a6d48972b2c1976ed5d8967145b6cec4a4a9", "shasum": "" }, "require": { - "php": "^5.5 || ^7.0", - "phpdocumentor/reflection-common": "^1.0" + "php": "^7.1", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "ext-tokenizer": "^7.1", + "mockery/mockery": "~1", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1973,42 +1975,43 @@ "email": "me@mikevanriel.com" } ], - "time": "2017-07-14T14:27:02+00:00" + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2019-08-22T18:11:29+00:00" }, { "name": "phpspec/prophecy", - "version": "1.7.5", + "version": "1.9.0", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401" + "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/dfd6be44111a7c41c2e884a336cc4f461b3b2401", - "reference": "dfd6be44111a7c41c2e884a336cc4f461b3b2401", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/f6811d96d97bdf400077a0cc100ae56aa32b9203", + "reference": "f6811d96d97bdf400077a0cc100ae56aa32b9203", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0", - "sebastian/comparator": "^1.1|^2.0", + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.1|^2.0|^3.0", "sebastian/recursion-context": "^1.0|^2.0|^3.0" }, "require-dev": { "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5" + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.7.x-dev" + "dev-master": "1.8.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -2036,44 +2039,44 @@ "spy", "stub" ], - "time": "2018-02-19T10:16:54+00:00" + "time": "2019-10-03T11:07:50+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "6.0.1", + "version": "7.0.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "f8ca4b604baf23dab89d87773c28cc07405189ba" + "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f8ca4b604baf23dab89d87773c28cc07405189ba", - "reference": "f8ca4b604baf23dab89d87773c28cc07405189ba", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f1884187926fbb755a9aaf0b3836ad3165b478bf", + "reference": "f1884187926fbb755a9aaf0b3836ad3165b478bf", "shasum": "" }, "require": { "ext-dom": "*", "ext-xmlwriter": "*", - "php": "^7.1", - "phpunit/php-file-iterator": "^1.4.2", + "php": "^7.2", + "phpunit/php-file-iterator": "^2.0.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-token-stream": "^3.0", + "phpunit/php-token-stream": "^3.1.1", "sebastian/code-unit-reverse-lookup": "^1.0.1", - "sebastian/environment": "^3.0", + "sebastian/environment": "^4.2.2", "sebastian/version": "^2.0.1", - "theseer/tokenizer": "^1.1" + "theseer/tokenizer": "^1.1.3" }, "require-dev": { - "phpunit/phpunit": "^7.0" + "phpunit/phpunit": "^8.2.2" }, "suggest": { - "ext-xdebug": "^2.6.0" + "ext-xdebug": "^2.7.2" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "6.0-dev" + "dev-master": "7.0-dev" } }, "autoload": { @@ -2099,29 +2102,32 @@ "testing", "xunit" ], - "time": "2018-02-02T07:01:41+00:00" + "time": "2019-11-20T13:55:58+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.5", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" + "reference": "050bedf145a257b1ff02746c31894800e5122946" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", - "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/050bedf145a257b1ff02746c31894800e5122946", + "reference": "050bedf145a257b1ff02746c31894800e5122946", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": "^7.1" + }, + "require-dev": { + "phpunit/phpunit": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { @@ -2136,7 +2142,7 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sb@sebastian-bergmann.de", + "email": "sebastian@phpunit.de", "role": "lead" } ], @@ -2146,7 +2152,7 @@ "filesystem", "iterator" ], - "time": "2017-11-27T13:52:08+00:00" + "time": "2018-09-13T20:33:42+00:00" }, { "name": "phpunit/php-text-template", @@ -2191,16 +2197,16 @@ }, { "name": "phpunit/php-timer", - "version": "2.0.0", + "version": "2.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f" + "reference": "1038454804406b0b5f5f520358e78c1c2f71501e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/8b8454ea6958c3dee38453d3bd571e023108c91f", - "reference": "8b8454ea6958c3dee38453d3bd571e023108c91f", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/1038454804406b0b5f5f520358e78c1c2f71501e", + "reference": "1038454804406b0b5f5f520358e78c1c2f71501e", "shasum": "" }, "require": { @@ -2212,7 +2218,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "2.1-dev" } }, "autoload": { @@ -2236,20 +2242,20 @@ "keywords": [ "timer" ], - "time": "2018-02-01T13:07:23+00:00" + "time": "2019-06-07T04:22:29+00:00" }, { "name": "phpunit/php-token-stream", - "version": "3.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace" + "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/21ad88bbba7c3d93530d93994e0a33cd45f02ace", - "reference": "21ad88bbba7c3d93530d93994e0a33cd45f02ace", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/995192df77f63a59e47f025390d2d1fdf8f425ff", + "reference": "995192df77f63a59e47f025390d2d1fdf8f425ff", "shasum": "" }, "require": { @@ -2262,7 +2268,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -2285,53 +2291,56 @@ "keywords": [ "tokenizer" ], - "time": "2018-02-01T13:16:43+00:00" + "time": "2019-09-17T06:23:10+00:00" }, { "name": "phpunit/phpunit", - "version": "7.0.3", + "version": "8.4.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "536f4d853c12d8189963435088e8ff7c0daeab2e" + "reference": "67f9e35bffc0dd52d55d565ddbe4230454fd6a4e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/536f4d853c12d8189963435088e8ff7c0daeab2e", - "reference": "536f4d853c12d8189963435088e8ff7c0daeab2e", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/67f9e35bffc0dd52d55d565ddbe4230454fd6a4e", + "reference": "67f9e35bffc0dd52d55d565ddbe4230454fd6a4e", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.2.0", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "myclabs/deep-copy": "^1.6.1", - "phar-io/manifest": "^1.0.1", - "phar-io/version": "^1.0", - "php": "^7.1", - "phpspec/prophecy": "^1.7", - "phpunit/php-code-coverage": "^6.0.1", - "phpunit/php-file-iterator": "^1.4.3", + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.9.1", + "phar-io/manifest": "^1.0.3", + "phar-io/version": "^2.0.1", + "php": "^7.2", + "phpspec/prophecy": "^1.8.1", + "phpunit/php-code-coverage": "^7.0.7", + "phpunit/php-file-iterator": "^2.0.2", "phpunit/php-text-template": "^1.2.1", - "phpunit/php-timer": "^2.0", - "phpunit/phpunit-mock-objects": "^6.0", - "sebastian/comparator": "^2.1", - "sebastian/diff": "^3.0", - "sebastian/environment": "^3.1", - "sebastian/exporter": "^3.1", - "sebastian/global-state": "^2.0", + "phpunit/php-timer": "^2.1.2", + "sebastian/comparator": "^3.0.2", + "sebastian/diff": "^3.0.2", + "sebastian/environment": "^4.2.2", + "sebastian/exporter": "^3.1.1", + "sebastian/global-state": "^3.0.0", "sebastian/object-enumerator": "^3.0.3", - "sebastian/resource-operations": "^1.0", + "sebastian/resource-operations": "^2.0.1", + "sebastian/type": "^1.1.3", "sebastian/version": "^2.0.1" }, "require-dev": { "ext-pdo": "*" }, "suggest": { + "ext-soap": "*", "ext-xdebug": "*", - "phpunit/php-invoker": "^2.0" + "phpunit/php-invoker": "^2.0.0" }, "bin": [ "phpunit" @@ -2339,7 +2348,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "7.0-dev" + "dev-master": "8.4-dev" } }, "autoload": { @@ -2365,64 +2374,7 @@ "testing", "xunit" ], - "time": "2018-03-26T07:36:48+00:00" - }, - { - "name": "phpunit/phpunit-mock-objects", - "version": "6.0.1", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", - "reference": "e3249dedc2d99259ccae6affbc2684eac37c2e53" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/e3249dedc2d99259ccae6affbc2684eac37c2e53", - "reference": "e3249dedc2d99259ccae6affbc2684eac37c2e53", - "shasum": "" - }, - "require": { - "doctrine/instantiator": "^1.0.5", - "php": "^7.1", - "phpunit/php-text-template": "^1.2.1", - "sebastian/exporter": "^3.1" - }, - "require-dev": { - "phpunit/phpunit": "^7.0" - }, - "suggest": { - "ext-soap": "*" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "6.0.x-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": "Mock Object library for PHPUnit", - "homepage": "https://github.com/sebastianbergmann/phpunit-mock-objects/", - "keywords": [ - "mock", - "xunit" - ], - "abandoned": true, - "time": "2018-02-15T05:27:38+00:00" + "time": "2019-11-06T09:42:23+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", @@ -2471,30 +2423,30 @@ }, { "name": "sebastian/comparator", - "version": "2.1.3", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9" + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/34369daee48eafb2651bea869b4b15d75ccc35f9", - "reference": "34369daee48eafb2651bea869b4b15d75ccc35f9", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5de4fc177adf9bce8df98d8d141a7559d7ccf6da", + "reference": "5de4fc177adf9bce8df98d8d141a7559d7ccf6da", "shasum": "" }, "require": { - "php": "^7.0", - "sebastian/diff": "^2.0 || ^3.0", + "php": "^7.1", + "sebastian/diff": "^3.0", "sebastian/exporter": "^3.1" }, "require-dev": { - "phpunit/phpunit": "^6.4" + "phpunit/phpunit": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.1.x-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2531,27 +2483,27 @@ "compare", "equality" ], - "time": "2018-02-01T13:46:46+00:00" + "time": "2018-07-12T15:12:46+00:00" }, { "name": "sebastian/diff", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8" + "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/e09160918c66281713f1c324c1f4c4c3037ba1e8", - "reference": "e09160918c66281713f1c324c1f4c4c3037ba1e8", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/720fcc7e9b5cf384ea68d9d930d480907a0c1a29", + "reference": "720fcc7e9b5cf384ea68d9d930d480907a0c1a29", "shasum": "" }, "require": { "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^7.0", + "phpunit/phpunit": "^7.5 || ^8.0", "symfony/process": "^2 || ^3.3 || ^4" }, "type": "library", @@ -2587,32 +2539,35 @@ "unidiff", "unified diff" ], - "time": "2018-02-01T13:45:15+00:00" + "time": "2019-02-04T06:01:07+00:00" }, { "name": "sebastian/environment", - "version": "3.1.0", + "version": "4.2.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5" + "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/cd0871b3975fb7fc44d11314fd1ee20925fce4f5", - "reference": "cd0871b3975fb7fc44d11314fd1ee20925fce4f5", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/464c90d7bdf5ad4e8a6aea15c091fec0603d4368", + "reference": "464c90d7bdf5ad4e8a6aea15c091fec0603d4368", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^7.1" }, "require-dev": { - "phpunit/phpunit": "^6.1" + "phpunit/phpunit": "^7.5" + }, + "suggest": { + "ext-posix": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.1.x-dev" + "dev-master": "4.2-dev" } }, "autoload": { @@ -2637,20 +2592,20 @@ "environment", "hhvm" ], - "time": "2017-07-01T08:51:00+00:00" + "time": "2019-11-20T08:46:58+00:00" }, { "name": "sebastian/exporter", - "version": "3.1.0", + "version": "3.1.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937" + "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/234199f4528de6d12aaa58b612e98f7d36adb937", - "reference": "234199f4528de6d12aaa58b612e98f7d36adb937", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/68609e1261d215ea5b21b7987539cbfbe156ec3e", + "reference": "68609e1261d215ea5b21b7987539cbfbe156ec3e", "shasum": "" }, "require": { @@ -2677,6 +2632,10 @@ "BSD-3-Clause" ], "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" + }, { "name": "Jeff Welch", "email": "whatthejeff@gmail.com" @@ -2685,17 +2644,13 @@ "name": "Volker Dusch", "email": "github@wallbash.com" }, - { - "name": "Bernhard Schussek", - "email": "bschussek@2bepublished.at" - }, - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de" - }, { "name": "Adam Harvey", "email": "aharvey@php.net" + }, + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" } ], "description": "Provides the functionality to export PHP variables for visualization", @@ -2704,27 +2659,30 @@ "export", "exporter" ], - "time": "2017-04-03T13:19:02+00:00" + "time": "2019-09-14T09:02:43+00:00" }, { "name": "sebastian/global-state", - "version": "2.0.0", + "version": "3.0.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4" + "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", - "reference": "e8ba02eed7bbbb9e59e43dedd3dddeff4a56b0c4", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4", + "reference": "edf8a461cf1d4005f19fb0b6b8b95a9f7fa0adc4", "shasum": "" }, "require": { - "php": "^7.0" + "php": "^7.2", + "sebastian/object-reflector": "^1.1.1", + "sebastian/recursion-context": "^3.0" }, "require-dev": { - "phpunit/phpunit": "^6.0" + "ext-dom": "*", + "phpunit/phpunit": "^8.0" }, "suggest": { "ext-uopz": "*" @@ -2732,7 +2690,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -2755,7 +2713,7 @@ "keywords": [ "global state" ], - "time": "2017-04-27T15:39:26+00:00" + "time": "2019-02-01T05:30:01+00:00" }, { "name": "sebastian/object-enumerator", @@ -2904,25 +2862,25 @@ }, { "name": "sebastian/resource-operations", - "version": "1.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/resource-operations.git", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52" + "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", - "reference": "ce990bb21759f94aeafd30209e8cfcdfa8bc3f52", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/4d7a795d35b889bf80a0cc04e08d77cedfa917a9", + "reference": "4d7a795d35b889bf80a0cc04e08d77cedfa917a9", "shasum": "" }, "require": { - "php": ">=5.6.0" + "php": "^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2942,7 +2900,53 @@ ], "description": "Provides a list of PHP built-in functions that operate on resources", "homepage": "https://www.github.com/sebastianbergmann/resource-operations", - "time": "2015-07-28T20:34:47+00:00" + "time": "2018-10-04T04:07:39+00:00" + }, + { + "name": "sebastian/type", + "version": "1.1.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/3aaaa15fa71d27650d62a948be022fe3b48541a3", + "reference": "3aaaa15fa71d27650d62a948be022fe3b48541a3", + "shasum": "" + }, + "require": { + "php": "^7.2" + }, + "require-dev": { + "phpunit/phpunit": "^8.2" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.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": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", + "time": "2019-07-02T08:10:15+00:00" }, { "name": "sebastian/version", @@ -3114,18 +3118,76 @@ "homepage": "https://symfony.com", "time": "2018-03-05T18:28:26+00:00" }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.12.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/550ebaac289296ce228a706d0867afc34687e3f4", + "reference": "550ebaac289296ce228a706d0867afc34687e3f4", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.12-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "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" + ], + "time": "2019-08-06T08:03:45+00:00" + }, { "name": "theseer/tokenizer", - "version": "1.1.0", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b" + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/cb2f008f3f05af2893a87208fe6a6c4985483f8b", - "reference": "cb2f008f3f05af2893a87208fe6a6c4985483f8b", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/11336f6f84e16a720dae9d8e6ed5019efa85a0f9", + "reference": "11336f6f84e16a720dae9d8e6ed5019efa85a0f9", "shasum": "" }, "require": { @@ -3152,28 +3214,28 @@ } ], "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", - "time": "2017-04-07T12:08:54+00:00" + "time": "2019-06-13T22:48:21+00:00" }, { "name": "webmozart/assert", - "version": "1.3.0", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a" + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/0df1908962e7a3071564e857d86874dad1ef204a", - "reference": "0df1908962e7a3071564e857d86874dad1ef204a", + "url": "https://api.github.com/repos/webmozart/assert/zipball/88e6d84706d09a236046d686bbea96f07b3a34f4", + "reference": "88e6d84706d09a236046d686bbea96f07b3a34f4", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0", + "symfony/polyfill-ctype": "^1.8" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", "extra": { @@ -3202,7 +3264,7 @@ "check", "validate" ], - "time": "2018-01-29T19:49:41+00:00" + "time": "2019-08-24T08:43:50+00:00" }, { "name": "zendframework/zend-coding-standard", diff --git a/test/CreateHandler/CreateHandlerCommandTest.php b/test/CreateHandler/CreateHandlerCommandTest.php index 3fa741c..2ca9c7c 100644 --- a/test/CreateHandler/CreateHandlerCommandTest.php +++ b/test/CreateHandler/CreateHandlerCommandTest.php @@ -48,7 +48,7 @@ class CreateHandlerCommandTest extends TestCase /** @var ConsoleOutputInterface|ObjectProphecy */ private $output; - protected function setUp() + protected function setUp() : void { $this->input = $this->prophesize(InputInterface::class); $this->output = $this->prophesize(ConsoleOutputInterface::class); @@ -94,8 +94,8 @@ private function mockApplication(string $forService = 'Foo\TestHandler') ->run( Argument::that(function ($input) use ($forService) { Assert::assertInstanceOf(ArrayInput::class, $input); - Assert::assertContains('factory:create', (string) $input); - Assert::assertContains($forService, (string) $input); + Assert::assertStringContainsString('factory:create', (string) $input); + Assert::assertStringContainsString($forService, (string) $input); return $input; }), $this->output->reveal() @@ -112,13 +112,13 @@ private function mockApplication(string $forService = 'Foo\TestHandler') public function testConfigureSetsExpectedDescriptionWhenRequestingAHandler() { $command = $this->createCommand(); - $this->assertContains(CreateHandlerCommand::HELP_HANDLER_DESCRIPTION, $command->getDescription()); + $this->assertStringContainsString(CreateHandlerCommand::HELP_HANDLER_DESCRIPTION, $command->getDescription()); } public function testConfigureSetsExpectedDescriptionWhenRequestingAnAction() { $command = new CreateHandlerCommand('action:create', null, $this->container->reveal()); - $this->assertContains(CreateHandlerCommand::HELP_ACTION_DESCRIPTION, $command->getDescription()); + $this->assertStringContainsString(CreateHandlerCommand::HELP_ACTION_DESCRIPTION, $command->getDescription()); } public function testConfigureSetsExpectedHelpWhenRequestingAHandler() diff --git a/test/CreateHandler/CreateHandlerExceptionTest.php b/test/CreateHandler/CreateHandlerExceptionTest.php index 19b5202..9a54eaf 100644 --- a/test/CreateHandler/CreateHandlerExceptionTest.php +++ b/test/CreateHandler/CreateHandlerExceptionTest.php @@ -18,14 +18,14 @@ public function testMissingComposerJsonReturnsInstance() { $e = CreateHandlerException::missingComposerJson(); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('Could not find a composer.json', $e->getMessage()); + $this->assertStringContainsString('Could not find a composer.json', $e->getMessage()); } public function testMissingComposerAutoloadersReturnsInstance() { $e = CreateHandlerException::missingComposerAutoloaders(); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('PSR-4 autoloaders', $e->getMessage()); + $this->assertStringContainsString('PSR-4 autoloaders', $e->getMessage()); } public function testInvalidComposerJsonReturnsInstanceWithErrorMessage() @@ -33,8 +33,8 @@ public function testInvalidComposerJsonReturnsInstanceWithErrorMessage() $error = 'Invalid or malformed JSON'; $e = CreateHandlerException::invalidComposerJson($error); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('Unable to parse composer.json: ', $e->getMessage()); - $this->assertContains($error, $e->getMessage()); + $this->assertStringContainsString('Unable to parse composer.json: ', $e->getMessage()); + $this->assertStringContainsString($error, $e->getMessage()); } public function testAutoloaderNotFoundReturnsInstanceUsingClassNameProvided() @@ -42,7 +42,7 @@ public function testAutoloaderNotFoundReturnsInstanceUsingClassNameProvided() $expected = __CLASS__; $e = CreateHandlerException::autoloaderNotFound($expected); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('match ' . $expected, $e->getMessage()); + $this->assertStringContainsString('match ' . $expected, $e->getMessage()); } public function testUnableToCreatePathReturnsInstanceUsingPathAndClassProvided() @@ -51,8 +51,8 @@ public function testUnableToCreatePathReturnsInstanceUsingPathAndClassProvided() $class = __CLASS__; $e = CreateHandlerException::unableToCreatePath($path, $class); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('directory ' . $path, $e->getMessage()); - $this->assertContains('class ' . $class, $e->getMessage()); + $this->assertStringContainsString('directory ' . $path, $e->getMessage()); + $this->assertStringContainsString('class ' . $class, $e->getMessage()); } public function testClassExistsReturnsInstanceUsingPathAndClassProvided() @@ -61,7 +61,7 @@ public function testClassExistsReturnsInstanceUsingPathAndClassProvided() $class = __CLASS__; $e = CreateHandlerException::classExists($path, $class); $this->assertInstanceOf(CreateHandlerException::class, $e); - $this->assertContains('directory ' . $path, $e->getMessage()); - $this->assertContains('Class ' . $class, $e->getMessage()); + $this->assertStringContainsString('directory ' . $path, $e->getMessage()); + $this->assertStringContainsString('Class ' . $class, $e->getMessage()); } } diff --git a/test/CreateHandler/CreateHandlerTest.php b/test/CreateHandler/CreateHandlerTest.php index 143fd98..de4f3dc 100644 --- a/test/CreateHandler/CreateHandlerTest.php +++ b/test/CreateHandler/CreateHandlerTest.php @@ -23,7 +23,7 @@ class CreateHandlerTest extends TestCase /** @var string */ private $projectRoot; - public function setUp() + protected function setUp() : void { $this->dir = vfsStream::setup('project'); $this->projectRoot = vfsStream::url('project'); @@ -275,6 +275,6 @@ public function testTheClassSkeletonParameterOverridesTheConstant() ); $classFileContents = file_get_contents($expectedPath); - $this->assertContains('class Foo\Bar\BazHandler', $classFileContents); + $this->assertStringContainsString('class Foo\Bar\BazHandler', $classFileContents); } } diff --git a/test/CreateHandler/CreateTemplateTest.php b/test/CreateHandler/CreateTemplateTest.php index b4732c1..45e1dae 100644 --- a/test/CreateHandler/CreateTemplateTest.php +++ b/test/CreateHandler/CreateTemplateTest.php @@ -48,7 +48,7 @@ class CreateTemplateTest extends TestCase /** @var PlatesRenderer|TwigRenderer|ZendViewRenderer */ private $renderer; - public function setUp() + protected function setUp() : void { $this->dir = vfsStream::setup('project'); $this->projectRoot = vfsStream::url('project'); diff --git a/test/CreateMiddleware/CreateMiddlewareCommandTest.php b/test/CreateMiddleware/CreateMiddlewareCommandTest.php index f116b39..200a300 100644 --- a/test/CreateMiddleware/CreateMiddlewareCommandTest.php +++ b/test/CreateMiddleware/CreateMiddlewareCommandTest.php @@ -44,7 +44,7 @@ class CreateMiddlewareCommandTest extends TestCase /** @var CreateMiddlewareCommand */ private $command; - protected function setUp() + protected function setUp() : void { $this->input = $this->prophesize(InputInterface::class); $this->output = $this->prophesize(ConsoleOutputInterface::class); @@ -76,8 +76,8 @@ private function mockApplication() ->run( Argument::that(function ($input) { Assert::assertInstanceOf(ArrayInput::class, $input); - Assert::assertContains('factory:create', (string) $input); - Assert::assertContains('Foo\TestMiddleware', (string) $input); + Assert::assertStringContainsString('factory:create', (string) $input); + Assert::assertStringContainsString('Foo\TestMiddleware', (string) $input); return $input; }), $this->output->reveal() @@ -93,7 +93,7 @@ private function mockApplication() public function testConfigureSetsExpectedDescription() { - $this->assertContains('Create a PSR-15 middleware', $this->command->getDescription()); + $this->assertStringContainsString('Create a PSR-15 middleware', $this->command->getDescription()); } public function testConfigureSetsExpectedHelp() diff --git a/test/CreateMiddleware/CreateMiddlewareExceptionTest.php b/test/CreateMiddleware/CreateMiddlewareExceptionTest.php index 20da5e6..0bb304d 100644 --- a/test/CreateMiddleware/CreateMiddlewareExceptionTest.php +++ b/test/CreateMiddleware/CreateMiddlewareExceptionTest.php @@ -18,14 +18,14 @@ public function testMissingComposerJsonReturnsInstance() { $e = CreateMiddlewareException::missingComposerJson(); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('Could not find a composer.json', $e->getMessage()); + $this->assertStringContainsString('Could not find a composer.json', $e->getMessage()); } public function testMissingComposerAutoloadersReturnsInstance() { $e = CreateMiddlewareException::missingComposerAutoloaders(); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('PSR-4 autoloaders', $e->getMessage()); + $this->assertStringContainsString('PSR-4 autoloaders', $e->getMessage()); } public function testInvalidComposerJsonReturnsInstanceWithErrorMessage() @@ -33,8 +33,8 @@ public function testInvalidComposerJsonReturnsInstanceWithErrorMessage() $error = 'Invalid or malformed JSON'; $e = CreateMiddlewareException::invalidComposerJson($error); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('Unable to parse composer.json: ', $e->getMessage()); - $this->assertContains($error, $e->getMessage()); + $this->assertStringContainsString('Unable to parse composer.json: ', $e->getMessage()); + $this->assertStringContainsString($error, $e->getMessage()); } public function testAutoloaderNotFoundReturnsInstanceUsingClassNameProvided() @@ -42,7 +42,7 @@ public function testAutoloaderNotFoundReturnsInstanceUsingClassNameProvided() $expected = __CLASS__; $e = CreateMiddlewareException::autoloaderNotFound($expected); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('match ' . $expected, $e->getMessage()); + $this->assertStringContainsString('match ' . $expected, $e->getMessage()); } public function testUnableToCreatePathReturnsInstanceUsingPathAndClassProvided() @@ -51,8 +51,8 @@ public function testUnableToCreatePathReturnsInstanceUsingPathAndClassProvided() $class = __CLASS__; $e = CreateMiddlewareException::unableToCreatePath($path, $class); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('directory ' . $path, $e->getMessage()); - $this->assertContains('class ' . $class, $e->getMessage()); + $this->assertStringContainsString('directory ' . $path, $e->getMessage()); + $this->assertStringContainsString('class ' . $class, $e->getMessage()); } public function testClassExistsReturnsInstanceUsingPathAndClassProvided() @@ -61,7 +61,7 @@ public function testClassExistsReturnsInstanceUsingPathAndClassProvided() $class = __CLASS__; $e = CreateMiddlewareException::classExists($path, $class); $this->assertInstanceOf(CreateMiddlewareException::class, $e); - $this->assertContains('directory ' . $path, $e->getMessage()); - $this->assertContains('Class ' . $class, $e->getMessage()); + $this->assertStringContainsString('directory ' . $path, $e->getMessage()); + $this->assertStringContainsString('Class ' . $class, $e->getMessage()); } } diff --git a/test/CreateMiddleware/CreateMiddlewareTest.php b/test/CreateMiddleware/CreateMiddlewareTest.php index f041af1..2cbe3f5 100644 --- a/test/CreateMiddleware/CreateMiddlewareTest.php +++ b/test/CreateMiddleware/CreateMiddlewareTest.php @@ -23,7 +23,7 @@ class CreateMiddlewareTest extends TestCase /** @var string */ private $projectRoot; - public function setUp() + protected function setUp() : void { $this->dir = vfsStream::setup('project'); $this->projectRoot = vfsStream::url('project'); @@ -279,6 +279,6 @@ public function testTheClassSkeletonParameterOverridesTheConstant() ); $classFileContents = file_get_contents($expectedPath); - $this->assertContains('class Foo\Bar\BazMiddleware', $classFileContents); + $this->assertStringContainsString('class Foo\Bar\BazMiddleware', $classFileContents); } } diff --git a/test/Factory/ClassNotFoundExceptionTest.php b/test/Factory/ClassNotFoundExceptionTest.php index bf94992..be491a3 100644 --- a/test/Factory/ClassNotFoundExceptionTest.php +++ b/test/Factory/ClassNotFoundExceptionTest.php @@ -18,6 +18,6 @@ public function testForClassNameGeneratesExpectedException() { $e = ClassNotFoundException::forClassName(__CLASS__); $this->assertInstanceOf(ClassNotFoundException::class, $e); - $this->assertContains(sprintf('Class "%s"', __CLASS__), $e->getMessage()); + $this->assertStringContainsString(sprintf('Class "%s"', __CLASS__), $e->getMessage()); } } diff --git a/test/Factory/ConfigFileNotWritableExceptionTest.php b/test/Factory/ConfigFileNotWritableExceptionTest.php index a897e7f..688aade 100644 --- a/test/Factory/ConfigFileNotWritableExceptionTest.php +++ b/test/Factory/ConfigFileNotWritableExceptionTest.php @@ -18,6 +18,6 @@ public function testForFileGeneratesExpectedException() { $e = ConfigFileNotWritableException::forFile(__FILE__); $this->assertInstanceOf(ConfigFileNotWritableException::class, $e); - $this->assertContains(sprintf('file "%s"', __FILE__), $e->getMessage()); + $this->assertStringContainsString(sprintf('file "%s"', __FILE__), $e->getMessage()); } } diff --git a/test/Factory/ConfigInjectorTest.php b/test/Factory/ConfigInjectorTest.php index 5d0e9ae..ba11b7a 100644 --- a/test/Factory/ConfigInjectorTest.php +++ b/test/Factory/ConfigInjectorTest.php @@ -26,7 +26,7 @@ class ConfigInjectorTest extends TestCase /** @var string */ private $projectRoot; - public function setUp() + protected function setUp() : void { $this->dir = vfsStream::setup('project'); $this->projectRoot = vfsStream::url('project'); @@ -58,7 +58,7 @@ public function testCreatesConfigFileIfItDidNotPreviouslyExist() { $this->injector->injectFactoryForClass(__CLASS__ . 'Factory', __CLASS__); $config = include($this->projectRoot . '/' . ConfigInjector::CONFIG_FILE); - $this->assertInternalType('array', $config); + $this->assertIsArray($config); $this->assertTrue(isset($config['dependencies']['factories'])); $this->assertCount(1, $config['dependencies']['factories']); $this->assertTrue(isset($config['dependencies']['factories'][__CLASS__])); @@ -82,7 +82,7 @@ public function testAddsNewEntryToConfigFile() $this->injector->injectFactoryForClass(__CLASS__ . 'Factory', __CLASS__); $config = include($this->projectRoot . '/' . ConfigInjector::CONFIG_FILE); - $this->assertInternalType('array', $config); + $this->assertIsArray($config); $this->assertTrue(isset($config['dependencies']['factories'])); $factories = $config['dependencies']['factories']; diff --git a/test/Factory/CreateFactoryCommandTest.php b/test/Factory/CreateFactoryCommandTest.php index e62cb68..4bd5938 100644 --- a/test/Factory/CreateFactoryCommandTest.php +++ b/test/Factory/CreateFactoryCommandTest.php @@ -39,7 +39,7 @@ class CreateFactoryCommandTest extends TestCase /** @var CreateFactoryCommand */ private $command; - protected function setUp() + protected function setUp() : void { $this->input = $this->prophesize(InputInterface::class); $this->output = $this->prophesize(ConsoleOutputInterface::class); @@ -56,7 +56,7 @@ private function reflectExecuteMethod() public function testConfigureSetsExpectedDescription() { - $this->assertContains('Create a factory', $this->command->getDescription()); + $this->assertStringContainsString('Create a factory', $this->command->getDescription()); } public function testConfigureSetsExpectedHelp() diff --git a/test/Factory/CreateTest.php b/test/Factory/CreateTest.php index 1b7a18d..5f31ec5 100644 --- a/test/Factory/CreateTest.php +++ b/test/Factory/CreateTest.php @@ -30,7 +30,7 @@ class CreateTest extends TestCase /** @var string */ private $projectRoot; - public function setUp() + protected function setUp() : void { $this->factory = new Create(); $this->dir = vfsStream::setup('project'); @@ -89,7 +89,7 @@ public function testCanCreateFactoryFile() $fileName = $factory->createForClass($className); - $this->assertContains('TestClassFactory.php', $fileName); + $this->assertStringContainsString('TestClassFactory.php', $fileName); require $fileName; $factoryName = $className . 'Factory'; diff --git a/test/Factory/FactoryAlreadyExistsExceptionTest.php b/test/Factory/FactoryAlreadyExistsExceptionTest.php index b84ffa8..ff082c2 100644 --- a/test/Factory/FactoryAlreadyExistsExceptionTest.php +++ b/test/Factory/FactoryAlreadyExistsExceptionTest.php @@ -18,7 +18,7 @@ public function testForClassUsingFileGeneratesExpectedException() { $e = FactoryAlreadyExistsException::forClassUsingFile(__CLASS__, __FILE__); $this->assertInstanceOf(FactoryAlreadyExistsException::class, $e); - $this->assertContains(sprintf('class "%s"', __CLASS__), $e->getMessage()); - $this->assertContains(sprintf('file "%s"', __FILE__), $e->getMessage()); + $this->assertStringContainsString(sprintf('class "%s"', __CLASS__), $e->getMessage()); + $this->assertStringContainsString(sprintf('file "%s"', __FILE__), $e->getMessage()); } } diff --git a/test/Factory/FactoryClassGeneratorTest.php b/test/Factory/FactoryClassGeneratorTest.php index a1e8e83..7aab25c 100644 --- a/test/Factory/FactoryClassGeneratorTest.php +++ b/test/Factory/FactoryClassGeneratorTest.php @@ -22,7 +22,7 @@ class FactoryClassGeneratorTest extends TestCase */ private $generator; - public function setUp() + protected function setUp() : void { $this->generator = new FactoryClassGenerator(); } diff --git a/test/Factory/FactoryWriteExceptionTest.php b/test/Factory/FactoryWriteExceptionTest.php index 60c6c51..94c23a6 100644 --- a/test/Factory/FactoryWriteExceptionTest.php +++ b/test/Factory/FactoryWriteExceptionTest.php @@ -18,6 +18,6 @@ public function testWhenCreatingFileGeneratesExpectedException() { $e = FactoryWriteException::whenCreatingFile(__FILE__); $this->assertInstanceOf(FactoryWriteException::class, $e); - $this->assertContains('file "' . __FILE__ . '"', $e->getMessage()); + $this->assertStringContainsString('file "' . __FILE__ . '"', $e->getMessage()); } } diff --git a/test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php b/test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php index f3ed732..f04a03a 100644 --- a/test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php +++ b/test/MigrateInteropMiddleware/MigrateInteropMiddlewareCommandTest.php @@ -40,7 +40,7 @@ class MigrateInteropMiddlewareCommandTest extends TestCase /** @var MigrateInteropMiddlewareCommand */ private $command; - protected function setUp() + protected function setUp() : void { $this->input = $this->prophesize(InputInterface::class); $this->output = $this->prophesize(ConsoleOutputInterface::class); @@ -57,7 +57,10 @@ private function reflectExecuteMethod() public function testConfigureSetsExpectedDescription() { - $this->assertContains('Migrate http-interop middleware and delegators', $this->command->getDescription()); + $this->assertStringContainsString( + 'Migrate http-interop middleware and delegators', + $this->command->getDescription() + ); } private function getConstantValue(string $const, string $class = MigrateInteropMiddlewareCommand::class) diff --git a/test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php b/test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php index 246de89..15a1b0c 100644 --- a/test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php +++ b/test/MigrateMiddlewareToRequestHandler/MigrateMiddlewareToRequestHandlerCommandTest.php @@ -57,7 +57,10 @@ private function reflectExecuteMethod() : ReflectionMethod public function testConfigureSetsExpectedDescription() { - $this->assertContains('Migrate PSR-15 middleware to request handlers', $this->command->getDescription()); + $this->assertStringContainsString( + 'Migrate PSR-15 middleware to request handlers', + $this->command->getDescription() + ); } /** diff --git a/test/Module/CommandCommonOptionsTest.php b/test/Module/CommandCommonOptionsTest.php index 14ed8ab..90bd3ea 100644 --- a/test/Module/CommandCommonOptionsTest.php +++ b/test/Module/CommandCommonOptionsTest.php @@ -19,7 +19,7 @@ class CommandCommonOptionsTest extends TestCase /** @var InputInterface|ObjectProphecy */ private $input; - protected function setUp() + protected function setUp() : void { $this->input = $this->prophesize(InputInterface::class); } diff --git a/test/Module/CommonOptionsAndAttributesTrait.php b/test/Module/CommonOptionsAndAttributesTrait.php index ef212c8..5bbb1f6 100644 --- a/test/Module/CommonOptionsAndAttributesTrait.php +++ b/test/Module/CommonOptionsAndAttributesTrait.php @@ -26,7 +26,7 @@ public function testConfigureSetsExpectedComposerOption() $this->assertTrue($definition->hasOption('composer')); $option = $definition->getOption('composer'); $this->assertTrue($option->isValueRequired()); - $this->assertContains('path to the composer binary', $option->getDescription()); + $this->assertStringContainsString('path to the composer binary', $option->getDescription()); } public function testConfigureSetsExpectedPathOption() @@ -35,6 +35,6 @@ public function testConfigureSetsExpectedPathOption() $this->assertTrue($definition->hasOption('modules-path')); $option = $definition->getOption('modules-path'); $this->assertTrue($option->isValueRequired()); - $this->assertContains('path to the modules directory', $option->getDescription()); + $this->assertStringContainsString('path to the modules directory', $option->getDescription()); } } diff --git a/test/Module/CreateCommandTest.php b/test/Module/CreateCommandTest.php index 8868e50..1e4e35d 100644 --- a/test/Module/CreateCommandTest.php +++ b/test/Module/CreateCommandTest.php @@ -61,7 +61,7 @@ class CreateCommandTest extends TestCase /** @var string */ private $expectedModuleArgumentDescription; - protected function setUp() + protected function setUp() : void { $this->dir = vfsStream::setup('project'); $this->projectRoot = vfsStream::url('project'); @@ -148,7 +148,7 @@ private function mockApplicationWithRegisterCommand($return, $name, $module, $co public function testConfigureSetsExpectedDescription() { - $this->assertContains('Create and register a middleware module', $this->command->getDescription()); + $this->assertStringContainsString('Create and register a middleware module', $this->command->getDescription()); } public function testConfigureSetsExpectedHelp() diff --git a/test/Module/CreateTest.php b/test/Module/CreateTest.php index 64ed7a7..3b90852 100644 --- a/test/Module/CreateTest.php +++ b/test/Module/CreateTest.php @@ -35,7 +35,7 @@ class CreateTest extends TestCase /** @var string */ private $projectDir; - protected function setUp() + protected function setUp() : void { parent::setUp(); diff --git a/test/Module/DeregisterCommandTest.php b/test/Module/DeregisterCommandTest.php index b4831d3..fbf0639 100644 --- a/test/Module/DeregisterCommandTest.php +++ b/test/Module/DeregisterCommandTest.php @@ -44,7 +44,7 @@ class DeregisterCommandTest extends TestCase /** @var string */ private $expectedModuleArgumentDescription; - protected function setUp() + protected function setUp() : void { parent::setUp(); @@ -64,7 +64,7 @@ private function reflectExecuteMethod() public function testConfigureSetsExpectedDescription() { - $this->assertContains('Deregister a middleware module', $this->command->getDescription()); + $this->assertStringContainsString('Deregister a middleware module', $this->command->getDescription()); } public function testConfigureSetsExpectedHelp() diff --git a/test/Module/RegisterCommandTest.php b/test/Module/RegisterCommandTest.php index af8de00..544e0b2 100644 --- a/test/Module/RegisterCommandTest.php +++ b/test/Module/RegisterCommandTest.php @@ -45,7 +45,7 @@ class RegisterCommandTest extends TestCase /** @var string */ private $expectedModuleArgumentDescription; - protected function setUp() + protected function setUp() : void { parent::setUp(); @@ -65,7 +65,7 @@ private function reflectExecuteMethod() public function testConfigureSetsExpectedDescription() { - $this->assertContains('Register a middleware module', $this->command->getDescription()); + $this->assertStringContainsString('Register a middleware module', $this->command->getDescription()); } public function testConfigureSetsExpectedHelp() From e83174aed2ccde2dcbec3a5a638b4045c5b12efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Fri, 22 Nov 2019 15:31:34 +0000 Subject: [PATCH 2/2] release: 1.3.0 readiness - set release date in CHANGELOG.md - remove empty stub in CHANGELOG.md - update branch-aliases in composer.json - dev-master => 1.3.x-dev - dev-develop => 1.4.x-dev --- CHANGELOG.md | 24 +----------------------- composer.json | 4 ++-- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b02d513..816448d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file, in reverse chronological order by release. -## 1.3.0 - TBD +## 1.3.0 - 2019-11-22 ### Added @@ -25,28 +25,6 @@ All notable changes to this project will be documented in this file, in reverse - Nothing. -## 1.2.2 - TBD - -### Added - -- Nothing. - -### Changed - -- Nothing. - -### Deprecated - -- Nothing. - -### Removed - -- Nothing. - -### Fixed - -- Nothing. - ## 1.2.1 - 2019-08-28 ### Added diff --git a/composer.json b/composer.json index 8106d90..b0913eb 100644 --- a/composer.json +++ b/composer.json @@ -54,8 +54,8 @@ }, "extra": { "branch-alias": { - "dev-master": "1.2.x-dev", - "dev-develop": "1.3.x-dev" + "dev-master": "1.3.x-dev", + "dev-develop": "1.4.x-dev" } }, "bin": [