Skip to content
PHP Ecosystem
Explore

ExitCode

API reference › Scaffold › Console › ExitCode

enumPHPForge\Scaffold\Console\ExitCode
Backed byint
Sourcesrc/Console/ExitCode.php

Represents the exit codes that scaffold services return to the console commands.

CaseValueDescription
Error1Reports a failure such as an untracked file, an unsafe lock entry, a missing stub, a read error, or a reapply filter that matches no tracked file.
Ok0Reports success, including previews and runs that change nothing.