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 FlatstackFile ¶ added in v0.2.1
func FlatstackFile(name, src string) (Diagnostic, error)
FlatstackFile checks whether a single PHP source file is compatible with flatstack engine.
func FlatstackPaths ¶ added in v0.2.1
func FlatstackPaths(paths []string) ([]Diagnostic, error)
FlatstackPaths checks flatstack compatibility for all files matched by paths.
func Paths ¶
func Paths(paths []string) ([]Diagnostic, error)
Paths lints each file selected by the provided Go-style path patterns.
func (Diagnostic) String ¶
func (d Diagnostic) String() string
Click to show internal directories.
Click to hide internal directories.