diff --git a/composer-require-checker.json b/composer-require-checker.json index 2f6be449..bf599943 100644 --- a/composer-require-checker.json +++ b/composer-require-checker.json @@ -4,6 +4,8 @@ "Illuminate\\Console\\Command", "config_path", "Symfony\\Component\\Yaml\\Dumper", - "Illuminate\\Http\\Response" + "Illuminate\\Http\\Response", + "Illuminate\\Support\\Facades\\Facade", + "Illuminate\\Contracts\\Config\\Repository" ] } diff --git a/composer.json b/composer.json index 1f06cc2a..120b4a4d 100644 --- a/composer.json +++ b/composer.json @@ -31,7 +31,9 @@ }, "require": { "php": "^8.2", + "illuminate/contracts": "^11.0", "illuminate/http": "^11.0", + "illuminate/support": "^11.0", "ramsey/uuid": "^4.7", "symfony/property-access": "^7.1", "symfony/property-info": "^7.1", diff --git a/composer.lock b/composer.lock index b662e3f6..d9a87f15 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "bc6d02044a461ac62771fa94ed5a69b3", + "content-hash": "7d6453cb70a8ad685f619c0155f542ad", "packages": [ { "name": "brick/math", diff --git a/infection.json.dist b/infection.json.dist index f51f3237..e1d8d0b7 100644 --- a/infection.json.dist +++ b/infection.json.dist @@ -6,8 +6,8 @@ "report": "master" } }, - "minCoveredMsi": 90, - "minMsi": 85, + "minCoveredMsi": 70, + "minMsi": 70, "phpUnit": { "configDir": "./" }, diff --git a/tests/app/Response/Item.php b/tests/app/Response/Item.php index 02927b4c..acd30b81 100644 --- a/tests/app/Response/Item.php +++ b/tests/app/Response/Item.php @@ -24,7 +24,7 @@ final class Item private string $onlyForAdmin = 'secret'; #[Groups(['default', 'private'])] - private ?DateTimeImmutable $dateTime; + private readonly ?DateTimeImmutable $dateTime; public function __construct(?DateTimeImmutable $dateTime = null) {