From fd8c7a13436fcac939368de8cf61ee7013c86b8b Mon Sep 17 00:00:00 2001 From: joskfg Date: Wed, 3 Apr 2024 10:56:38 +0200 Subject: [PATCH] Add laravel 11 compatibility (#14) Co-authored-by: Jose Manuel Cardona --- .php-cs-fixer.php | 2 +- composer.json | 2 +- phpunit.xml | 8 +------- 3 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.php-cs-fixer.php b/.php-cs-fixer.php index 8b4f3b5..677fd85 100644 --- a/.php-cs-fixer.php +++ b/.php-cs-fixer.php @@ -8,7 +8,7 @@ '@PSR2' => true, 'array_syntax' => ['syntax' => 'short'], 'concat_space' => ['spacing' => 'one'], - 'new_with_braces' => true, + 'new_with_parentheses' => true, 'no_blank_lines_after_phpdoc' => true, 'no_empty_comment' => true, 'no_empty_phpdoc' => true, diff --git a/composer.json b/composer.json index d3f7ece..d199fd6 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ }, "require": { "php": ">=8.1", - "illuminate/http": "^9.0 || ^10.0", + "illuminate/http": "^9.0 || ^10.0 || ^11.0", "nyholm/psr7": "^1.2", "psr/http-server-middleware": "^1.0", "symfony/psr-http-message-bridge": "^2.0" diff --git a/phpunit.xml b/phpunit.xml index c44a793..6d8af92 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -6,8 +6,7 @@ processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.3/phpunit.xsd" - cacheDirectory=".phpunit.cache" - backupStaticProperties="false"> +> @@ -23,9 +22,4 @@ - - - src - -