Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
22
vendor/consolidation/annotated-command/src/Hooks/StatusDeterminerInterface.php
vendored
Normal file
22
vendor/consolidation/annotated-command/src/Hooks/StatusDeterminerInterface.php
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?php
|
||||
namespace Consolidation\AnnotatedCommand\Hooks;
|
||||
|
||||
/**
|
||||
* A StatusDeterminer maps from a result to a status exit code.
|
||||
*
|
||||
* @deprecated. Instead of using a Status Determiner hook, commands
|
||||
* should simply return their exit code and result data separately
|
||||
* using a CommandResult object.
|
||||
*
|
||||
* @see HookManager::addStatusDeterminer()
|
||||
*/
|
||||
interface StatusDeterminerInterface
|
||||
{
|
||||
/**
|
||||
* Convert a result object into a status code, if
|
||||
* possible. Return null if the result object is unknown.
|
||||
*
|
||||
* @return null|integer
|
||||
*/
|
||||
public function determineStatusCode($result);
|
||||
}
|
Reference in a new issue