GenderNeutralCommentUnitTest.inc in Coder 8.3
Same filename and directory in other branches
Example gendered comments.
He did something. She did something. They did something.
File
tests/Drupal/Commenting/GenderNeutralCommentUnitTest.incView source
<?php
/**
* @file
* Example gendered comments.
*
* He did something.
* She did something.
* They did something.
*/
// She wrote this comment.
// He wrote this comment.
// S/he wrote this comment.
// They wrote this comment.
// His foot moved.
// Her foot moved.
// Their foot moved.
// He's got a foot.
// She's got a foot.
// Hers is blue.
// His is blue.
/**
* Test function.
*
* He did something.
* She did something.
* They did something.
*/
function example() {
// They looked at him.
// The sniff only checked comments not code.
$a = "The regex finds he, her, hers, him, his and she.";
}