Commit 12d52ea
committed
minor #15449 [Logging] Fix incorrect PHP example to exclude HTTP code with Monolog (ker0x)
This PR was merged into the 5.3 branch.
Discussion
----------
[Logging] Fix incorrect PHP example to exclude HTTP code with Monolog
With the previous example, when running `composer run-script --no-dev post-install-cmd` we get the following error:
```bash
Executing script cache:clear [KO]
[KO]
Script cache:clear returned with error code 1
!!
!! In FileLoader.php line 174:
!!
!! The following keys are not supported by "Symfony\Config\Monolog\HandlerConf
!! ig\ExcludedHttpCodeConfig": 0, 1 in /home/ker0x/dev/imdb/config/packages/pr
!! od/monolog.php (which is being imported from "/home/ker0x/dev/imdb/src/Kern
!! el.php").
!!
!!
!! In ExcludedHttpCodeConfig.php line 57:
!!
!! The following keys are not supported by "Symfony\Config\Monolog\HandlerConf
!! ig\ExcludedHttpCodeConfig": 0, 1
!!
!!
!!
Script `@auto`-scripts was called via post-install-cmd
```
Commits
-------
74b6cf6 Fix incorrect PHP example to exclude HTTP code with Monolog1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
61 | 63 | | |
62 | 64 | | |
63 | 65 | | |
| |||
0 commit comments