Aller au contenu

Extension points

phil/dev-tools

Pas encore traduite

Cette page n’est pas encore traduite en français ; elle est montrée en anglais.

phil/dev-tools is at 0.x: its extension points are stable only from its 1.0 release. Until then, a minor version may change them, and its CHANGELOG says how.

ToDo
Change a package's exceptionsWrite them in its phil-dev.php; see Configuration
Add a rule of the project's ownPass rules to the closure in the thin file, or add them under cs.rules, arkitect.rules or deptrac.configs
Narrow the default dependenciesSet the root's deptrac.default; see Dependencies
Run on other versionsEdit config/matrix.json; see The version matrix
Run a process differentlyImplement ProcessRunner and pass it to Phil\DevTools\Console\Application
Read the workspaceUse Workspace::load() and Tooling, which the shared configurations use
Turn a gate offSet gates.<name> to false in the root's phil-dev.php; see Quality gates
Fuzz a parser, measure a workerDeclare fuzz.targets or bench.worker in the package's phil-dev.php; see Security checks and Benchmarks
Compile the templates with the package's extensionsName a loader under twig.loader; see Quality gates