Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagnostic ¶
Diagnostic is one lint finding.
func File ¶
func File(name, src string) ([]Diagnostic, error)
File parses and lints one PHP source file.
func Paths ¶
func Paths(paths []string) ([]Diagnostic, error)
Paths lints each provided file or directory. Directories are walked for .php and .phpt files.
func (Diagnostic) String ¶
func (d Diagnostic) String() string
Click to show internal directories.
Click to hide internal directories.