Skip to content

Commit 5baaf91

Browse files
committed
READEM, services.yaml and DefaultController updated to reflect current BugSnag Symfony integration docs
1 parent 2105c29 commit 5baaf91

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

example/symfony54/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Running BugSnag with Symfony 6
1+
# Running BugSnag with Symfony 5
22

33
This example shows how to integrate BugSnag with Symfony 5. Full instructions on how to set BugSnag up with Symfony can be found in [the official BugSnag documentation](https://docs.bugsnag.com/platforms/php/symfony/).
44

@@ -33,7 +33,7 @@ BUGSNAG_API_KEY=YOUR_API_KEY_HERE
3333
3434
More information about configuring BugSnag can be found in [the configuration section of the BugSnag documentation](https://docs.bugsnag.com/platforms/php/symfony/configuration-options/).
3535
36-
In Symfony 6 the BugSnag bundle should be automatically registered in the `config/bundles.php` file:
36+
In Symfony 5 the BugSnag bundle should be automatically registered in the `config/bundles.php` file:
3737
```php
3838
return [
3939
// ...
@@ -78,4 +78,4 @@ Or for the command example:
7878

7979
```shell
8080
php bin/console app:crash
81-
```
81+
```

example/symfony54/src/Controller/.gitignore

Whitespace-only changes.

example/symfony54/src/Controller/DefaultController.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public function __construct(\Bugsnag\Client $bugsnag)
1616
{
1717
$this->bugsnag = $bugsnag;
1818
}
19-
2019

2120
/**
2221
* @Route("/", name="homepage")

0 commit comments

Comments
 (0)