File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -46,14 +46,8 @@ public function getRequiredChecks()
46
46
}
47
47
48
48
/**
49
- * Verify a solution to an exercise. Verification involves executing the reference solution
50
- * and the student's solution and comparing their output. If the output is the same
51
- * an instance of `PhpSchool\PhpWorkshop\Result\SuccessInterface` should be returned, if the output
52
- * is not the same, or something else went wrong then an instance of
53
- * `\PhpSchool\PhpWorkshop\Result\FailureInterface` should be returned.
54
- *
55
- * Other things that could go wrong include the student's solution returning a non-zero
56
- * exit code, or a notice/warning being exhibited.
49
+ * Delegate to the exercise for verifying. Verifying could mean checking that a program was installed or that some
50
+ * other arbitrary task was performed.
57
51
*
58
52
* @param Input $input The command line arguments passed to the command.
59
53
* @return ResultInterface The result of the check.
@@ -64,9 +58,8 @@ public function verify(Input $input)
64
58
}
65
59
66
60
/**
67
- * Run a solution to an exercise. This simply run's the student's solution with the correct input from the exercise
68
- * (such as the CLI arguments) and prints the output directly. This allows the student to have the environment
69
- * setup for them including getting a different set of arguments each time (if the exercise supports that).
61
+ * Running a custom verifying exercise does nothing. There is no program required, therefore there is nothing
62
+ * to run.
70
63
*
71
64
* @param Input $input The command line arguments passed to the command.
72
65
* @param OutputInterface $output A wrapper around STDOUT.
You can’t perform that action at this time.
0 commit comments