diff --git a/src/Context/SystemContext.php b/src/Context/SystemContext.php index dd3ccd5a..a71216ed 100644 --- a/src/Context/SystemContext.php +++ b/src/Context/SystemContext.php @@ -131,6 +131,16 @@ public function outputShouldContain($text) } } + + public function ouputShouldNotContain($text) + { + trigger_error( + sprintf('The %s function is deprecated since version 2.8 and will be removed in 3.0. Use the %s::outputShouldNotContain function instead.', __METHOD__, __CLASS__), + E_USER_DEPRECATED + ); + $this->outputShouldNotContain($text); + } + /** * Checks, that output not contains specified text. *