luoxiaojun / review-bot
Code Review Robot
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 2
Type:project
Requires
- php: >=7.2
- ext-json: *
- m4tthumphrey/php-gitlab-api: ^9.13
- nikic/php-parser: ~v4.2
- php-http/guzzle6-adapter: ^1.0
This package is auto-updated.
Last update: 2024-10-19 22:31:15 UTC
README
Usage
# Review by file path php robot.php path/to # Review by merge request url php mr.php {merge_request_url}
Supported Rules
- Echo in controller, logic
- Exit in controller, logic
- Public controller or logic method without comments
- Use repo in controller, command
- Use model in controller, logic, command
- Method arguments with default values MUST go at the end of the argument list
- Return api format data in logic