From 321cfa05e0cc24706ffd0a3621002efa313811b5 Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Fri, 19 Jan 2024 22:35:13 +0000 Subject: [PATCH] Drop support for php 8.1 Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- .github/workflows/pint.yml | 9 ++++++++- .github/workflows/run-tests.yml | 7 +++---- .github/workflows/static-analysis.yml | 4 ++-- pint.json | 2 +- 4 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pint.yml b/.github/workflows/pint.yml index 5d7108b..3f535ed 100644 --- a/.github/workflows/pint.yml +++ b/.github/workflows/pint.yml @@ -1,6 +1,6 @@ name: PHP Linting (Pint) -on: [push, pull_request] +on: [ push, pull_request, workflow_dispatch ] jobs: phplint: @@ -9,6 +9,13 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Setup PHP + uses: shivammathur/setup-php@v2 + with: + php-version: 8.3 + tools: composer:v2 + coverage: none + - name: Composer Install run: composer install --no-interaction diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 5de4d51..7eb2704 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -1,15 +1,14 @@ name: Pest Tests -on: [push, pull_request] +on: [ push, pull_request, workflow_dispatch ] jobs: test: runs-on: ${{ matrix.os }} strategy: - fail-fast: true matrix: - os: [ubuntu-latest] - php: [8.1, 8.2] + os: [ ubuntu-latest ] + php: [ 8.2, 8.3 ] name: PHP ${{ matrix.php }} - ${{ matrix.os }} diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml index 73bbb48..53e32fd 100644 --- a/.github/workflows/static-analysis.yml +++ b/.github/workflows/static-analysis.yml @@ -1,6 +1,6 @@ name: "Static Analysis" -on: [push, pull_request] +on: [ push, pull_request, workflow_dispatch ] jobs: types: @@ -8,7 +8,7 @@ jobs: strategy: fail-fast: true matrix: - php: ["8.1", "8.2"] + php: [ 8.2, 8.3 ] name: PHP ${{ matrix.php }} - Static Analysis steps: - name: Checkout code diff --git a/pint.json b/pint.json index c4df8a3..a0c7788 100644 --- a/pint.json +++ b/pint.json @@ -12,7 +12,7 @@ "braces": false, "self_accessor": false, "phpdoc_separation": false, - "Laravel/laravel_phpdoc_alignment": false, + "phpdoc_align": false, "no_trailing_comma_in_singleline": false, "phpdoc_trim_consecutive_blank_line_separation": true, "blank_line_before_statement": {