source_with_ignore.php

File

drupal/core/vendor/phpunit/php-code-coverage/Tests/_files/source_with_ignore.php
View source
<?php

if ($neverHappens) {

  // @codeCoverageIgnoreStart
  print '*';

  // @codeCoverageIgnoreEnd
}

/**
 * @codeCoverageIgnore
 */
class Foo {
  public function bar() {
  }

}
class Bar {

  /**
   * @codeCoverageIgnore
   */
  public function foo() {
  }

}
function baz() {
  print '*';

  // @codeCoverageIgnore
}
interface Bor {
  public function foo();

}

Functions

Namesort descending Description
baz

Classes

Namesort descending Description
Bar
Foo @codeCoverageIgnore

Interfaces

Namesort descending Description
Bor