for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of CaptainHook
*
* (c) Sebastian Feldmann <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace CaptainHook\App\Hook\Debug;
use CaptainHook\App\Config;
use CaptainHook\App\Console\IO;
use CaptainHook\App\Hook\Debug;
use SebastianFeldmann\Git\Repository;
* Debug hook to test hook triggering that allows the hook to pass
* @package CaptainHook
* @author Sebastian Feldmann <[email protected]>
* @link https://github.com/captainhookphp/captainhook
* @since Class available since Release 4.0.4
class Success extends Debug
{
* Executes the action
* @param \CaptainHook\App\Config $config
* @param \CaptainHook\App\Console\IO $io
* @param \SebastianFeldmann\Git\Repository $repository
* @param \CaptainHook\App\Config\Action $action
* @return void
* @throws \Exception
public function execute(Config $config, IO $io, Repository $repository, Config\Action $action): void
$this->debugOutput($io, $repository);
}