From 6fff0ae66340cb0b85a4947deb8ff1df81317acd Mon Sep 17 00:00:00 2001 From: PatrickePatate Date: Tue, 13 Jan 2026 14:00:42 +0100 Subject: [PATCH 1/3] PHP8.5 Support --- .github/workflows/main.yml | 4 ++++ composer.json | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 3d17753..71b03b6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,6 +19,10 @@ jobs: env: LARAVEL: 12.* TESTBENCH: 10.* + - php: 8.5 + env: + LARAVEL: 12.* + TESTBENCH: 10.* env: ${{ matrix.env }} steps: - uses: actions/checkout@v2 diff --git a/composer.json b/composer.json index 161ea12..a8ef165 100755 --- a/composer.json +++ b/composer.json @@ -8,18 +8,18 @@ "license": "MIT", "type": "project", "require": { - "php": "8.4.*", + "php": "^8.4", "laravel/framework": "^11.0|^12.0" }, "require-dev": { "fakerphp/faker": "^1.19.0", "mockery/mockery": "^1.5.0", - "pestphp/pest": "^3.0", - "pestphp/pest-plugin-laravel": "^3.0", - "phpunit/phpunit": "^11.0", + "pestphp/pest": "^3.0|^4.0", + "pestphp/pest-plugin-laravel": "^3.0|^4.0", + "phpunit/phpunit": "^11.0|^12.0", "doctrine/dbal": "^3.5", "orchestra/testbench": "9.*|10.*", - "pestphp/pest-plugin-drift": "^3.0" + "pestphp/pest-plugin-drift": "^3.0|^4.0" }, "autoload": { "psr-4": { From 24d7ddd4e37d7c4991989a68d0762c032f0fbfb0 Mon Sep 17 00:00:00 2001 From: PatrickePatate Date: Tue, 13 Jan 2026 14:05:43 +0100 Subject: [PATCH 2/3] Run CI on pull requests --- .github/workflows/main.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 71b03b6..fb62776 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,6 +3,9 @@ on: push: branches: - main + pull_request: + branches: + - main jobs: # Unit tests back (phpunit) From 2f96b45158866719a9e602256199d0600db194f8 Mon Sep 17 00:00:00 2001 From: PatrickePatate Date: Tue, 13 Jan 2026 14:07:20 +0100 Subject: [PATCH 3/3] Run Security Audit in CI --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index fb62776..3f6eb21 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,5 +47,7 @@ jobs: run: | composer require "laravel/framework:${LARAVEL}" "orchestra/testbench:${TESTBENCH}" --no-interaction --no-update --prefer-dist composer update --prefer-stable --prefer-dist --no-interaction + - name: Run Security Audit + run: composer audit - name: Execute tests (Unit and Feature tests) via Pest run: ./vendor/bin/pest