Code review
- Setup environment
- Detect an invalid patch URL
- Detect invalid repository information
- Detect invalid patch format
- Detect a non-applicable patch
- Detect invalid PHP syntax
- Detect a review run failure
- Detect coder flags
Ensure that your code follows the Drupal standard and passes a coder review.
- Complete coder review with all passed
6 minor(s), 0 critical(s), and 5 normal(s)
Non-pass
| Test name | Minor | Critical | Normal |
regbar.module | 0 | 0 | 5 |
| Message | Group | Filename | Line | Function | Status |
| If you define a @param or @return, you should document it as well. | Other | regbar.module | 11 | N/A |  |
| @param and @return descriptions begin indented on the next line. (Drupal Docs) | Other | regbar.module | 11 | N/A |  |
| Use PHP's master function, not an alias. (List of PHP aliases) | Other | regbar.module | 16 | N/A |  |
| Control statements should have one space between the control keyword and opening parenthesis | Other | regbar.module | 231 | N/A |  |
| Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE | Other | regbar.module | 237 | N/A |  |
|
All
| Test name | Minor | Critical | Normal |
regbar.admin.inc | 0 | 0 | 0 |
regbar.install | 6 | 0 | 0 |
| Message | Group | Filename | Line | Function | Status |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 35 | N/A |  |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 36 | N/A |  |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 37 | N/A |  |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 47 | N/A |  |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 48 | N/A |  |
| Use an indent of 2 spaces, with no tabs | Other | regbar.install | 124 | N/A |  |
|
regbar.module | 0 | 0 | 5 |
| Message | Group | Filename | Line | Function | Status |
| If you define a @param or @return, you should document it as well. | Other | regbar.module | 11 | N/A |  |
| @param and @return descriptions begin indented on the next line. (Drupal Docs) | Other | regbar.module | 11 | N/A |  |
| Use PHP's master function, not an alias. (List of PHP aliases) | Other | regbar.module | 16 | N/A |  |
| Control statements should have one space between the control keyword and opening parenthesis | Other | regbar.module | 231 | N/A |  |
| Use uppercase for PHP constants, e.g. NULL, TRUE, FALSE | Other | regbar.module | 237 | N/A |  |
|