Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.98 KB

File metadata and controls

28 lines (20 loc) · 1.98 KB

PHP Code Exercises

The following code exercises are available for the PHP track. You are encouraged to complete these as you progress through the coursework.

To perform a code exercise, fork one of the repositories above. Follow the exercise README.md and make your code changes in the src/ directory.

When you are done, commit and push your changes to your fork and create a pull request. Upon doing so your solution will be automatically tested.

If your solution passes, the build will be marked successful and the pull request will be ready to merge.

If your solution fails, the build will be marked as failing and the pull request can no be merged. You should receive an email with more information about the failure. Make your changes. Once you commit them, the pull request will automatically be updated and the tests will rerun.

If you would like to run the tests locally before creating a pull request, you can do so by running the following commands within the project:

  1. Install the project dependencies by running composer install. Note: this only needs to be done once.
  2. To run the tests locally, run: vendor/bin/phpunit