PageRenderTime 17ms CodeModel.GetById 11ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/vendor/phpunit/php-code-coverage/tests/_files/source_with_oneline_annotations.php

https://bitbucket.org/alan_cordova/api-sb-map
PHP | 36 lines | 22 code | 8 blank | 6 comment | 0 complexity | e96b8b72e308bd417b6699fcbef673ac MD5 | raw file
 1<?php
 2
 3/** Docblock */
 4interface Foo
 5{
 6    public function bar();
 7}
 8
 9class Foo
10{
11    public function bar()
12    {
13    }
14}
15
16function baz()
17{
18    // a one-line comment
19    print '*'; // a one-line comment
20
21    /* a one-line comment */
22    print '*'; /* a one-line comment */
23
24    /* a one-line comment
25     */
26    print '*'; /* a one-line comment
27    */
28
29    print '*'; // @codeCoverageIgnore
30
31    print '*'; // @codeCoverageIgnoreStart
32    print '*';
33    print '*'; // @codeCoverageIgnoreEnd
34
35    print '*';
36}