Skip to content

Compiler

Everything under Quiote\Support\Compiler.

ClassDescription
ArtifactDriftCheckergofmt-style drift check: does the committed file at $target already match what we’d emit right now?
ArtifactDriftResultThe result of comparing a freshly emitted artifact against whatever is (or isn’t) already on disk at its target path, without writing anything.
DiagnosticA single problem or note surfaced while building a ValidatorPlan or emitting from one.
EmittedArtifactThe result of emitting a ValidatorPlan through a back-end: the PHP source text, a checksum of it (for —check drift detection without writing anything to disk), and a hint for where it would naturally be written.
FilesystemArtifactWriterWrites an EmittedArtifact to a real file, via a write-to-temp-then-rename so a concurrent request (or an opcache-warmed worker) never observes a partially written compiled validator file — rename() is atomic on the same filesystem, unlike a direct file_put_contents() to the final path.
InterfaceDescription
ArtifactWriterWrites an EmittedArtifact to disk.