Linter
in package
Table of Contents
- lint() : mixed
- Lints all php files inside a given phar with the current PHP version
- escapeWindowsPath() : string
- Escapes a Windows file path
Methods
lint()
Lints all php files inside a given phar with the current PHP version
public
static lint(string $path) : mixed
Parameters
- $path : string
-
Phar file path
Return values
mixed —escapeWindowsPath()
Escapes a Windows file path
private
static escapeWindowsPath(string $path) : string
Parameters
- $path : string
Return values
string —The escaped path