Skip to content

Commit

Permalink
Make codechecker fully happy
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Feb 7, 2021
1 parent f7eb947 commit 08fb084
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2021-02-05 - Make codechecker fully happy
* 2021-02-05 - Move Moodle Plugin CI from Travis CI to Github actions

### v3.10-r1
Expand Down
3 changes: 2 additions & 1 deletion tests/behat/behat_block_people.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,17 @@
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
*/
class behat_block_people extends behat_base {
// @codingStandardsIgnoreStart
/**
* Checks, that the specified user is listed in the section with the specified role within the block People.
*
* @codingStandardsIgnoreLine
* @Then /^the user "(?P<username_string>(?:[^"]|\\")*)" should be listed in the section with the role "(?P<rolename_string>(?:[^"]|\\")*)"$/
*
* @param string $username
* @param string $rolename
*/
public function user_should_be_listed_in_role_section($username, $rolename) {
// @codingStandardsIgnoreEnd

$elementxpath = "//section[contains(concat(' ',normalize-space(@class),' '),' block_people ')]";
$elementxpath .= "//h3[contains(text(),'{$rolename}')]";
Expand Down

0 comments on commit 08fb084

Please sign in to comment.