Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.31 KB

File metadata and controls

53 lines (37 loc) · 1.31 KB

Contributing

Thank you for considering contributing to the OpenTelemetry Symfony Bundle!

Getting Started

git clone https://github.com/tracewayapp/opentelemetry-symfony-bundle.git
cd opentelemetry-symfony-bundle
composer install

Running Tests

vendor/bin/phpunit

Running Static Analysis

vendor/bin/phpstan analyse

Coding Standards

  • PHP 8.1+ compatible (no typed constants, no readonly class)
  • declare(strict_types=1) in every file
  • final classes by default
  • Constructor property promotion where possible
  • PHPStan 2.x level 10 clean — no baseline

Submitting Changes

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/my-feature)
  3. Make your changes
  4. Run tests and PHPStan to ensure nothing is broken
  5. Commit your changes with a clear message
  6. Push to your fork and open a Pull Request

Releases

Releases are managed by maintainers. When a new version is ready, a git tag is pushed (e.g., v1.5.0) and a GitHub Release is created with the changelog entry.

Reporting Bugs

Please open an issue at github.com/tracewayapp/opentelemetry-symfony-bundle/issues with:

  • PHP and Symfony versions
  • Bundle version
  • Steps to reproduce
  • Expected vs actual behavior