Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseExtensions ¶
ParseExtensions parses shivammathur/setup-php@v2's extensions syntax. Recognized tokens:
- bare name (e.g. "redis") → include
- ":name" → exclude
- "none" → reset both include and exclude to empty; subsequent tokens process normally
Both include and exclude are sorted, deduplicated, and lower-cased.
func ParsePHPVersionFile ¶
Types ¶
type CoverageDriver ¶
type CoverageDriver string
const ( CoverageNone CoverageDriver = "none" CoverageXdebug CoverageDriver = "xdebug" CoveragePCOV CoverageDriver = "pcov" )
type IniValue ¶
func ParseIniValues ¶
type Plan ¶
type Plan struct {
PHPVersion string
Extensions []string
ExtensionsExclude []string
ExtensionsReset bool
IniValues []IniValue
Coverage CoverageDriver
Tools []string
ThreadSafety string
OS string
Arch string
FailFast bool
Update bool
IniFile string
Debug bool
Verbose bool
}
func (*Plan) ApplyCoverage ¶ added in v1.1.0
func (p *Plan) ApplyCoverage()
ApplyCoverage adds the requested coverage driver (xdebug or pcov) to the extensions list so it is resolved, fetched, and composed like any other extension. "none" is a no-op.
Click to show internal directories.
Click to hide internal directories.