Test throwing InvalidDialogStep #104
Annotations
5 errors
|
PropertyNotSetInConstructor:
tests/DialogConfigurableStepsTest.php#L44
tests/DialogConfigurableStepsTest.php:44:23: PropertyNotSetInConstructor: Property KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_44_1271::$bot is not defined in constructor of KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_44_1271 or in any methods called in the constructor (see https://psalm.dev/074)
|
|
PropertyNotSetInConstructor:
tests/DialogConfigurableStepsTest.php#L62
tests/DialogConfigurableStepsTest.php:62:23: PropertyNotSetInConstructor: Property KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_62_1804::$bot is not defined in constructor of KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_62_1804 or in any methods called in the constructor (see https://psalm.dev/074)
|
|
NonInvariantDocblockPropertyType:
tests/DialogConfigurableStepsTest.php#L161
tests/DialogConfigurableStepsTest.php:161:29: NonInvariantDocblockPropertyType: Property KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_159_4911::$steps has type array<array-key, mixed>, not invariant with KootLabs\TelegramBotDialogs\Dialog::$steps of type list<KootLabs\TelegramBotDialogs\StepConfiguration|string> (see https://psalm.dev/267)
|
|
NonInvariantDocblockPropertyType:
tests/DialogConfigurableStepsTest.php#L188
tests/DialogConfigurableStepsTest.php:188:29: NonInvariantDocblockPropertyType: Property KootLabs\TelegramBotDialogs\Tests\_home_runner_work_telegram_bot_dialogs_telegram_bot_dialogs_tests_DialogConfigurableStepsTest_php_183_5594::$steps has type array<array-key, mixed>, not invariant with KootLabs\TelegramBotDialogs\Dialog::$steps of type list<KootLabs\TelegramBotDialogs\StepConfiguration|string> (see https://psalm.dev/267)
|
|
psalm
Process completed with exit code 2.
|