Provides the canonical list of candidate paths for export-ignore rules.
Description
This class defines the baseline set of files and directories that should typically be excluded from Composer package archives. The list is organized into folders and files groups for deterministic ordering.
Interfaces
Methods
Returns all candidates as a combined list with folders first, then files.
Returns the list of file paths that are candidates for export-ignore.
Returns the list of folder paths that are candidates for export-ignore.
Returns all candidates as a combined list with folders first, then files.
public
all() : array<int, string>
Return values
Description
All candidates in deterministic order
Returns the list of file paths that are candidates for export-ignore.
public
files() : array<int, string>
Return values
Description
Files that are candidates for export-ignore
Returns the list of folder paths that are candidates for export-ignore.
public
folders() : array<int, string>
Return values
Description
Folders that are candidates for export-ignore