-
-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Use laravel client and options #166
Conversation
Are you sure about that? Couldn't you have older versions of Laravel under PHP 7.1 and be happy about that? |
5201ef9
to
b3815af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- ofcourse the Logger needs changes for the new Monolog handler (that I saw you already started on).
- I also need to start testing this a bit, only looked through the code in the PR
- Fan of removing the
Sentry/Laravel
folders fromsrc
if possible + psr-4
'command' => null, | ||
)); | ||
Integration::configureScope(function (Scope $scope) use ($event): void { | ||
$scope->setTag('command', ''); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Better to add a $scope->unsetTag('command')
method to the client maybe?
Then we actually remove the tag instead of setting it to an empty string (which probably has the same affect, but still).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe removeTag
would be better, but I agree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^ also fine ofcourse 👍
Lumen and Laravel need to be
>= 5.6
because of our requirement of PHP>= 7.1
It also currently uses a local overwrites in the PHP SDK to make it work.