I have the following Behat step that are using the @BeforeScenario and @AfterScenario tags in this file: https://github.com/moodle/moodle/blob/master/mod/bigbluebuttonbn/tests/behat/behat_mod_bigbluebuttonbn.php
Those two tags are necessary to add new callback to behat before and after the scenario is run. They are rarely used but they are really useful in some case.
Possible to disable the warning from Moodle code check (phpdoc) ?