| PHP Coding Standards | Result |
|---|---|
| Verified whether the script followed the PSR-2 coding standard | |
| Verified whether the file should start with <?php tag and end with ?> tag | |
| Verified whether file should contain declare(strict_types=1); statement | |
| Verified whether all files must contain a header stating namespace and licensing information | |
| Verified whether the copyright header itself must not start with /**, as this may confuse documentation generators! | |
| Verified whether Name Spaces are properly provided | |
| Verified whether the class name is written in proper format (Upper Camel Case) | |
| Verified whether the name of the abstract class starts with the Abstract keyword | |
| Verified whether variable names are written in lowercase and is descriptive in nature | |
| Verified whether the class name is not used as the method name | |
| Verified whether constant names are written in Uppercase and separated by underscores | |
| Verified whether Constructor name starts with _ (Underscore) eg: _construct(); | |
| Verified whether all file names are written in Upper Camel case | |
| Verified whether proper indentations are given on the script | |
| Verified whether single quotes are used to enclose literal strings | |
| Verified whether a space is provided before and after the dot for better readability | |
| Javascript Coding | |
| Doc Comments should be added for empty comments | |
| Verified whether no values are assigned to the variables while initializing |