feat: add steps #517
Annotations
5 errors
RedundantCondition:
tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php#L26
tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php:26:20: RedundantCondition: Type array<array-key, CodelyTv\Mooc\Steps\Domain\Quiz\QuizStepQuestion> for $questions is never null (see https://psalm.dev/122)
|
TypeDoesNotContainNull:
tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php#L26
tests/Mooc/Steps/Domain/Quiz/QuizStepMother.php:26:34: TypeDoesNotContainNull: Cannot resolve types for $questions - array<array-key, CodelyTv\Mooc\Steps\Domain\Quiz\QuizStepQuestion> does not contain null (see https://psalm.dev/090)
|
InvalidReturnType:
tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php#L14
tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php:14:80: InvalidReturnType: The declared return type 'CodelyTv\Mooc\Steps\Domain\Video\VideoStepUrl' for CodelyTv\Tests\Mooc\Steps\Domain\Quiz\QuizStepQuestionMother::create is incorrect, got 'CodelyTv\Mooc\Steps\Domain\Quiz\QuizStepQuestion' (see https://psalm.dev/011)
|
InvalidReturnStatement:
tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php#L16
tests/Mooc/Steps/Domain/Quiz/QuizStepQuestionMother.php:16:10: InvalidReturnStatement: The inferred type 'CodelyTv\Mooc\Steps\Domain\Quiz\QuizStepQuestion' does not match the declared return type 'CodelyTv\Mooc\Steps\Domain\Video\VideoStepUrl' for CodelyTv\Tests\Mooc\Steps\Domain\Quiz\QuizStepQuestionMother::create (see https://psalm.dev/128)
|
build
Process completed with exit code 2.
|