From fc861c933093d475b928e29bae2d595bd1d2e1c6 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Sat, 13 Jan 2018 11:50:53 +0530 Subject: [PATCH 1/5] Fix test suite name --- phpunit.xml.dist | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 06e3bb2..f4ca07a 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -11,7 +11,7 @@ syntaxCheck="false" > - + ./tests/ From ead47258e964002c1931b957e14ec55594a5d181 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Sat, 13 Jan 2018 12:13:42 +0530 Subject: [PATCH 2/5] Update v1 README.md that this is a legacy version --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 05dd661..a966fe3 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,9 @@ [![Latest Stable Version](https://poser.pugx.org/ayesh/php-timer/v/stable)](https://packagist.org/packages/ayesh/php-timer) [![License](https://poser.pugx.org/ayesh/php-timer/license)](https://packagist.org/packages/ayesh/php-timer) [![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/Ayesh/php-timer/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/Ayesh/php-timer/?branch=master) [![Build Status](https://travis-ci.org/Ayesh/php-timer.svg?branch=master)](https://travis-ci.org/Ayesh/php-timer) [![codecov](https://codecov.io/gh/Ayesh/php-timer/branch/master/graph/badge.svg)](https://codecov.io/gh/Ayesh/php-timer) [![SensioLabsInsight](https://insight.sensiolabs.com/projects/54bcf54f-5087-45bf-9813-63c79a06a642/mini.png)](https://insight.sensiolabs.com/projects/54bcf54f-5087-45bf-9813-63c79a06a642) [![Too many badges](https://img.shields.io/badge/style-too_many-brightgreen.svg?style=toomany&label=badges)](https://github.com/Ayesh/php-timer) +## Legacy version +This is the legacy v1.x series of the library. While bug fixes and minimal feature improvements are made to this version, please consider using the [new version v2.x](https://github.com/Ayesh/php-timer/tree/v2). + ## Synopsis A helper class to calculate how long a particular task took. From f88c72d575becaa37cd5c3b9cce8e0ccd9ee1b91 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Thu, 7 Feb 2019 18:15:18 +0530 Subject: [PATCH 3/5] Allow running in PHP ^8.0 as well --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4e1f5c1..f253219 100644 --- a/composer.json +++ b/composer.json @@ -14,7 +14,7 @@ } ], "require": { - "php": "^7.0" + "php": "^7.0 || ^8.0" }, "require-dev": { "phpunit/phpunit": "^6.0" From eb4d5ed5b0b852bb8fafecfedf3d63bb0c70d978 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Thu, 7 Feb 2019 18:25:36 +0530 Subject: [PATCH 4/5] Fix Travis CI composer install command using the deprecated composer install --dev option --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dcc7a69..833da30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,7 @@ php: before_script: - composer self-update - - travis_retry composer install --prefer-source --no-interaction --dev + - travis_retry composer install --prefer-source --no-interaction script: - vendor/bin/phpunit --coverage-clover=coverage.xml after_success: From 51fed4ee1ff39f59957e8460c13787c4c2726945 Mon Sep 17 00:00:00 2001 From: Ayesh Karunaratne Date: Thu, 7 Feb 2019 18:25:54 +0530 Subject: [PATCH 5/5] Fix Travis CI builds for PHP 7.4 and 8.0 --- .travis.yml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 833da30..c04d208 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,15 @@ language: php -php: - - 7.0 - - 7.1 - - 7.2 - - nightly +matrix: + include: + - php: 7.0 + - php: 7.1 + - php: 7.2 + - php: 7.3 + - php: 7.4 + - php: nightly + allow_failures: + - php: 7.4 + - php: nightly before_script: - composer self-update