Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #36031 [Console] Fallback to default answers when unable to read …
…input (ostrolucky) This PR was merged into the 4.4 branch. Discussion ---------- [Console] Fallback to default answers when unable to read input | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #36027, Fix #35988 | License | MIT | Doc PR | Alternative to symfony/symfony#36027. This fixes linked issues without having to revert fix for #30726. Successfully tested with composer script, `docker run` and `docker run -it`. Commits ------- 8ddaa20b29 [Console] Fallback to default answers when unable to read input
- Loading branch information
Showing
4 changed files
with
79 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<?php | ||
|
||
/* | ||
* This file is part of the Symfony package. | ||
* | ||
* (c) Fabien Potencier <fabien@symfony.com> | ||
* | ||
* For the full copyright and license information, please view the LICENSE | ||
* file that was distributed with this source code. | ||
*/ | ||
|
||
namespace Symfony\Component\Console\Exception; | ||
|
||
/** | ||
* Represents failure to read input from stdin. | ||
* | ||
* @author Gabriel Ostrolucký <gabriel.ostrolucky@gmail.com> | ||
*/ | ||
class MissingInputException extends RuntimeException implements ExceptionInterface | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters