diff --git a/.travis.yml b/.travis.yml index be08476..86e793c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,8 @@ dist: trusty language: php php: + - 7.0 + - 7.1 - 7.2 - 7.3 - 7.4 diff --git a/composer.json b/composer.json index 04913c6..83cd9a8 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "type": "library", "description": "Czech inflection library", "keywords": ["czech", "inflection", "declension", "language", "linguistics"], - "license": ["GPL-2.1"], + "license": ["LGPL-2.1-or-later"], "authors": [ { "name": "Pavel Sedlák", @@ -20,8 +20,10 @@ ], "minimum-stability": "stable", "require": { - "php": ">=7.2.0", - "phpunit/phpunit": "~8.0" + "php": ">=7.0.0" + }, + "require-dev": { + "phpunit/phpunit": "~6" }, "autoload": { "files": ["src/Inflection.php"] diff --git a/tests/InflectionTest.php b/tests/InflectionTest.php index 831fe57..9f19447 100644 --- a/tests/InflectionTest.php +++ b/tests/InflectionTest.php @@ -19,7 +19,7 @@ class InflectionTest extends \PHPUnit\Framework\TestCase */ private $inflection = null; - protected function setUp(): void + protected function setUp() { parent::setUp(); $this->inflection = new Inflection();