feat: add steps #517
Annotations
5 errors
🏁 Static analysis:
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)
|
🏁 Static analysis:
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)
|
🏁 Static analysis:
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)
|
🏁 Static analysis:
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)
|
🏁 Static analysis
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading