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.
*/
declare(strict_types=1);
namespace CaptainHook\App\Hook\Template\Local;
* WSL class
* Generates the sourcecode for the php hook scripts in .git/hooks/*.
* @package CaptainHook
* @author Sebastian Feldmann <[email protected]>
* @author Christoph Kappestein <[email protected]>
* @link https://github.com/captainhookphp/captainhook
* @since Class available since Release 5.23.0
class WSL extends Shell
{
protected function getExecutable(): string
return 'wsl.exe ' . parent::getExecutable();
}