From e79b3332b1407c13eb35851069daa66e46d2fb9b Mon Sep 17 00:00:00 2001 From: Karl DeBisschop Date: Tue, 11 Jul 2023 14:33:09 -0400 Subject: [PATCH] Code Coverage and update phpstan --- .github/workflows/php.yml | 2 +- composer.json | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 3756555..02387a9 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-version: ['7.4', '8.0'] + php-version: ['8.1', '8.2'] runs-on: ${{ matrix.operating-system }} diff --git a/composer.json b/composer.json index b31607b..00157cc 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ } }, "require": { - "php": "^7.4 || ^8.0", + "php": "~8.1", "google/apiclient": "^2.8", "wizaplace/php-etl": "^1.3" }, @@ -28,13 +28,13 @@ } }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.17 || ^3.0", - "infection/infection": "^0.20.2", + "friendsofphp/php-cs-fixer": "^3.7", + "infection/infection": "^0.26", "phpspec/prophecy-phpunit": "^2.0", "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12 || ^1.0", - "phpstan/phpstan-deprecation-rules": "^0.12 || ^1.0", - "phpstan/phpstan-strict-rules": "^0.12 || ^1.0", + "phpstan/phpstan": "^1.0", + "phpstan/phpstan-deprecation-rules": "^1.0", + "phpstan/phpstan-strict-rules": "^1.0", "phpunit/phpunit": "^9.6", "squizlabs/php_codesniffer": "^3.5" },