diff --git a/src/Context/JsonContext.php b/src/Context/JsonContext.php index a28371cb..a8dc8dc1 100644 --- a/src/Context/JsonContext.php +++ b/src/Context/JsonContext.php @@ -76,15 +76,6 @@ public function theJsonNodesShouldBeEqualTo(TableNode $nodes) } } - public function theJsonNodesShoudBeEqualTo(TableNode $nodes) - { - trigger_error( - sprintf('The %s function is deprecated since version 2.7 and will be removed in 3.0. Use the %s::theJsonNodesShouldBeEqualTo function instead.', __METHOD__, __CLASS__), - E_USER_DEPRECATED - ); - return $this->theJsonNodesShouldBeEqualTo($nodes); - } - /** * Checks, that given JSON node is null * @@ -227,15 +218,6 @@ public function theJsonNodesShouldContain(TableNode $nodes) } } - public function theJsonNodesShoudContain(TableNode $nodes) - { - trigger_error( - sprintf('The %s function is deprecated since version 2.7 and will be removed in 3.0. Use the %s::theJsonNodesShouldContain function instead.', __METHOD__, __CLASS__), - E_USER_DEPRECATED - ); - return $this->theJsonNodesShouldBeEqualTo($nodes); - } - /** * Checks, that given JSON node does not contain given value * @@ -262,15 +244,6 @@ public function theJsonNodesShouldNotContain(TableNode $nodes) } } - public function theJsonNodesShoudNotContain(TableNode $nodes) - { - trigger_error( - sprintf('The %s function is deprecated since version 2.7 and will be removed in 3.0. Use the %s::theJsonNodesShouldNotContain function instead.', __METHOD__, __CLASS__), - E_USER_DEPRECATED - ); - return $this->theJsonNodesShouldBeEqualTo($nodes); - } - /** * Checks, that given JSON node exist * diff --git a/src/Context/SystemContext.php b/src/Context/SystemContext.php index 1430be8a..1799bc51 100644 --- a/src/Context/SystemContext.php +++ b/src/Context/SystemContext.php @@ -116,16 +116,6 @@ 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. *