Skip to content

Commit 459c62d

Browse files
authored
Php Updates (#11358)
* [PHP] Fix synatc error in Cron’s example * [PHP] Add additional Symfony SDK options
1 parent e24c21a commit 459c62d

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/platforms/php/guides/symfony/configuration/symfony-options.mdx

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,25 @@ sentry:
6565
max_request_body_size: "medium"
6666
class_serializers:
6767
App\User: "App\\Sentry\\Serializer\\UserSerializer"
68-
68+
messenger:
69+
enabled: true
70+
capture_soft_fails: false
71+
72+
tracing:
73+
enabled: true
74+
dbal:
75+
enabled: true
76+
connections:
77+
- default
78+
twig:
79+
enabled: true
80+
cache:
81+
enabled: true
82+
http_client:
83+
enabled: true
84+
console:
85+
excluded_commands:
86+
- app:command
6987
```
7088
7189
The DSN option is the only required option: it sets the Sentry DSN, and so reports all events to the related project. If it's

platform-includes/crons/setup/php.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ If your job execution fails, you can notify Sentry about the failure:
2525
// 🔴 Notify Sentry your job has failed:
2626
\Sentry\captureCheckIn(
2727
slug: '<monitor-slug>',
28-
status: CheckInStatus::error()
28+
status: CheckInStatus::error(),
2929
checkInId: $checkInId,
3030
);
3131
```

0 commit comments

Comments
 (0)