src/contains the Symfony bundle code, organized by namespace (e.g.,Sort/,Mapping/,DependencyInjection/,EventSubscriber/).src/Resources/holds bundle resources such as service config and translations.tests/is reserved for PHPUnit tests (currently empty).bin/phpunitandvendor/are Composer-managed tooling and dependencies.
composer installinstalls PHP dependencies for local development.composer testruns the PHPUnit suite via the Composer script.vendor/bin/phpunitruns PHPUnit directly usingphpunit.xml.dist.
- PHP namespace root is
ChamberOrchestra\SortBundle(PSR-4 viacomposer.json). - Class files follow
StudlyCapswith one class per file undersrc/. - No formatter or linter is configured in this repo; keep changes consistent with existing code style and PHP 8.4 syntax.
- Tests should live in
tests/and follow PHPUnit conventions (e.g.,SomethingTest.php). - Configure test services and kernel settings via
phpunit.xml.distas needed. - Keep unit tests focused on sorter behavior and ORM helpers; add integration tests for bundle wiring.
- There is no commit history yet, so no established message convention.
- Use clear, imperative commit subjects (e.g., "Add range diff helper") and include scope when helpful.
- PRs should describe the change, list test coverage, and call out any behavior changes.
- PHP 8.4 is required (see
composer.json). - Bundle services are defined in
src/Resources/config/services.php.