Merge branch 'MDL-56335-master' of git://github.com/mihailges/moodle

This commit is contained in:
Andrew Nicols 2018-08-08 13:14:00 +08:00
commit 0c759ba614
2 changed files with 5 additions and 14 deletions

View File

@ -45,20 +45,11 @@ use Behat\Gherkin\Node\TableNode;
class behat_transformations extends behat_base {
/**
* Transformations for TableNode arguments.
*
* Transformations applicable to TableNode arguments should also
* be applied, adding them in a different method for Behat API restrictions.
*
* @deprecated since Moodle 3.2 MDL-56335 - please do not use this function any more.
* @param TableNode $tablenode
* @return TableNode The transformed table
* @deprecated since Moodle 3.2
*/
public function prefixed_tablenode_transformations(TableNode $tablenode) {
debugging('prefixed_tablenode_transformations() is deprecated. Please use tablenode_transformations() instead.',
DEBUG_DEVELOPER);
return $this->tablenode_transformations($tablenode);
public function prefixed_tablenode_transformations() {
throw new coding_exception('prefixed_tablenode_transformations() can not be used anymore. ' .
'Please use tablenode_transformations() instead.');
}
/**

View File

@ -39,7 +39,7 @@ information provided here is intended especially for developers.
- get_logs_userday()
- get_logs()
- prevent_form_autofill_password()
* The following classes have been finally deprecated and can not be used any more:
- prefixed_tablenode_transformations()
- core_media_renderer
- core_media
* Following api's have been removed in behat_config_manager, please use behat_config_util instead.