Skip to content

Commit 44ccb82

Browse files
committed
fix: ignores brianium/paratest related files when printing
1 parent 4cf9f3b commit 44ccb82

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

composer.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,25 @@
1515
],
1616
"require": {
1717
"php": "^8.2.0",
18-
"filp/whoops": "^2.18.0",
19-
"nunomaduro/termwind": "^2.3.0",
20-
"symfony/console": "^7.2.5"
18+
"filp/whoops": "^2.18.1",
19+
"nunomaduro/termwind": "^2.3.1",
20+
"symfony/console": "^7.3.0"
2121
},
2222
"conflict": {
2323
"laravel/framework": "<11.44.2 || >=13.0.0",
2424
"phpunit/phpunit": "<11.5.15 || >=13.0.0"
2525
},
2626
"require-dev": {
2727
"brianium/paratest": "^7.8.3",
28-
"laravel/framework": "^11.44.2 || ^12.6",
29-
"laravel/pint": "^1.21.2",
28+
"laravel/framework": "^11.44.2 || ^12.18",
29+
"laravel/pint": "^1.22.1",
3030
"laravel/tinker": "^2.10.1",
31-
"laravel/sail": "^1.41.0",
32-
"laravel/sanctum": "^4.0.8",
33-
"larastan/larastan": "^3.2",
34-
"orchestra/testbench-core": "^9.12.0 || ^10.1",
35-
"pestphp/pest": "^3.8.0",
36-
"sebastian/environment": "^7.2.0 || ^8.0"
31+
"laravel/sail": "^1.43.1",
32+
"laravel/sanctum": "^4.1.1",
33+
"larastan/larastan": "^3.4.2",
34+
"orchestra/testbench-core": "^9.12.0 || ^10.4",
35+
"pestphp/pest": "^3.8.2",
36+
"sebastian/environment": "^7.2.1 || ^8.0"
3737
},
3838
"autoload-dev": {
3939
"psr-4": {

src/Adapters/Phpunit/Style.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,7 @@ public function writeError(Throwable $throwable): void
348348
'/vendor\/nunomaduro\/collision/',
349349
'/vendor\/bin\/pest/',
350350
'/bin\/pest/',
351+
'/vendor\/brianium\/paratest/',
351352
'/vendor\/pestphp\/pest/',
352353
'/vendor\/pestphp\/pest-plugin-arch/',
353354
'/vendor\/phpspec\/prophecy-phpunit/',

src/ConsoleColor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ private function styleSequence(string $style): ?string
218218

219219
preg_match(self::COLOR256_REGEXP, $style, $matches);
220220

221-
$type = $matches[1] === 'bg_' ? self::BACKGROUND : self::FOREGROUND; // @phpstan-ignore-line
222-
$value = $matches[2]; // @phpstan-ignore-line
221+
$type = $matches[1] === 'bg_' ? self::BACKGROUND : self::FOREGROUND;
222+
$value = $matches[2];
223223

224224
return "$type;5;$value";
225225
}

0 commit comments

Comments
 (0)