From 5f62b12efb9cdda5caa22e40d09a7264976128ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Jensen?= Date: Wed, 16 Dec 2020 20:19:11 +0100 Subject: [PATCH 1/4] Php 8 --- .travis.yml | 4 +++- Makefile | 2 +- README.md | 11 +++++++---- composer.json | 8 ++++---- 4 files changed, 15 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index c867c81..dbec5ea 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,7 @@ language: php php: + - 8.0 - 7.4 - 7.3 - 7.2 @@ -10,4 +11,5 @@ before_script: - make deps-install script: - - make coverage cs-check \ No newline at end of file + - make coverage + - make cs-check \ No newline at end of file diff --git a/Makefile b/Makefile index 2c3dc5b..b97dcbd 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ test: composer.lock # Run tests with clover coverage report coverage: composer.lock - ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml + XDEBUG_MODE=coverage ./vendor/bin/phpunit --coverage-clover build/logs/clover.xml ./vendor/bin/php-coveralls -v diff --git a/README.md b/README.md index 36ae37d..e4fc458 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Interfaces and helper trait for comparing objects. Comparator utility class for sort and filter applications. -Current version supports PHP `^7.1`. +Current version supports PHP `^7.1|^8.0`. ## Installation @@ -170,6 +170,9 @@ class Phrity\Comparison\IncomparableException ## Versions -* `1.2` - The `Comparator` supports stored content for multiple operations (PHP ^7.1) -* `1.1` - The `Comparator` class for sort and filter (PHP 5.6|^7.0) -* `1.0` - `Equalable` and `Comparable` interface, `ComparisonTrait` trait (PHP 5.6|^7.0) +| Version | PHP | | +| --- | --- | --- | +| `1.3` | `^7.1|^8.0` | | +| `1.2` | `^7.1` | The `Comparator` supports stored content for multiple operations | +| `1.1` | `>=5.6` | The `Comparator` class for sort and filter | +| `1.0` | `>=5.6` | `Equalable` and `Comparable` interface, `ComparisonTrait` trait | diff --git a/composer.json b/composer.json index 4b001ba..b052f7c 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ } }, "require": { - "php": "^7.1" + "php": "^7.1|^8.0" }, "require-dev": { - "phpunit/phpunit": "^7.0|^8.0", - "php-coveralls/php-coveralls": "2.*", - "squizlabs/php_codesniffer": "3.*" + "phpunit/phpunit": "^7.0|^8.0|^9.0", + "php-coveralls/php-coveralls": "^2.0", + "squizlabs/php_codesniffer": "^3.5" } } From ba66ff9450fa718a9f0d0b8066b56d2ed56654da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Jensen?= Date: Wed, 16 Dec 2020 20:21:28 +0100 Subject: [PATCH 2/4] Php 8 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dbec5ea..51f485a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,4 +12,4 @@ before_script: script: - make coverage - - make cs-check \ No newline at end of file + - make cs-check From c8af2f43bba292c4db1697d5a91fcf4b1ae1234c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Jensen?= Date: Wed, 16 Dec 2020 20:36:30 +0100 Subject: [PATCH 3/4] Php 8 --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e4fc458..d5d74ef 100644 --- a/README.md +++ b/README.md @@ -168,11 +168,12 @@ class Phrity\Comparison\IncomparableException } ``` + ## Versions | Version | PHP | | | --- | --- | --- | -| `1.3` | `^7.1|^8.0` | | +| `1.3` | `^7.1\|^8.0` | | | `1.2` | `^7.1` | The `Comparator` supports stored content for multiple operations | | `1.1` | `>=5.6` | The `Comparator` class for sort and filter | | `1.0` | `>=5.6` | `Equalable` and `Comparable` interface, `ComparisonTrait` trait | From 73955abdbd30e456221dfa884a35856c819f4092 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Jensen?= Date: Wed, 16 Dec 2020 22:25:19 +0100 Subject: [PATCH 4/4] Php 8 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5d74ef..d4f2434 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/sirn-se/phrity-comparison.svg?branch=master)](https://travis-ci.org/sirn-se/phrity-comparison) +[![Build Status](https://travis-ci.com/sirn-se/phrity-comparison.svg?branch=master)](https://travis-ci.com/sirn-se/phrity-comparison) [![Coverage Status](https://coveralls.io/repos/github/sirn-se/phrity-comparison/badge.svg?branch=master)](https://coveralls.io/github/sirn-se/phrity-comparison?branch=master) # Comparison