Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrCancelled = errors.New("cancelled")
Functions ¶
This section is empty.
Types ¶
type Instance ¶
type Instance struct {
// contains filtered or unexported fields
}
Instance is a wrapper around the 'phpcs' cli for formatting code. This implementation preemptively starts an instance of the command, So that each call to Format does not need to wait for php and the phpcs bootstrap. This does mean that there will always be a 'phpcs' process instance running.
type ReportMessage ¶
Click to show internal directories.
Click to hide internal directories.