Skip to content

Fix Symfony bundle integration#2

Merged
lacatoire merged 1 commit intomainfrom
fix/symfony-bundle-integration
Feb 8, 2026
Merged

Fix Symfony bundle integration#2
lacatoire merged 1 commit intomainfrom
fix/symfony-bundle-integration

Conversation

@lacatoire
Copy link
Copy Markdown
Owner

Summary

  • Create the missing AcrissCodeBundle class that was declared in composer.json but never implemented, causing Symfony Flex auto-registration to crash
  • Register all three services (AcrissCodeParser, AcrissTranslator, AcrissCodeDetails) in services.yaml
  • Bundle uses AbstractBundle with proper getPath() for automatic translation discovery

Test plan

  • Run composer phpunit to verify existing tests still pass
  • Install the package in a Symfony project and confirm the bundle auto-registers
  • Inject AcrissCodeDetails in a controller and verify it works

The composer.json declared Acriss\Bridge\Symfony\AcrissCodeBundle but
the class did not exist, causing Symfony Flex auto-registration to fail.
Also register AcrissCodeParser and AcrissCodeDetails in services.yaml.
@lacatoire lacatoire merged commit be89ff3 into main Feb 8, 2026
2 checks passed
@lacatoire lacatoire deleted the fix/symfony-bundle-integration branch February 8, 2026 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant