Thank you for your interest in contributing to the UserAgent library! We welcome contributions from the community.
If you find a bug, please open an issue in the issue tracker. Please include:
- A description of the issue.
- Steps to reproduce the issue.
- The expected behavior.
- The actual behavior.
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Write tests for your changes.
- Ensure all tests pass.
- Submit a pull request.
We follow strictly typed PHP standards. Please ensure:
- PHPStan: Level 9 (run
composer lint:phpstan). - Coding Style: PSR-12 via Pint/PHPCS (run
composer lint). - Tests: 100% coverage is required for new features.
composer test