Skip to content

Commit

Permalink
Merge pull request #21 from heureka/php_70
Browse files Browse the repository at this point in the history
Ready for PHP 7.0-7.4
  • Loading branch information
spmartin authored Feb 18, 2020
2 parents bfe9afc + 6955102 commit 6bf7257
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ dist: trusty
language: php

php:
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
Expand Down
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion tests/InflectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6bf7257

Please sign in to comment.