From d0424126f5c9c202df598c245f4bb9336dcf8282 Mon Sep 17 00:00:00 2001 From: Kazuki Yamada Date: Wed, 13 Nov 2024 23:15:00 +0900 Subject: [PATCH] feat(phpstan): Drop support php <= 7.3 --- .github/workflows/tests.yml | 8 ++++---- composer.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0d818af..e17d156 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-version: ['7.4', '8.0', '8.1', '8.2', '8.3'] steps: - uses: actions/checkout@v4 - name: Setup PHP @@ -31,7 +31,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Install dependencies run: composer update --no-interaction --no-progress --ansi - name: Run coding standards check @@ -45,7 +45,7 @@ jobs: - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '8.2' + php-version: '8.3' - name: Install dependencies run: composer update --no-interaction --no-progress --ansi - name: Run static analysis @@ -67,7 +67,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-version: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] + php-version: ['7.4', '8.0', '8.1', '8.2', '8.3'] dependency-version: [prefer-lowest, prefer-stable] steps: - uses: actions/checkout@v4 diff --git a/composer.json b/composer.json index 1801093..1f3df9f 100644 --- a/composer.json +++ b/composer.json @@ -11,7 +11,7 @@ } ], "require": { - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "php-parallel-lint/php-console-highlighter": "^0.3 || ^0.4 || ^0.5 || ^1.0", "phpstan/phpstan": "^0.12 || ^1.0 || ^2.0" },