Skip to content

Commit

Permalink
Merge branch 'master' into context
Browse files Browse the repository at this point in the history
  • Loading branch information
AydinHassan committed May 17, 2024
2 parents 90a77ba + b206fce commit 4f938dc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Exercise/AbstractExercise.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
namespace PhpSchool\PhpWorkshop\Exercise;

use PhpSchool\PhpWorkshop\Event\EventDispatcher;
use PhpSchool\PhpWorkshop\ExerciseDispatcher;
use PhpSchool\PhpWorkshop\Solution\SingleFileSolution;
use PhpSchool\PhpWorkshop\Solution\SolutionInterface;
use ReflectionClass;
Expand Down
1 change: 1 addition & 0 deletions test/Asset/CgiExerciseImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,6 @@ public function setScenario(CgiScenario $scenario): void
public function defineTestScenario(): CgiScenario
{
return $this->scenario;

}
}
1 change: 1 addition & 0 deletions test/Asset/CliExerciseImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ public function getRequiredChecks(): array
return [];
}


public function defineListeners(EventDispatcher $dispatcher): void {}
}
2 changes: 2 additions & 0 deletions test/Asset/CliExerciseMissingInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace PhpSchool\PhpWorkshopTest\Asset;

use PhpSchool\PhpWorkshop\Check\FileComparisonCheck;
use PhpSchool\PhpWorkshop\Event\EventDispatcher;
use PhpSchool\PhpWorkshop\Exercise\AbstractExercise;
use PhpSchool\PhpWorkshop\Exercise\ExerciseInterface;
use PhpSchool\PhpWorkshop\Exercise\ExerciseType;
Expand Down

0 comments on commit 4f938dc

Please sign in to comment.