peridot-php/peridot — pull request #60 by brianium (2014-10-19 17:36:27+00:00)
Title: use methods in SpecReporter

A very simple refactoring. This replace anonymous functions in the SpecReporter with instance methods. This will allow reporters to more easily override behavior (via removing listeners or just overriding methods).

This is probably a "Peridot best practice", and one we should leverage as much as possible when creating new reporters.