Skip to content

Commit

Permalink
Merge pull request #13 from photogabble/maintenance/update-php-unit
Browse files Browse the repository at this point in the history
Upgrade PHPUnit to v9, dropped support for PHP < 7.3
  • Loading branch information
carbontwelve authored Feb 17, 2022
2 parents 1b0ed9d + c2a8258 commit f6d4a97
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [ '7.0', '7.1', '7.2', '7.3', '7.4' ]
php-versions: [ '7.3', '7.4', '8.0', '8.1' ]

name: PHP ${{ matrix.php-versions }} Test

Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@
"fetch": "bin/update"
},
"require": {
"php": ">=7.0",
"php": ">=7.3",
"ext-json": "*",
"symfony/polyfill-mbstring": "^1.2"
},
"require-dev": {
"phpunit/phpunit": "6.*|7.*"
"phpunit/phpunit": "9.*"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion tests/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Base extends TestCase
protected $isGood = 'Allo';
protected $looksGood;

protected function setUp()
protected function setUp(): void
{
parent::setUp();
$this->looksGood = str_replace($this->latinA, $this->greekA, $this->isGood);
Expand Down

0 comments on commit f6d4a97

Please sign in to comment.