validation-bugsnag-email
This commit is contained in:
28
vendor/psy/psysh/src/Shell.php
vendored
28
vendor/psy/psysh/src/Shell.php
vendored
@@ -3,7 +3,7 @@
|
||||
/*
|
||||
* This file is part of Psy Shell.
|
||||
*
|
||||
* (c) 2012-2022 Justin Hileman
|
||||
* (c) 2012-2023 Justin Hileman
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
@@ -49,7 +49,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
*/
|
||||
class Shell extends Application
|
||||
{
|
||||
const VERSION = 'v0.11.10';
|
||||
const VERSION = 'v0.11.12';
|
||||
|
||||
/** @deprecated */
|
||||
const PROMPT = '>>> ';
|
||||
@@ -229,7 +229,7 @@ class Shell extends Application
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @return Matcher\AbstractMatcher[]
|
||||
*/
|
||||
protected function getDefaultMatchers(): array
|
||||
{
|
||||
@@ -594,8 +594,6 @@ class Shell extends Application
|
||||
* Run execution loop listeners on user input.
|
||||
*
|
||||
* @param string $input
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function onInput(string $input): string
|
||||
{
|
||||
@@ -612,8 +610,6 @@ class Shell extends Application
|
||||
* Run execution loop listeners on code to be executed.
|
||||
*
|
||||
* @param string $code
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function onExecute(string $code): string
|
||||
{
|
||||
@@ -814,7 +810,7 @@ class Shell extends Application
|
||||
/**
|
||||
* Get PHP files to be parsed and executed before running the interactive shell.
|
||||
*
|
||||
* @return array
|
||||
* @return string[]
|
||||
*/
|
||||
public function getIncludes(): array
|
||||
{
|
||||
@@ -909,7 +905,7 @@ class Shell extends Application
|
||||
*
|
||||
* This is useful for commands which manipulate the buffer.
|
||||
*
|
||||
* @return array
|
||||
* @return string[]
|
||||
*/
|
||||
public function getCodeBuffer(): array
|
||||
{
|
||||
@@ -1207,8 +1203,6 @@ class Shell extends Application
|
||||
* Check whether the last exec was successful.
|
||||
*
|
||||
* Returns true if a return value was logged rather than an exception.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function getLastExecSuccess(): bool
|
||||
{
|
||||
@@ -1221,8 +1215,6 @@ class Shell extends Application
|
||||
* @todo extract this to somewhere it makes more sense
|
||||
*
|
||||
* @param \Throwable $e
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function formatException(\Throwable $e): string
|
||||
{
|
||||
@@ -1267,8 +1259,6 @@ class Shell extends Application
|
||||
* Helper for getting an output style for the given ErrorException's level.
|
||||
*
|
||||
* @param \ErrorException $e
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getSeverity(\ErrorException $e): string
|
||||
{
|
||||
@@ -1299,8 +1289,6 @@ class Shell extends Application
|
||||
* Helper for getting an output style for the given ErrorException's level.
|
||||
*
|
||||
* @param \Throwable $e
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getMessageLabel(\Throwable $e): string
|
||||
{
|
||||
@@ -1519,8 +1507,6 @@ class Shell extends Application
|
||||
|
||||
/**
|
||||
* Get the shell output header.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
protected function getHeader(): string
|
||||
{
|
||||
@@ -1531,8 +1517,6 @@ class Shell extends Application
|
||||
* Get the current version of Psy Shell.
|
||||
*
|
||||
* @deprecated call self::getVersionHeader instead
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getVersion(): string
|
||||
{
|
||||
@@ -1543,8 +1527,6 @@ class Shell extends Application
|
||||
* Get a pretty header including the current version of Psy Shell.
|
||||
*
|
||||
* @param bool $useUnicode
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public static function getVersionHeader(bool $useUnicode = false): string
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user