You are here

function example in Coder 8.3.x

Same name and namespace in other branches
  1. 8.3 tests/Drupal/Commenting/GenderNeutralCommentUnitTest.inc \example()

Test function.

He did something. She did something. They did something.

1 string reference to 'example'
DocCommentUnitTest.3.inc in tests/Drupal/Commenting/DocCommentUnitTest.3.inc

File

tests/Drupal/Commenting/GenderNeutralCommentUnitTest.inc, line 30
Example gendered comments.

Code

function example() {

  // They looked at him.
  // The sniff only checked comments not code.
  $a = "The regex finds he, her, hers, him, his and she.";
}