src/Reporter/DotReporter.php
public function afterSpec(Spec $spec)
    {
        $this->lineLength += 1;

        if ($spec->isFailed()) {
            $this->failures[] = $spec;
            $failure = $this->formatter->red('F');
            $this->console->write($failure);
        } elseif ($spec->isIncomplete()) {
            $this->incompleteSpecs[] = $spec;
            $incomplete = $this->formatter->cyan('I');
            $this->console->write($incomplete);
        } elseif ($spec->isPending()) {
            $this->pendingSpecs[] = $spec;
            $pending = $this->formatter->yellow('P');
            $this->console->write($pending);
        } else {
            $this->console->write('.');
        }
    }
public function afterSpec(Spec $spec)
    {
        $this->lineLength += 1;

        if ($spec->isFailed()) {
            $this->failures[] = $spec;
            $failure = $this->formatter->red('F');
            $this->console->write($failure);
        } elseif ($spec->isIncomplete()) {
            $this->incompleteSpecs[] = $spec;
            $incomplete = $this->formatter->cyan('I');
            $this->console->write($incomplete);
        } elseif ($spec->isPending()) {
            $this->pendingSpecs[] = $spec;
            $pending = $this->formatter->yellow('P');
            $this->console->write($pending);
        } else {
            $this->console->write('.');
        }
    }
public function afterSpec ( Spec $ spec ) { $ this -> lineLength += 1 ; if ( $ spec -> isFailed ( ) ) { $ this -> failures [ ] = $ spec ; $ failure = $ this -> formatter -> red ( 'F' ) ; $ this -> console -> write ( $ failure ) ; } elseif ( $ spec -> isIncomplete ( ) ) { $ this -> incompleteSpecs [ ] = $ spec ; $ incomplete = $ this -> formatter -> cyan ( 'I' ) ; $ this -> console -> write ( $ incomplete ) ; } elseif ( $ spec -> isPending ( ) ) { $ this -> pendingSpecs [ ] = $ spec ; $ pending = $ this -> formatter -> yellow ( 'P' ) ; $ this -> console -> write ( $ pending ) ; } else { $ this -> console -> write ( '.' ) ; } }
Ran after an individual spec.

@param Spec $spec The spec after which to run this method
Ran after an individual spec .