Skip to content

CandidateProvider

github-actions edited this page Apr 11, 2026 · 1 revision

Provides the canonical list of candidate paths for export-ignore rules.

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.


Methods

folders

Returns the list of folder paths that are candidates for export-ignore.

public folders(): list<string>

Return Value:

Folders that are candidates for export-ignore


files

Returns the list of file paths that are candidates for export-ignore.

public files(): list<string>

Return Value:

Files that are candidates for export-ignore


all

Returns all candidates as a combined list with folders first, then files.

public all(): list<string>

Return Value:

All candidates in deterministic order


Clone this wiki locally