mirror of
https://github.com/n3w/helpers-functions-cli.git
synced 2025-12-19 20:53:22 +00:00
chore: Update README, LICENCE, and add code linting
This commit is contained in:
parent
33090aee1f
commit
b9a3034788
8 changed files with 145 additions and 7 deletions
|
|
@ -2,6 +2,15 @@
|
|||
|
||||
declare(strict_types=1);
|
||||
|
||||
/*
|
||||
* This file is part of the "PHP Helpers: Command-line Functions" repository.
|
||||
*
|
||||
* Copyright 2019-2021 Alannah Kearney <hi@alannahkearney.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENCE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace pointybeard\Helpers\Functions\Cli\Exceptions;
|
||||
|
||||
use pointybeard\Helpers\Exceptions\ReadableTrace;
|
||||
|
|
@ -9,6 +18,7 @@ use pointybeard\Helpers\Exceptions\ReadableTrace;
|
|||
class RunCommandFailedException extends ReadableTrace\ReadableTraceException
|
||||
{
|
||||
private $command;
|
||||
|
||||
private $error;
|
||||
|
||||
public function __construct(string $command, string $error, int $code = 0, \Exception $previous = null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue