Skip to content

Commit

Permalink
chore: bumps dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Sep 19, 2024
1 parent e7d1aa8 commit efb38f7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/Adapters/Phpunit/Style.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ private function writeDescriptionLine(TestResult $result): void

$description = $result->description;

/** @var string $description */
$description = preg_replace('/`([^`]+)`/', '<span class="text-white">$1</span>', $description);

if (class_exists(\Pest\Collision\Events::class)) {
Expand Down
4 changes: 2 additions & 2 deletions src/ConsoleColor.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
Expand Down

0 comments on commit efb38f7

Please sign in to comment.