class RSpec::Core::Configuration::DeprecationReporterBuffer

during formatter initialization can cause an infinite loop.
formatter is correctly initialized. Otherwise, deprecation warnings
reporter initialization. It can then replay those messages after the
This buffer is used to capture all messages sent to the reporter during
@private

def deprecation(*args)

def deprecation(*args)
  @calls << args
end

def initialize

def initialize
  @calls = []
end

def play_onto(reporter)

def play_onto(reporter)
  @calls.each do |args|
    reporter.deprecation(*args)
  end
end