From f32ee5effbf985f3d644a0348a70405910d47aed Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Tue, 27 Nov 2018 13:59:46 +0100 Subject: [PATCH 1/3] Update dev dependencies --- .travis.yml | 4 ++-- composer.json | 9 +++++---- phpunit.xml.dist | 9 +++++---- tests/Uuid/UuidSerializerHandlerTest.php | 2 +- 4 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1b5ca1c..fe9b38f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,5 +15,5 @@ before_script: script: - composer run build -after_script: - - composer run coveralls +after_success: + - travis_retry php vendor/bin/php-coveralls -v diff --git a/composer.json b/composer.json index eb888a4..a12394a 100644 --- a/composer.json +++ b/composer.json @@ -22,10 +22,11 @@ "ramsey/uuid": "~3.0" }, "require-dev": { - "consistence/coding-standard": "2.3", - "jakub-onderka/php-parallel-lint": "0.9.2", - "phpunit/phpunit": "6.5.5", - "satooshi/php-coveralls": "2.0.0" + "consistence/coding-standard": "3.5", + "jakub-onderka/php-parallel-lint": "1.0.0", + "php-coveralls/php-coveralls": "2.1.0", + "phpunit/phpunit": "7.4.4", + "squizlabs/php_codesniffer": "3.3.2" }, "autoload": { "psr-4": { "Mhujer\\JmsSerializer\\": [ "src" ] }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 9727ce6..28057ae 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,13 +2,14 @@ +> diff --git a/tests/Uuid/UuidSerializerHandlerTest.php b/tests/Uuid/UuidSerializerHandlerTest.php index 7bf98d1..68d0fdc 100644 --- a/tests/Uuid/UuidSerializerHandlerTest.php +++ b/tests/Uuid/UuidSerializerHandlerTest.php @@ -95,7 +95,7 @@ public function testDeserializeInvalidUuid(): void private function getSerializer(): Serializer { return SerializerBuilder::create() - ->configureHandlers(function (HandlerRegistry $registry) { + ->configureHandlers(function (HandlerRegistry $registry): void { $registry->registerSubscribingHandler(new UuidSerializerHandler()); }) ->build(); From e29f95d3c43092654d382b333b45212fe2f2868d Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Tue, 27 Nov 2018 14:00:15 +0100 Subject: [PATCH 2/3] Travis: add PHP 7.3 --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index fe9b38f..2412da0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: php php: - 7.1 - 7.2 + - 7.3 env: matrix: From f73d37f45bd38fc73c76fbadca1c73d834c5a939 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Tue, 27 Nov 2018 14:01:44 +0100 Subject: [PATCH 3/3] drop support for PHP 7.1 as it is no longer supported --- .travis.yml | 1 - README.md | 5 ++++- composer.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2412da0..ab97a91 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,6 @@ language: php php: - - 7.1 - 7.2 - 7.3 diff --git a/README.md b/README.md index 048c685..75a8f9e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,7 @@ class User Requirements ------------ -Works with PHP 7.1 or higher. +Works with PHP 7.2 or higher. Submitting bugs and feature requests ------------------------------------ @@ -67,6 +67,9 @@ Author Changelog ---------- +## 3.0.0 (2018-XX-XX) +- [#6](../../pull/6) dropped support for PHP 7.1 as it is no longer supported + ## 2.0.0 (2018-01-05) - [#3](../../pull/3) require PHP 7.1, potential BC breaks because of added type-hints diff --git a/composer.json b/composer.json index a12394a..928d4f4 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ } ], "require": { - "php": "~7.1", + "php": "~7.2", "jms/serializer": "^1.2", "ramsey/uuid": "~3.0" },