Emits update warnings while ensuring version checks never block the requested command.
Interfaces
VersionCheckNotifierInterface
Emits non-blocking DevTools freshness notices for interactive binary runs.
Properties
Methods
: mixed
notify()
: void
Warns when a newer stable DevTools version is available.
shouldSkipVersionCheck()
: bool
Returns whether DevTools SHOULD skip the best-effort version check.
private
RuntimeEnvironmentInterface
$environment
private
VersionCheckerInterface
$versionChecker
public
__construct(VersionCheckerInterface
$versionChecker, RuntimeEnvironmentInterface
$environment) : mixed
Parameters
Description
the checker used to resolve latest release metadata
Description
resolves runtime environment capabilities
Warns when a newer stable DevTools version is available.
public
notify(OutputInterface
$output) : void
Parameters
$output
:
OutputInterface
Description
the command output receiving a non-blocking warning
Returns whether DevTools SHOULD skip the best-effort version check.
private
shouldSkipVersionCheck() : bool
Return values
bool