Permalink
Browse files

Remove deprecated methods.

  • Loading branch information...
1 parent 59d1183 commit 3830a9a74d8ff46d8f48ca347dda5ffd1b3bb289 @mageekguy committed Aug 20, 2012
Showing with 0 additions and 13 deletions.
  1. +0 −6 classes/mock/controller.php
  2. +0 −7 classes/test.php
@@ -190,12 +190,6 @@ public static function get()
return $instance;
}
- public function injectInNextMockInstance()
- {
- #DEPRECATED
- die(__METHOD__ . ' is deprecated, please use ' . __CLASS__ . '::controlNextNewMock() instead');
- }
-
protected function checkMethod($method)
{
if ($this->mockClass !== null && $this->disableMethodChecking === false)
View
@@ -850,13 +850,6 @@ public function errorHandler($errno, $errstr, $errfile, $errline, $context)
return true;
}
- public function mock($class, $mockNamespace = null, $mockClass = null)
- {
- die(__METHOD__ . ' is deprecated, please use ' . __CLASS__ . '::mockClass() instead');
-
- return $this;
- }
-
public function startCase($case)
{
test\adapter::resetCallsForAllInstances();

0 comments on commit 3830a9a

Please sign in to comment.