File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/JohnKary/PHPUnit/Listener Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ protected function getReportLength()
236
236
protected function getHiddenCount ()
237
237
{
238
238
$ total = count ($ this ->slow );
239
- $ showing = $ this ->getReportLength ($ this -> slow );
239
+ $ showing = $ this ->getReportLength ();
240
240
241
241
$ hidden = 0 ;
242
242
if ($ total > $ showing ) {
@@ -261,7 +261,7 @@ protected function renderBody()
261
261
{
262
262
$ slowTests = $ this ->slow ;
263
263
264
- $ length = $ this ->getReportLength ($ slowTests );
264
+ $ length = $ this ->getReportLength ();
265
265
for ($ i = 1 ; $ i <= $ length ; ++$ i ) {
266
266
$ label = key ($ slowTests );
267
267
$ time = array_shift ($ slowTests );
@@ -275,7 +275,7 @@ protected function renderBody()
275
275
*/
276
276
protected function renderFooter ()
277
277
{
278
- if ($ hidden = $ this ->getHiddenCount ($ this -> slow )) {
278
+ if ($ hidden = $ this ->getHiddenCount ()) {
279
279
echo sprintf ("...and there %s %s more above your threshold hidden from view " , $ hidden == 1 ? 'is ' : 'are ' , $ hidden );
280
280
}
281
281
}
You can’t perform that action at this time.
0 commit comments