-
Couldn't load subscription status.
- Fork 4
Releases: php-school/php-workshop
Releases · php-school/php-workshop
4.0.1
@AydinHassan
AydinHassan
69b8723
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
4.0.0
[4.0.0]
Added
- Allow exercises to provide initial solution files (#183)
- Framework logger (#188)
- Abstract testing classes for easier testing:
BaseTest&ContainerAwareTest(#188) - Abstract exercise test class for exercise integration tests (#189)
findByClassNametoExerciseRepository(#189)eachtoArrayObject(#193)collectglobal function to create collection instance (#193)- More assertions to the workshop integration test base class (#194)
pluraliseglobal function (#196)CodeExistsCheckcheck (#197)ksorttoArrayObject(#199)Pathutil to join file system paths (#203)getTemporaryFiletoBaseTest(#204)Systemutil for realpath'ing and getting temp directory (#205)application.tear-downevent when workshop is shutting down (#212)anyglobal function (#213)--debugflag to dump logs to console (#213)- Support for class based transformers (#220)
ForceStrictTypestransformer (#220)FileComparisonCheckcheck for external files (#202)- Logging for when code patches fail (#222)
WrapInTryCatchtransformer (#229)- Link to website on mac (#230)
Changed
- Center CLI menu by default (#184)
- Improved exception handling for missing problem files (#190)
- Copy solution files to temporary directory before running (#209)
- Patch reference solutions as well as student solutions (#211)
- Upgrade to
phpunt/phpunit8 (#216) - Disable Xdebug when verifying solutions (#225)
- Log file patching & don't revert patch when in debug mode (#224)
- Improve general error handling (#227)
- Check solution file exists in run command (#231)
Fixed
Assets 2
3.0.1
Assets 2
3.0.0
[3.0.0]
Added
- Add support for PHP 8.0 (#176)
- Add support for PHP 7.4 (#164)
- Docblock cleanup (#166)
- Added phpstan on maximum level and improved type coverage (#167)
- declared strict_types in all files (#180)
Changed
- Use symfony/phpunit-bridge to test on more versions of PHP then phpunit allows (#164)
- Coding standards checks updated to use PSR-12 (#165)
- Updated php-school/cli-menu (#169)
- Swapped zendframework/zend-diactoros for guzzlehttp/guzzle (#172)
- Updated internal composer to 2.0 (#173)
- Switch to PSR-11 (#177)
- Updated symfony components (#178)
Removed
Assets 2
2.2.0
[2.2.0]
Added
- Builds for PHP 7.1 & 7.2 (#160)
Changed
- Updated
kadet/keylighterto0.8.3to fix an error on PHP 7.2 (#159) - Updated
aydin-hassan/cli-md-rendererto^2.3(#162)
Fixed
- Fixed a bug where cli arguments added via events were not passed to the result objects (#157)
- Fixed solution program syntax highlighting (#161)
Removed
- Removed support for symfony 2.x components and dropped builds from travis with different versions of symfony (#160)
Assets 2
2.1.0
Assets 2
2.0.0
[2.0.0]
Added
- Added new exercise runner (Custom Runner) which allows for an exercise to not require a php solution. For example an exercise can now request the student install a piece of software and then the exercise will verify that it was installed. (#141)
- Global function for specifying an event listener as lazy. Eg the listener is registered in the container and should be pulled at runtime (#138)
- Exercise runners now return their required checks via getRequiredChecks (#137)
- Each runner now requires a factory which implements
ExerciseRunnerFactoryInterfacewhich can add arguments to the command and create instances of the runner (#137)
Changed
- Refactor results and result renderers and improve the verification output (#142)
- CLI exercises can now return an array of argument arrays which will run the program with each set of arguments, just like CGI exercises (BC is preserved here - 1 set of arguments is still accepted) (#142)
- Event listener config format has changed. Listeners must be grouped under an arbitrary key (think name of the feature requiring the listeners - see PR for example) (#138)
- Refactored some listeners to use more specific events and event objects (#140)
- Extract getSolution to it's own interface
ProvidesSolution. BC is preserved as CliExercise & CgiExercise now extend from it (#139) - Refactor everything dealing with the input file to use an
Inputobject where the command line arguments can be retrieved from. This is BC break for checks, commands, self checking exercises and event listeners dealing with thefileNameparameter (#135)