Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ We want your work to be readable by others; therefore, we encourage you to note

If you used a Wikipedia article or some other source material to create your algorithm, please add the URL in a docstring or comment to help your reader

- Write tests
- Write proper unit tests (see examples in [tests](https://github.com/TheAlgorithms/PHP/tree/master/tests) and ensure all unit tests are passing (composer run-script test)

- Avoid importing external libraries for basic algorithms. Only use them for complicated algorithms

- Ensure code is linted with phpcs, and passing all linting checks (vendor/bin/phpcs -n)

#### Other Standard While Submitting Your Work

- File extension for code should be `.php`
Expand Down
Loading