This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A list of things you could check yourself before anyone else reviews your code: | |
- all files must have an empty newline at OEF (use .editorconfig for that) | |
- check for proper indentation (smarty indentations are often wrong after copy-paste) | |
- remove unnecessary newlines | |
- check that docblocks are valid and up-to-date | |
- remove unnecessary if ($foo == true). if ($foo) should be enough | |
- check that no merge conflict markers (>>>>>>>) are left behind | |
- check for unused variables | |
- extract long ifs to own method if possible |