File: warnings.php

package info (click to toggle)
flycheck 35.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,344 kB
  • sloc: lisp: 16,730; python: 739; makefile: 243; cpp: 24; ruby: 23; perl: 21; ada: 17; f90: 16; javascript: 15; haskell: 15; erlang: 14; xml: 14; ansic: 12; sh: 10; php: 9; tcl: 8; fortran: 3; vhdl: 2; awk: 1; sql: 1
file content (30 lines) | stat: -rw-r--r-- 503 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?php

/**
 * Test warnings for PHPCS and 
 *
 * Checkers: php-phpcs
 *
 * The following comment blurp makes PHPCS really happy :)
 *
 * PHP Version 5
 *
 * @category Testcase
 * @package  Flycheck
 * @author   Sebastian Wiesner <swiesner@lunaryorn.com>
 * @license  http://www.gnu.org/licenses/gpl.html GPL-3
 * @link     https://github.com/flycheck/flycheck
 */

class A
{
    private static $FOO = 2;

    /** Does nothing useful */
    private function bar($baz)
    {
        $i=FALSE;
    }
}

?>