src/Behat/Behat/Output/Statistics/TotalStatistics.php
public function registerStepStat(StepStat $stat)
    {
        $this->stepCounters[$stat->getResultCode()]++;

        if (TestResult::FAILED === $stat->getResultCode()) {
            $this->failedStepStats[] = $stat;
        }

        if (TestResult::PENDING === $stat->getResultCode()) {
            $this->pendingStepStats[] = $stat;
        }
    }
public function registerStepStat(StepStat $stat)
    {
        $this->stepCounters[$stat->getResultCode()]++;

        if (TestResult::FAILED === $stat->getResultCode()) {
            $this->failedStepStats[] = $stat;
        }

        if (TestResult::PENDING === $stat->getResultCode()) {
            $this->pendingStepStats[] = $stat;
        }
    }
public function registerStepStat ( StepStat $ stat ) { $ this -> stepCounters [ $ stat -> getResultCode ( ) ] ++ ; if ( TestResult :: FAILED === $ stat -> getResultCode ( ) ) { $ this -> failedStepStats [ ] = $ stat ; } if ( TestResult :: PENDING === $ stat -> getResultCode ( ) ) { $ this -> pendingStepStats [ ] = $ stat ; } }
Registers step stat.

@param StepStat $stat
Registers step stat .