Skip to content
This repository has been archived by the owner on Apr 20, 2021. It is now read-only.

Commit

Permalink
Remove deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
sanpii committed Nov 23, 2017
1 parent 83b6d37 commit 7233dc5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 37 deletions.
27 changes: 0 additions & 27 deletions src/Context/JsonContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down Expand Up @@ -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
*
Expand All @@ -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
*
Expand Down
10 changes: 0 additions & 10 deletions src/Context/SystemContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 7233dc5

Please sign in to comment.