summaryrefslogtreecommitdiff
path: root/vendor/symfony/console/Exception
diff options
context:
space:
mode:
authorpolo <ordipolo@gmx.fr>2026-10-18 00:08:23 +0200
committerpolo <ordipolo@gmx.fr>2026-10-18 00:10:03 +0200
commit05e38eadbeb3de19e5b26003c2b401e00bb71df4 (patch)
treecf48350b69cfce92de6f3a0e03eb0876931c7077 /vendor/symfony/console/Exception
parent32843e50aa981f190bdb4fbc9adbeacc06fdf775 (diff)
downloadAppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.gz
AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.tar.bz2
AppliGestionPHP-05e38eadbeb3de19e5b26003c2b401e00bb71df4.zip
sortie de vendor du dépôt, oubli dans config-template.ini
Diffstat (limited to 'vendor/symfony/console/Exception')
-rw-r--r--vendor/symfony/console/Exception/CommandNotFoundException.php43
-rw-r--r--vendor/symfony/console/Exception/ExceptionInterface.php21
-rw-r--r--vendor/symfony/console/Exception/InvalidArgumentException.php19
-rw-r--r--vendor/symfony/console/Exception/InvalidOptionException.php21
-rw-r--r--vendor/symfony/console/Exception/LogicException.php19
-rw-r--r--vendor/symfony/console/Exception/MissingInputException.php21
-rw-r--r--vendor/symfony/console/Exception/NamespaceNotFoundException.php21
-rw-r--r--vendor/symfony/console/Exception/RunCommandFailedException.php29
-rw-r--r--vendor/symfony/console/Exception/RuntimeException.php19
9 files changed, 0 insertions, 213 deletions
diff --git a/vendor/symfony/console/Exception/CommandNotFoundException.php b/vendor/symfony/console/Exception/CommandNotFoundException.php
deleted file mode 100644
index 246f04f..0000000
--- a/vendor/symfony/console/Exception/CommandNotFoundException.php
+++ /dev/null
@@ -1,43 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * Represents an incorrect command name typed in the console.
16 *
17 * @author Jérôme Tamarelle <jerome@tamarelle.net>
18 */
19class CommandNotFoundException extends \InvalidArgumentException implements ExceptionInterface
20{
21 /**
22 * @param string $message Exception message to throw
23 * @param string[] $alternatives List of similar defined names
24 * @param int $code Exception code
25 * @param \Throwable|null $previous Previous exception used for the exception chaining
26 */
27 public function __construct(
28 string $message,
29 private array $alternatives = [],
30 int $code = 0,
31 ?\Throwable $previous = null,
32 ) {
33 parent::__construct($message, $code, $previous);
34 }
35
36 /**
37 * @return string[]
38 */
39 public function getAlternatives(): array
40 {
41 return $this->alternatives;
42 }
43}
diff --git a/vendor/symfony/console/Exception/ExceptionInterface.php b/vendor/symfony/console/Exception/ExceptionInterface.php
deleted file mode 100644
index 1624e13..0000000
--- a/vendor/symfony/console/Exception/ExceptionInterface.php
+++ /dev/null
@@ -1,21 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * ExceptionInterface.
16 *
17 * @author Jérôme Tamarelle <jerome@tamarelle.net>
18 */
19interface ExceptionInterface extends \Throwable
20{
21}
diff --git a/vendor/symfony/console/Exception/InvalidArgumentException.php b/vendor/symfony/console/Exception/InvalidArgumentException.php
deleted file mode 100644
index 07cc0b6..0000000
--- a/vendor/symfony/console/Exception/InvalidArgumentException.php
+++ /dev/null
@@ -1,19 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * @author Jérôme Tamarelle <jerome@tamarelle.net>
16 */
17class InvalidArgumentException extends \InvalidArgumentException implements ExceptionInterface
18{
19}
diff --git a/vendor/symfony/console/Exception/InvalidOptionException.php b/vendor/symfony/console/Exception/InvalidOptionException.php
deleted file mode 100644
index 5cf6279..0000000
--- a/vendor/symfony/console/Exception/InvalidOptionException.php
+++ /dev/null
@@ -1,21 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * Represents an incorrect option name or value typed in the console.
16 *
17 * @author Jérôme Tamarelle <jerome@tamarelle.net>
18 */
19class InvalidOptionException extends \InvalidArgumentException implements ExceptionInterface
20{
21}
diff --git a/vendor/symfony/console/Exception/LogicException.php b/vendor/symfony/console/Exception/LogicException.php
deleted file mode 100644
index fc37b8d..0000000
--- a/vendor/symfony/console/Exception/LogicException.php
+++ /dev/null
@@ -1,19 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * @author Jérôme Tamarelle <jerome@tamarelle.net>
16 */
17class LogicException extends \LogicException implements ExceptionInterface
18{
19}
diff --git a/vendor/symfony/console/Exception/MissingInputException.php b/vendor/symfony/console/Exception/MissingInputException.php
deleted file mode 100644
index 04f02ad..0000000
--- a/vendor/symfony/console/Exception/MissingInputException.php
+++ /dev/null
@@ -1,21 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * Represents failure to read input from stdin.
16 *
17 * @author Gabriel Ostrolucký <gabriel.ostrolucky@gmail.com>
18 */
19class MissingInputException extends RuntimeException implements ExceptionInterface
20{
21}
diff --git a/vendor/symfony/console/Exception/NamespaceNotFoundException.php b/vendor/symfony/console/Exception/NamespaceNotFoundException.php
deleted file mode 100644
index dd16e45..0000000
--- a/vendor/symfony/console/Exception/NamespaceNotFoundException.php
+++ /dev/null
@@ -1,21 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * Represents an incorrect namespace typed in the console.
16 *
17 * @author Pierre du Plessis <pdples@gmail.com>
18 */
19class NamespaceNotFoundException extends CommandNotFoundException
20{
21}
diff --git a/vendor/symfony/console/Exception/RunCommandFailedException.php b/vendor/symfony/console/Exception/RunCommandFailedException.php
deleted file mode 100644
index 5d87ec9..0000000
--- a/vendor/symfony/console/Exception/RunCommandFailedException.php
+++ /dev/null
@@ -1,29 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14use Symfony\Component\Console\Messenger\RunCommandContext;
15
16/**
17 * @author Kevin Bond <kevinbond@gmail.com>
18 */
19final class RunCommandFailedException extends RuntimeException
20{
21 public function __construct(\Throwable|string $exception, public readonly RunCommandContext $context)
22 {
23 parent::__construct(
24 $exception instanceof \Throwable ? $exception->getMessage() : $exception,
25 $exception instanceof \Throwable ? $exception->getCode() : 0,
26 $exception instanceof \Throwable ? $exception : null,
27 );
28 }
29}
diff --git a/vendor/symfony/console/Exception/RuntimeException.php b/vendor/symfony/console/Exception/RuntimeException.php
deleted file mode 100644
index 51d7d80..0000000
--- a/vendor/symfony/console/Exception/RuntimeException.php
+++ /dev/null
@@ -1,19 +0,0 @@
1<?php
2
3/*
4 * This file is part of the Symfony package.
5 *
6 * (c) Fabien Potencier <fabien@symfony.com>
7 *
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
10 */
11
12namespace Symfony\Component\Console\Exception;
13
14/**
15 * @author Jérôme Tamarelle <jerome@tamarelle.net>
16 */
17class RuntimeException extends \RuntimeException implements ExceptionInterface
18{
19}