From 4f8e3d96bfc7a0a5bd24afce424c7c180e8c4bee Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Sun, 7 Apr 2024 22:20:42 +0800 Subject: [PATCH] Added Laravel 11 Support (#43) * Added Laravel 11 Support * Clean up --- .gitignore | 2 ++ composer.json | 24 ++++++++++++------------ phpunit.xml.dist | 39 ++++++++++++--------------------------- 3 files changed, 26 insertions(+), 39 deletions(-) diff --git a/.gitignore b/.gitignore index 49cbdd14..08548b28 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ phpunit.xml storage vendor .php_cs +.phpunit.result.cache +.phpunit.result.cache/ diff --git a/composer.json b/composer.json index 746455d3..5ffe9eb8 100644 --- a/composer.json +++ b/composer.json @@ -15,23 +15,23 @@ "require": { "php": "^8.0", "dingo/blueprint": "^0.4.5", - "illuminate/routing": "^9.0|^10.0", - "illuminate/support": "^9.0|^10.0", + "illuminate/routing": "^9.0|^10.0|^11.0", + "illuminate/support": "^9.0|^10.0|^11.0", "league/fractal": "^0.20" }, "require-dev": { "friendsofphp/php-cs-fixer": "~3", - "illuminate/auth": "^9.0|^10.0", - "illuminate/cache": "^9.0|^10.0", - "illuminate/console": "^9.0|^10.0", - "illuminate/database": "^9.0|^10.0", - "illuminate/events": "^9.0|^10.0", - "illuminate/filesystem": "^9.0|^10.0", - "illuminate/log": "^9.0|^10.0", - "illuminate/pagination": "^9.0|^10.0", - "laravel/lumen-framework": "^9.0|^10.0", + "illuminate/auth": "^9.0|^10.0|^11.0", + "illuminate/cache": "^9.0|^10.0|^11.0", + "illuminate/console": "^9.0|^10.0|^11.0", + "illuminate/database": "^9.0|^10.0|^11.0", + "illuminate/events": "^9.0|^10.0|^11.0", + "illuminate/filesystem": "^9.0|^10.0|^11.0", + "illuminate/log": "^9.0|^10.0|^11.0", + "illuminate/pagination": "^9.0|^10.0|^11.0", + "laravel/lumen-framework": "^9.0|^10.0|^11.0", "mockery/mockery": "~1.0", - "phpunit/phpunit": "^9.0", + "phpunit/phpunit": "^9.0|^10.0", "squizlabs/php_codesniffer": "~2.0", "php-open-source-saver/jwt-auth": "^1.4" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 56c92bc4..0953e368 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -1,29 +1,14 @@ - - - - ./tests - ./tests/Routing/Adapter/LumenTest.php - - - - - ./src - - + + + + ./tests + ./tests/Routing/Adapter/LumenTest.php + + + + + ./src + +