From bcd3a59847a2a2713206ed194c24922ba1a99bee Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 30 Apr 2025 11:25:00 +0100 Subject: [PATCH 1/2] fix: implicit nullable --- src/System/System.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/System/System.php b/src/System/System.php index fb5e5cc..ca8b1da 100644 --- a/src/System/System.php +++ b/src/System/System.php @@ -534,7 +534,7 @@ public static function getNetworkUsage(int $duration = 1): array * * @return string|null */ - public static function getEnv(string $name, string $default = null): ?string + public static function getEnv(string $name, ?string $default = null): ?string { return getenv($name) ?: $default; } From fe185503b3e13a181b84d1c8ae9d95ecd21cb0d5 Mon Sep 17 00:00:00 2001 From: loks0n <22452787+loks0n@users.noreply.github.com> Date: Wed, 30 Apr 2025 11:29:16 +0100 Subject: [PATCH 2/2] chore: bump composer --- composer.json | 2 +- composer.lock | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 194c5d1..0a00f92 100644 --- a/composer.json +++ b/composer.json @@ -31,6 +31,6 @@ "require-dev": { "phpunit/phpunit": "9.6.*", "laravel/pint": "1.13.*", - "phpstan/phpstan": "1.10.*" + "phpstan/phpstan": "1.12.*" } } diff --git a/composer.lock b/composer.lock index 214bae0..31ad1df 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": "5c33c217017df015ec976058ed455a1c", + "content-hash": "d2eaf104f4b7c5e2b0d6bdbbbe0f8070", "packages": [], "packages-dev": [ { @@ -381,16 +381,16 @@ }, { "name": "phpstan/phpstan", - "version": "1.10.67", + "version": "1.12.25", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493" + "reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/16ddbe776f10da6a95ebd25de7c1dbed397dc493", - "reference": "16ddbe776f10da6a95ebd25de7c1dbed397dc493", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/e310849a19e02b8bfcbb63147f495d8f872dd96f", + "reference": "e310849a19e02b8bfcbb63147f495d8f872dd96f", "shasum": "" }, "require": { @@ -435,7 +435,7 @@ "type": "github" } ], - "time": "2024-04-16T07:22:02+00:00" + "time": "2025-04-27T12:20:45+00:00" }, { "name": "phpunit/php-code-coverage",