From 2a494b4af524af0088d2f67807488404c439e1a0 Mon Sep 17 00:00:00 2001 From: Ormel <60385109+ormelflores@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:51:51 +0800 Subject: [PATCH 1/3] Laravel 11 compatibility --- .github/workflows/run-test.yml | 14 +++++++++++++- README.md | 2 +- composer.json | 6 +++--- src/Understand/UnderstandLaravel5/Logger.php | 2 +- 4 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index afe0854..66b0401 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -8,9 +8,11 @@ jobs: strategy: matrix: php: [8.2, 8.1, 8.0, 7.4, 7.3, 7.2] - laravel: [10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*] + laravel: [11.*, 10.*, 9.*, 8.*, 7.*, 6.*, 5.8.*, 5.7.*, 5.6.*, 5.5.*] include: + - laravel: 11.* + testbench: 8.* - laravel: 10.* testbench: 8.* - laravel: 9.* @@ -31,6 +33,16 @@ jobs: testbench: 3.5.* exclude: + - php: 7.2 + laravel: 11.* + - php: 7.3 + laravel: 11.* + - php: 7.4 + laravel: 11.* + - php: 8.0 + laravel: 11.* + - php: 8.1 + laravel: 11.* - php: 7.2 laravel: 10.* - php: 7.3 diff --git a/README.md b/README.md index 9ca2462..16f8a45 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -## Laravel 5, 6, 7, 8, 9 and 10 integration for Understand.io +## Laravel 5, 6, 7, 8, 9, 10 and 11 integration for Understand.io [![Latest Version on Packagist](https://img.shields.io/packagist/v/understand/understand-laravel5.svg?style=flat-square)](https://packagist.org/packages/understand/understand-laravel5) [![Quality Score](https://img.shields.io/scrutinizer/g/understand/understand-laravel5.svg?style=flat-square)](https://scrutinizer-ci.com/g/understand/understand-laravel5) diff --git a/composer.json b/composer.json index 91a6bef..61b8875 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "understand/understand-laravel", - "description": "Laravel 5, 6, 7, 8, 9 and 10 service provider for Understand.io", + "description": "Laravel 5, 6, 7, 8, 9, 10 and 11 service provider for Understand.io", "keywords": ["laravel", "understand.io", "understand", "logs"], "license": "MIT", "authors": [ @@ -12,7 +12,7 @@ "require": { "php": "^5.5 || ^7.0 || ^8.0 || ^8.1 || ^8.2", "ext-curl": "*", - "illuminate/support": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0" + "illuminate/support": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { "phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0", @@ -32,7 +32,7 @@ }, "extra": { "component": "package", - "frameworks": ["Laravel 5", "Laravel 6", "Laravel 7", "Laravel 8", "Laravel 9", "Laravel 10"], + "frameworks": ["Laravel 5", "Laravel 6", "Laravel 7", "Laravel 8", "Laravel 9", "Laravel 10", "Laravel 11"], "branch-alias": { "dev-master": "2.0-dev" }, diff --git a/src/Understand/UnderstandLaravel5/Logger.php b/src/Understand/UnderstandLaravel5/Logger.php index a3492c1..dc3d514 100644 --- a/src/Understand/UnderstandLaravel5/Logger.php +++ b/src/Understand/UnderstandLaravel5/Logger.php @@ -9,7 +9,7 @@ class Logger /** * Version Number */ - const VERSION = 2.7; + const VERSION = 2.8; /** * Field provider From f2c8f50146c35b374f45cd11dc0bbbf0cfd45688 Mon Sep 17 00:00:00 2001 From: Ormel <60385109+ormelflores@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:57:50 +0800 Subject: [PATCH 2/3] Update some dependcies --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 61b8875..7354164 100644 --- a/composer.json +++ b/composer.json @@ -15,8 +15,8 @@ "illuminate/support": "^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0 || ^10.0 || ^11.0" }, "require-dev": { - "phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0", - "orchestra/testbench": "3.* || 4.* || 5.* || 6.*", + "phpunit/phpunit": "^6.0 || ^7.0 || ^8.0 || ^9.0 || ^11.0", + "orchestra/testbench": "3.* || 4.* || 5.* || 6.* || 9.*", "mockery/mockery": "^1.2", "ext-json": "*" }, From 7fbc838bec20c906415b5e91121e666c29a663bc Mon Sep 17 00:00:00 2001 From: Ormel <60385109+ormelflores@users.noreply.github.com> Date: Sun, 8 Dec 2024 19:08:22 +0800 Subject: [PATCH 3/3] Fix build --- .github/workflows/run-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-test.yml b/.github/workflows/run-test.yml index 66b0401..654ac7d 100644 --- a/.github/workflows/run-test.yml +++ b/.github/workflows/run-test.yml @@ -12,7 +12,7 @@ jobs: include: - laravel: 11.* - testbench: 8.* + testbench: 9.* - laravel: 10.* testbench: 8.* - laravel: 9.*