Thank you for considering contributing to Code Review Guardian!
This project follows the Contributor Covenant Code of Conduct. By participating, you are expected to uphold it. Please report unacceptable behavior to hectorfranco@nowo.tech.
This project is maintained by Héctor Franco Aceituno at Nowo.tech.
-
Clone the repository:
git clone https://github.com/nowo-tech/CodeReviewGuardian.git cd CodeReviewGuardian -
Start the Docker container:
make up
-
Install dependencies:
make install
-
Run tests:
make test -
Open a shell in the container (optional):
make shell
-
Clone the repository:
git clone https://github.com/nowo-tech/CodeReviewGuardian.git cd CodeReviewGuardian -
Install dependencies:
composer install
-
Run tests:
composer test
We follow a simplified Git Flow. See docs/BRANCHING.md for full details.
| Branch | Purpose |
|---|---|
main |
Production releases only |
develop |
Development integration |
feature/* |
New features |
bugfix/* |
Bug fixes |
hotfix/* |
Urgent production fixes |
- Fork the repository
- Create a branch from
develop:git checkout develop git pull origin develop git checkout -b feature/amazing-feature
- Make your changes
- Run tests and code style checks:
make qa # or without Docker: composer qa - Commit your changes following Conventional Commits:
git commit -m 'feat(scope): add amazing feature' - Push to the branch:
git push origin feature/amazing-feature
- Open a Pull Request to
develop(notmain)
- Follow PSR-12 coding style
- Add tests for new features
- Update documentation as needed
- Keep commits atomic and descriptive
# Run all tests
make test
# Run tests with coverage
make test-coverage
# Check code style
make cs-check
# Fix code style
make cs-fix
# Run all QA checks
make qa# Run all tests
composer test
# Run tests with coverage
composer test-coverage
# Check code style
composer cs-check
# Fix code style
composer cs-fix| Command | Description |
|---|---|
make up |
Start Docker container |
make down |
Stop Docker container |
make shell |
Open shell in container |
make install |
Install Composer dependencies |
make test |
Run PHPUnit tests |
make test-coverage |
Run tests with code coverage |
make cs-check |
Check code style (PSR-12) |
make cs-fix |
Fix code style |
make qa |
Run all QA checks |
make clean |
Remove vendor and cache |
When reporting issues, please include:
- PHP version
- Composer version
- Framework (Symfony, Laravel, etc.)
- Git provider (GitHub, GitLab, Bitbucket, etc.)
- Operating system
- Steps to reproduce
- Expected vs actual behavior
For questions or suggestions, you can reach out to:
- GitHub: @HecFranco
- Organization: nowo-tech
Do not add Co-authored-by: Cursor or cursoragent@cursor.com trailers to commit messages.
make setup-hooks
make check-no-cursor-coauthormake setup-hooks installs .githooks/commit-msg (or sets core.hooksPath to .githooks). Run it once per clone before your first commit.
If CI fails because trailers are already on the remote, see GITHUB_CI.md (REQ-GIT-001) and run make strip-cursor-coauthor-from-history before git push --force-with-lease.