rollbar-php-symfony-bundle
rollbar-php-symfony-bundle copied to clipboard
fix: default fn-username behaviour
Description of the change
The service are all private by default in Symfony 6.
This PR needs a closer look. It will only work if the "symfony/security-bundle" is installed. But i let it optional, as user can provide there own callback function instead of the default.
Type of change
- [x] Bug fix (non-breaking change that fixes an issue)
Related issues
- Fix #609
I am not 100% sure. But i guess only after this fix, Log-Messages are passed to Rollbar.
Relates to https://github.com/rollbar/rollbar-php-symfony-bundle/pull/71
@danielmorell Do you have some time to look at this? The main question for me, is to use Security
or TokenInterface
as used in the linked PR.