diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index f7e15a3..d0f9c9d 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -4,7 +4,7 @@ jobs: build: strategy: matrix: - php-versions: ['7.2','7.4'] + php-versions: ['7.2', '7.3', '7.4', '8.0', '8.1'] runs-on: ubuntu-latest name: PHPUnit steps: diff --git a/.gitignore b/.gitignore index fd7d9df..5a5c38a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ composer.lock -vendor/ \ No newline at end of file +vendor/ +tests/.phpunit.result.cache \ No newline at end of file diff --git a/composer.json b/composer.json index 9d09d48..0d58a9c 100644 --- a/composer.json +++ b/composer.json @@ -12,13 +12,13 @@ } ], "require": { - "php": "^7.1", - "phpstan/phpstan": "^0.12.48" + "php": "^7.2|^8.0", + "phpstan/phpstan": "^1.2.0" }, "require-dev": { - "phpstan/phpstan-phpunit": "^0.12.16", - "phpstan/phpstan-strict-rules": "^0.12.5", - "phpunit/phpunit": "^7.5.20", + "phpstan/phpstan-phpunit": "^1.0.0", + "phpstan/phpstan-strict-rules": "^1.1.0", + "phpunit/phpunit": "^8.5", "symfony/console": "^5.2", "nikic/php-parser": "^4.10" },