1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-31 08:45:35 +02:00

2310 Commits

Author SHA1 Message Date
Garrick Lam
b271cd4294 Don't even try to attempt normalizing iterators or generators in context
Iterators and Generators may not be rewindable, so foreach is not safe
to use on them.

Iterators and especially Generators may trigger irreversible actions on
calling next(), so iterating over all values can potentially cause harm,
e.g. imagine an iterator over a set of HTTP POST requests that are sent
when the next value is requested . The only sufficiently safe thing to
iterate and include here are primitive arrays.
2019-11-08 10:49:56 +08:00
Jordi Boggiano
daf42b846f Merge pull request #1389 from Zarthus/gh-issues
github: implement newer version of issue templates
2019-11-07 10:15:19 +01:00
Jordi Boggiano
e188521520 Merge pull request #1390 from Zarthus/github-security
github: Add security header
2019-11-07 10:14:38 +01:00
Jordi Boggiano
e4d2e959a1 Merge pull request #1395 from RoboFinance/fix-test
Fix testWriteOpensProcessAndWritesToStdInOfProcess
2019-11-07 10:12:51 +01:00
Jordi Boggiano
1442230941 Merge pull request #1394 from RoboFinance/cast-html-formatter
HtmlFormatter cast key to string in addRow
2019-11-07 10:11:53 +01:00
Alexander Dmitryuk
b7cee792db fix test 2019-11-05 14:48:20 +07:00
Alexander Dmitryuk
3a2d7379a7 HtmlFormatter addRow cast key to string 2019-11-05 14:22:27 +07:00
Jos Ahrens
e237839d94 github: Add security header
Tying in with #1389, this will add a new section
to the 'create new issue' and also be visible in the
'security' tab on GitHub

It's been left intentionally generic.
2019-10-21 18:53:18 +00:00
Jos Ahrens
6a6c2ac8fa github: implement newer version of issue templates
Moves away from the older version of GitHub issue templates, includes
automatic labelling.

more reading:
https://help.github.com/en/github/building-a-strong-community/about-issue-and-pull-request-templates
2019-10-21 18:46:21 +00:00
Jordi Boggiano
6d51b31979 Merge pull request #1379 from Heier2013/patch-1
Update 01-usage.md
2019-09-17 09:44:07 +02:00
Heier
74215b17a2 Update 01-usage.md
The default date format is changed, so edit documents synchronously.
2019-09-15 12:16:35 +08:00
Jordi Boggiano
bd95e23bd2 Merge pull request #1375 from DavidPrevot/perm
Fix file permission
2019-09-09 13:53:32 +02:00
David Prévot
c404cb3240 Fix file permission 2019-09-07 21:23:23 -10:00
Jordi Boggiano
70e65a5470 Update changelog 1.25.1 2019-09-06 15:49:17 +02:00
Jordi Boggiano
c4553a1a53 Merge pull request #1374 from lyrixx/future
Fixed forward compatibilty layer
2019-09-06 15:46:15 +02:00
Grégoire Pineau
626bde6159 Fixed forward compatibilty layer 2019-09-06 14:58:11 +02:00
Jordi Boggiano
a053af62ad Merge branch '1.x' 2019-09-06 14:25:18 +02:00
Jordi Boggiano
c5dcc05def Update changelog 1.25.0 2019-09-06 14:21:24 +02:00
Jordi Boggiano
edaa01a66f Add issue template 2019-09-05 14:53:43 +02:00
Jordi Boggiano
0f39561898 Avoid leaving an error handler dangling 2019-09-05 14:47:40 +02:00
Jordi Boggiano
40cce3ba0b Merge branch '1.x' 2019-09-05 14:38:58 +02:00
Jordi Boggiano
4bfd341586 Fix type error, fixes #1369 2019-09-05 14:38:03 +02:00
Jordi Boggiano
190aa65aac Fix chromephp tests 2019-09-05 14:33:55 +02:00
Jordi Boggiano
d6f225f2b8 Merge pull request #1373 from Pierre-Lannoy/patch-2
Change chrome header size limit
2019-09-05 13:31:17 +02:00
Pierre Lannoy
c8b0d08ceb Change chrome header size limit
Due to change in chromium header size support, the size limit enforced by the handler must be decreased.
2019-09-05 13:28:42 +02:00
Jordi Boggiano
cbf670fa59 Merge pull request #1370 from driesvints/patch-1
Remove versions from Laravel integration
2019-09-05 12:16:36 +02:00
Dries Vints
012f8cd194 Remove versions from Laravel integration
We recently released v6.0 so maybe we shouldn't mention the versions anymore. Monolog will probably always remain with the framework.
2019-09-05 12:13:19 +02:00
Jordi Boggiano
9a6f71466a Merge pull request #1364 from lyrixx/future
Backport Interface and Trait from master to 1.X
2019-09-05 11:16:49 +02:00
Grégoire Pineau
6d76eaaf76 Backport Interface and Trait from master to 1.X 2019-09-05 11:02:35 +02:00
Jordi Boggiano
8b09fd78aa Merge pull request #1368 from gmsantos/patch-1
Update exception message in InsightOpsHandler
2019-09-02 08:54:59 +02:00
Gabriel Machado
0ffb4e2811 update exception message in InsightOpsHandler 2019-09-01 16:09:08 -03:00
Jordi Boggiano
21b1705c3e Merge pull request #1367 from pavog/patch-1
Use svg for build status directly from travis-ci
2019-08-30 15:46:16 +02:00
Paul Vogel
f4026e73c9 Use svg for build status directly from travis-ci
Since there is no reason to use shields for the build status badge we can use it directly from travis-ci
2019-08-30 14:03:35 +02:00
Jordi Boggiano
68545165e1 Update changelog 2.0.0 2019-08-30 11:56:44 +02:00
Jordi Boggiano
f954b4ea84 Update changelog 2019-08-30 11:46:18 +02:00
Jordi Boggiano
9b5deda678 Merge pull request #1290 from versh23/fix-gelp-formtatter
use mb_ functions everywhere if possible
2019-08-30 11:20:47 +02:00
Jordi Boggiano
57b286f3d1 Reuse normalizeException from NormalizerFormatter in JsonFormatter, fixes #1366 2019-08-30 10:40:17 +02:00
Jordi Boggiano
acf8e9e9a3 Merge branch '1.x' 2019-08-30 10:39:21 +02:00
Jordi Boggiano
5668309060 Merge pull request #1363 from Seldaek/normalize_normalizers
Normalize the way backtraces are normalized and remove args for special cases
2019-08-30 10:32:15 +02:00
Jordi Boggiano
ab4757ddf8 Merge branch '1.x' into normalize_normalizers 2019-08-30 10:27:19 +02:00
Jordi Boggiano
2efcbcd181 Remove closure stack frames entirely from log 2019-08-30 10:24:17 +02:00
Jordi Boggiano
6688b45ebe Normalize the way backtraces are normalized and remove args for special cases, fixes #1346 2019-08-16 13:09:47 +02:00
Jordi Boggiano
4976375873 Update changelog 2019-08-16 13:00:02 +02:00
Jordi Boggiano
66ee473ab4 Merge branch '1.x' 2019-08-16 12:54:52 +02:00
Jordi Boggiano
1b5341b08b Update changelog 2019-08-16 12:54:42 +02:00
Jordi Boggiano
2eefb0596d Fix tests, refs #1352 2019-08-16 09:46:27 +02:00
Jordi Boggiano
c5a5461624 Merge remote-tracking branch 'Pierre-Lannoy/patch-1' 2019-08-16 09:42:40 +02:00
Jordi Boggiano
b615b158e4 Fix class import and indenting 2019-08-16 09:13:44 +02:00
Pierre Lannoy
144f2299ed Improvement for the fix
To follow @Seldaek improvement recommendations.
Sorry for the rookie mistakes :)
2019-08-15 23:23:59 +02:00
Jordi Boggiano
b78de556de Merge pull request #1359 from MarioBlazek/feature_upgrade_phpunit_to_v8
Upgrade PHPUnit to v8
2019-08-15 21:32:19 +02:00