File tree 1 file changed +2
-3
lines changed
1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ class _ResultPrinter extends \PHPUnit\TextUI\ResultPrinter
25
25
{
26
26
public function startTest (\PHPUnit \Framework \Test $ test ): void
27
27
{
28
-
29
28
$ this ->className = get_class ($ test );
30
29
parent ::startTest ($ test );
31
30
}
@@ -136,7 +135,7 @@ public function __construct(
136
135
$ this ->configuration = new Config ($ this ->configFileName );
137
136
138
137
$ this ->maxNumberOfColumns = $ this ->getWidth ();
139
- $ this ->maxClassNameLength = min ((int )($ this ->maxNumberOfColumns / 2 ), $ this ->maxClassNameLength );
138
+ $ this ->maxClassNameLength = min ((int ) ($ this ->maxNumberOfColumns / 2 ), $ this ->maxClassNameLength );
140
139
141
140
// setup module options
142
141
$ this ->printerOptions = $ this ->configuration ->all ();
@@ -364,7 +363,7 @@ private function getWidth()
364
363
365
364
// 'stty size' output example: 36 120
366
365
if (\count ($ out ) > 0 ) {
367
- $ width = (int )explode (' ' , array_pop ($ out ))[1 ];
366
+ $ width = (int ) explode (' ' , array_pop ($ out ))[1 ];
368
367
}
369
368
370
369
// handle CircleCI case (probably the same with TravisCI as well)
You can’t perform that action at this time.
0 commit comments