From 7c6d63c31104463988bf8969b83df99c3b2945c1 Mon Sep 17 00:00:00 2001 From: tombrain Date: Fri, 19 Dec 2025 23:13:47 +0100 Subject: [PATCH 1/3] Update PHP version requirements and workflows to support PHP 8.5 --- .github/workflows/code_style.yml | 2 +- .github/workflows/phpunit.yml | 2 +- .github/workflows/static_analysis.yml | 2 +- composer.json | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index f405d2a..97d9956 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -11,7 +11,7 @@ jobs: continue-on-error: true strategy: matrix: - php: [ '8.3' ] + php: [ '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 14667d8..ef7ce46 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '8.3', '8.4' ] + php: [ '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index 56a2c18..dbe6b69 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '8.3', '8.4' ] + php: [ '8.3', '8.4', '8.5' ] name: PHP ${{ matrix.php }} steps: - uses: actions/checkout@v4 diff --git a/composer.json b/composer.json index e31ba7c..80f695c 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": ">=8.3 <8.5", + "php": ">=8.3 <8.6", "psr/http-message": "^2.0", "php-http/client-implementation": "^1.0", "php-http/httplug": "^2.4", From 577022f946dfffd1156246fef219b19a180b971b Mon Sep 17 00:00:00 2001 From: tombrain Date: Fri, 19 Dec 2025 23:29:35 +0100 Subject: [PATCH 2/3] Add workflow_dispatch trigger to GitHub Actions workflows --- .github/workflows/code_style.yml | 2 +- .github/workflows/composer.yml | 2 +- .github/workflows/coverage.yml | 3 ++- .github/workflows/phpunit.yml | 2 +- .github/workflows/static_analysis.yml | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index 97d9956..d8b8617 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -2,8 +2,8 @@ name: Code checks on: push: - branches: [ main ] pull_request: null + workflow_dispatch: jobs: ecs: diff --git a/.github/workflows/composer.yml b/.github/workflows/composer.yml index 04af1dc..41471ae 100644 --- a/.github/workflows/composer.yml +++ b/.github/workflows/composer.yml @@ -2,8 +2,8 @@ name: PHP Composer on: push: - branches: [ main ] pull_request: null + workflow_dispatch: jobs: build: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 0490640..29dd910 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -4,7 +4,8 @@ on: pull_request: push: - branches: ["*"] + + workflow_dispatch: schedule: - cron: "0 8 * * 1" diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index ef7ce46..62c9d7c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -2,8 +2,8 @@ name: PHPUnit on: push: - branches: [ main ] pull_request: null + workflow_dispatch: jobs: tester: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index dbe6b69..f05d099 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -2,8 +2,8 @@ name: Static analysis on: push: - branches: [ main ] pull_request: null + workflow_dispatch: jobs: sa: From ffd0e34ed05a7fd9e9f1ca268fd7f8f12b56ef82 Mon Sep 17 00:00:00 2001 From: tombrain Date: Fri, 19 Dec 2025 23:32:27 +0100 Subject: [PATCH 3/3] Revert "Add workflow_dispatch trigger to GitHub Actions workflows" This reverts commit 577022f946dfffd1156246fef219b19a180b971b. --- .github/workflows/code_style.yml | 2 +- .github/workflows/composer.yml | 2 +- .github/workflows/coverage.yml | 3 +-- .github/workflows/phpunit.yml | 2 +- .github/workflows/static_analysis.yml | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/code_style.yml b/.github/workflows/code_style.yml index d8b8617..97d9956 100644 --- a/.github/workflows/code_style.yml +++ b/.github/workflows/code_style.yml @@ -2,8 +2,8 @@ name: Code checks on: push: + branches: [ main ] pull_request: null - workflow_dispatch: jobs: ecs: diff --git a/.github/workflows/composer.yml b/.github/workflows/composer.yml index 41471ae..04af1dc 100644 --- a/.github/workflows/composer.yml +++ b/.github/workflows/composer.yml @@ -2,8 +2,8 @@ name: PHP Composer on: push: + branches: [ main ] pull_request: null - workflow_dispatch: jobs: build: diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 29dd910..0490640 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -4,8 +4,7 @@ on: pull_request: push: - - workflow_dispatch: + branches: ["*"] schedule: - cron: "0 8 * * 1" diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 62c9d7c..ef7ce46 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -2,8 +2,8 @@ name: PHPUnit on: push: + branches: [ main ] pull_request: null - workflow_dispatch: jobs: tester: diff --git a/.github/workflows/static_analysis.yml b/.github/workflows/static_analysis.yml index f05d099..dbe6b69 100644 --- a/.github/workflows/static_analysis.yml +++ b/.github/workflows/static_analysis.yml @@ -2,8 +2,8 @@ name: Static analysis on: push: + branches: [ main ] pull_request: null - workflow_dispatch: jobs: sa: