diff --git a/composer.json b/composer.json index 082b94d..b4dc024 100644 --- a/composer.json +++ b/composer.json @@ -16,23 +16,23 @@ "require": { "php": "^8.2.0", "filp/whoops": "^2.15.4", - "nunomaduro/termwind": "^2.0.1", - "symfony/console": "^7.1.3" + "nunomaduro/termwind": "^2.1.0", + "symfony/console": "^7.1.4" }, "conflict": { "laravel/framework": "<11.0.0 || >=12.0.0", "phpunit/phpunit": "<10.5.1 || >=12.0.0" }, "require-dev": { - "laravel/framework": "^11.19.0", - "laravel/pint": "^1.17.1", + "laravel/framework": "^11.23.5", + "laravel/pint": "^1.17.3", "laravel/tinker": "^2.9.0", - "laravel/sail": "^1.31.0", + "laravel/sail": "^1.32.0", "laravel/sanctum": "^4.0.2", "larastan/larastan": "^2.9.8", - "orchestra/testbench-core": "^9.2.3", - "pestphp/pest": "^2.35.0 || ^3.0.0", - "sebastian/environment": "^6.1.0 || ^7.0.0" + "orchestra/testbench-core": "^9.4.1", + "pestphp/pest": "^2.35.0 || ^3.0.8", + "sebastian/environment": "^6.1.0 || ^7.2.0" }, "autoload-dev": { "psr-4": { diff --git a/src/Adapters/Phpunit/Style.php b/src/Adapters/Phpunit/Style.php index 55158fc..cbbeceb 100644 --- a/src/Adapters/Phpunit/Style.php +++ b/src/Adapters/Phpunit/Style.php @@ -455,6 +455,7 @@ private function writeDescriptionLine(TestResult $result): void $description = $result->description; + /** @var string $description */ $description = preg_replace('/`([^`]+)`/', '$1', $description); if (class_exists(\Pest\Collision\Events::class)) { diff --git a/src/ConsoleColor.php b/src/ConsoleColor.php index 7102dee..93db5f1 100644 --- a/src/ConsoleColor.php +++ b/src/ConsoleColor.php @@ -218,8 +218,8 @@ private function styleSequence(string $style): ?string preg_match(self::COLOR256_REGEXP, $style, $matches); - $type = $matches[1] === 'bg_' ? self::BACKGROUND : self::FOREGROUND; - $value = $matches[2]; + $type = $matches[1] === 'bg_' ? self::BACKGROUND : self::FOREGROUND; // @phpstan-ignore-line + $value = $matches[2]; // @phpstan-ignore-line return "$type;5;$value"; }