~tcuthbert/wordpress/openstack-objectstorage

« back to all changes in this revision

Viewing changes to vendor/phpunit/php-code-coverage/tests/_files/source_with_ignore.php

  • Committer: Jacek Nykis
  • Date: 2015-02-11 15:35:31 UTC
  • Revision ID: jacek.nykis@canonical.com-20150211153531-hmy6zi0ov2qfkl0b
Initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?php
 
2
if ($neverHappens) {
 
3
    // @codeCoverageIgnoreStart
 
4
    print '*';
 
5
    // @codeCoverageIgnoreEnd
 
6
}
 
7
 
 
8
/**
 
9
 * @codeCoverageIgnore
 
10
 */
 
11
class Foo
 
12
{
 
13
    public function bar()
 
14
    {
 
15
    }
 
16
}
 
17
 
 
18
class Bar
 
19
{
 
20
    /**
 
21
     * @codeCoverageIgnore
 
22
     */
 
23
    public function foo()
 
24
    {
 
25
    }
 
26
}
 
27
 
 
28
function baz()
 
29
{
 
30
    print '*'; // @codeCoverageIgnore
 
31
}
 
32
 
 
33
interface Bor
 
34
{
 
35
    public function foo();
 
36
 
 
37
}