File tree 1 file changed +3
-5
lines changed
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ public function __construct(
71
71
72
72
$ this ->configFileName = $ this ->getConfigurationFile ('phpunit-printer.yml ' );
73
73
$ this ->colorsTool = new Color ();
74
+
74
75
try {
75
76
$ this ->configuration = new Config ($ this ->configFileName );
76
77
} catch (EmptyDirectoryException $ e ) {
@@ -79,7 +80,7 @@ public function __construct(
79
80
}
80
81
81
82
$ this ->maxNumberOfColumns = $ this ->getWidth ();
82
- $ this ->maxClassNameLength = min ((int )($ this ->maxNumberOfColumns / 2 ), $ this ->maxClassNameLength );
83
+ $ this ->maxClassNameLength = min ((int ) ($ this ->maxNumberOfColumns / 2 ), $ this ->maxClassNameLength );
83
84
84
85
// setup module options
85
86
$ this ->printerOptions = $ this ->configuration ->all ();
@@ -153,9 +154,6 @@ public function packageName()
153
154
return 'n/a ' ;
154
155
}
155
156
156
- /**
157
- *
158
- */
159
157
protected function init ()
160
158
{
161
159
if (!self ::$ init ) {
@@ -253,7 +251,7 @@ private function getWidth()
253
251
254
252
// 'stty size' output example: 36 120
255
253
if (\count ($ out ) > 0 ) {
256
- $ width = (int )explode (' ' , array_pop ($ out ))[1 ];
254
+ $ width = (int ) explode (' ' , array_pop ($ out ))[1 ];
257
255
}
258
256
259
257
// handle CircleCI case (probably the same with TravisCI as well)
You can’t perform that action at this time.
0 commit comments