From 63f134f1a3d1e9c6f2b868f87d8822fd3628923b Mon Sep 17 00:00:00 2001 From: Samson Endale Date: Sat, 3 Sep 2016 14:07:53 +0300 Subject: [PATCH] Suppoerted PHP 7 (#14) - Suppoerted PHP 7 - Added a Scrutinizer badge --- .travis.yml | 1 + README.md | 1 + composer.json | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 56cd308..98bb9a0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ php: - 5.4 - 5.5 - 5.6 + - 7.0 - hhvm install: travis_retry composer install --no-interaction --prefer-source diff --git a/README.md b/README.md index 3e2ac1a..9732614 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ [![Total Downloads](https://poser.pugx.org/andegna/calender/d/total.svg)](https://packagist.org/packages/andegna/calender) [![Latest Stable Version](https://poser.pugx.org/andegna/calender/v/stable.svg)](https://packagist.org/packages/andegna/calender) [![Latest Unstable Version](https://poser.pugx.org/andegna/calender/v/unstable.svg)](https://packagist.org/packages/andegna/calender) +[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/andegna/calender/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/andegna/calender/?branch=master) [![License](https://poser.pugx.org/andegna/calender/license.svg)](https://packagist.org/packages/andegna/calender) A set of functions to convert between Ethiopian calender and the Julian Day Number. diff --git a/composer.json b/composer.json index ad5b504..1832bc1 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": " >= 5.3.3" + "php": "^5.3.3 || ^7.0" }, "require-dev": { "phpunit/phpunit": "~4.0" @@ -21,5 +21,10 @@ "Andegna\\": "src/", "Andegna\\PHPUnit\\": "test/" } + }, + "extra": { + "branch-alias": { + "develop": "2.0-dev" + } } }