Predefined output formats - ELK, cron. New demo and docs. #1670
Annotations
4 errors
src/OutputMods/Cron.php#L25
The type "'cron'" for JBZoo\Cli\OutputMods\Cron::NAME does not satisfy the type "'text'" inherited from JBZoo\Cli\OutputMods\Text::NAME
Rule : InvalidClassConstantType
File Path : src/OutputMods/Cron.php:25
Snippet : `public const NAME = 'cron';`
Docs : https://psalm.dev/309
Severity : error
Error Level: 1
|
src/OutputMods/Cron.php#L27
The type "'Shortcut for crontab. It's basically focused on logs output.\n It's combination ...'" for JBZoo\Cli\OutputMods\Cron::DESCRIPTION does not satisfy the type "'Default text output format, userfriendly and easy to read.'" inherited from JBZoo\Cli\OutputMods\Text::DESCRIPTION
Rule : InvalidClassConstantType
File Path : src/OutputMods/Cron.php:27
Snippet : `public const DESCRIPTION = "Shortcut for crontab. It's basically focused on logs output.\n"`
Docs : https://psalm.dev/309
Severity : error
Error Level: 1
|
src/ProgressBars/ProgressBarLight.php#L39
iterable<mixed, mixed> cannot be cast to string
Rule : PossiblyInvalidCast
File Path : src/ProgressBars/ProgressBarLight.php:39
Snippet : `if (\str_contains((string)$stepResult, self::BREAK)) {`
Docs : https://psalm.dev/190
Severity : error
Error Level: 3
|
|
The logs for this run have expired and are no longer available.
Loading