fmt

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 26, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "Format php scripts"

Name is the command title.

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cli.Command

NewCommand creates a new fmt command.

func Run

func Run(args []string, list bool) error

Run formats files or directories in place by pretty-printing the AST. Files the formatter cannot read in full are reported and left alone, so one file using PHP that phpscript does not support does not stop the rest.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL