From 980672febc2eba7e307836fbb8df963689d01be4 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 5 Jan 2018 14:59:17 +0100 Subject: [PATCH 1/5] require PHP 7.1 --- .travis.yml | 4 ++-- README.md | 2 +- composer.json | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1a159a8..1b5ca1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: php php: - - 5.6 - - 7 + - 7.1 + - 7.2 env: matrix: diff --git a/README.md b/README.md index fd00da9..4162731 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ class User Requirements ------------ -Works with PHP 5.6 or PHP 7. +Works with PHP 7.1 or higher. Submitting bugs and feature requests ------------------------------------ diff --git a/composer.json b/composer.json index 8185186..50761fd 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ } ], "require": { + "php": "^7.1", "jms/serializer-bundle": "~1.0|~2.0", "mhujer/jms-serializer-uuid": "~1.0", "symfony/config": "~2.7|~3.0", From 80fb22510ee574a641742bf8445d6fc78af2dc84 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 5 Jan 2018 14:59:44 +0100 Subject: [PATCH 2/5] use PHP 7.1 features --- src/DependencyInjection/MhujerJmsSerializerUuidExtension.php | 4 +++- src/MhujerJmsSerializerUuidBundle.php | 2 ++ .../MhujerJmsSerializerUuidExtensionTest.php | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/DependencyInjection/MhujerJmsSerializerUuidExtension.php b/src/DependencyInjection/MhujerJmsSerializerUuidExtension.php index 6c143e2..de1f5f5 100644 --- a/src/DependencyInjection/MhujerJmsSerializerUuidExtension.php +++ b/src/DependencyInjection/MhujerJmsSerializerUuidExtension.php @@ -1,5 +1,7 @@ Date: Fri, 5 Jan 2018 14:59:57 +0100 Subject: [PATCH 3/5] upgrade dev dependencies --- composer.json | 8 ++++---- phpunit.xml.dist | 4 +--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 50761fd..291f816 100644 --- a/composer.json +++ b/composer.json @@ -27,11 +27,11 @@ "symfony/yaml": "~2.7|~3.0" }, "require-dev": { - "consistence/coding-standard": "0.11", + "consistence/coding-standard": "2.3", "jakub-onderka/php-parallel-lint": "0.9.2", - "matthiasnoback/symfony-dependency-injection-test": "0.7.6", - "phpunit/phpunit": "5.3.4", - "satooshi/php-coveralls": "1.0.1" + "matthiasnoback/symfony-dependency-injection-test": "2.3.0", + "phpunit/phpunit": "6.5.5", + "satooshi/php-coveralls": "2.0.0" }, "autoload": { "psr-4": { "Mhujer\\JmsSerializer\\Uuid\\SymfonyBundle\\": [ "src" ] }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index be75d95..79ee404 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -2,14 +2,12 @@ From 27a66476c6e95808b991b28b8ed731d5b33118e1 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 5 Jan 2018 15:00:16 +0100 Subject: [PATCH 4/5] Symfony 4.0 support --- composer.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 291f816..2594433 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,12 @@ ], "require": { "php": "^7.1", - "jms/serializer-bundle": "~1.0|~2.0", - "mhujer/jms-serializer-uuid": "~1.0", - "symfony/config": "~2.7|~3.0", - "symfony/dependency-injection": "~2.7|~3.0", - "symfony/http-kernel": "~2.7|~3.0", - "symfony/yaml": "~2.7|~3.0" + "jms/serializer-bundle": "~1.0 || ~2.0", + "mhujer/jms-serializer-uuid": "~2.0", + "symfony/config": "~3.0 || ~4.0", + "symfony/dependency-injection": "~3.0 || ~4.0", + "symfony/http-kernel": "~3.0 || ~4.0", + "symfony/yaml": "~3.0 || ~4.0" }, "require-dev": { "consistence/coding-standard": "2.3", From 171d74b495f5af1497188db71e9c9718288277c3 Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 5 Jan 2018 15:00:22 +0100 Subject: [PATCH 5/5] update README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4162731..1f22193 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ Thanks [VaĊĦek Purchart](http://www.vasekpurchart.cz/) for ideas how to test Sym Changelog ---------- +## 3.0.0 (2018-01-07) +- [#3](https://github.com/mhujer/jms-serializer-uuid-bundle/pull/3) Added Symfony 4.0 support, dropped support for Symfony 2. Requires PHP 7.1. + ## 2.0.0 (2017-08-09) - [#1](https://github.com/mhujer/jms-serializer-uuid-bundle/pull/1) Support for JMS Serializer Bundle 2.0 (thanks @VasekPurchart !)