1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-21 08:36:33 +02:00
Commit Graph

1666 Commits

Author SHA1 Message Date
Jordi Boggiano
d33d11f264 Cache version_compare call, refs #884 2016-11-13 19:57:51 +01:00
Jordi Boggiano
fe94f2f1ad Merge pull request #884 from nikolaposa/fix/mongodb-formatter-date
Fixing date/time formatting in MongoDBFormatter
2016-11-13 19:53:29 +01:00
Jordi Boggiano
b21b465cca Fix Redis test failures 2016-11-13 19:50:36 +01:00
Jordi Boggiano
b85b5bc3e7 Merge pull request #880 from siwinski/pr-fix-test-for-sentry-gte-0-16-0
Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
2016-11-13 19:50:22 +01:00
Jordi Boggiano
9da099717b Cast toJson to string in case it returns false, fixes #878 2016-11-13 19:36:50 +01:00
Nikola Posa
b064f86b41 Fixing date/time formatting in MongoDBFormatter. 2016-11-10 20:57:05 +01:00
Jordi Boggiano
cb88cc82de Merge pull request #881 from aryeguy/patch-1
Added return type annotation
2016-11-07 09:56:29 +01:00
Jordi Boggiano
fd127027cd Use type hints instead of phpdoc 2016-11-07 09:56:02 +01:00
Guy Arye
9549056015 Added return type annotation 2016-11-07 09:46:10 +02:00
Shawn Iwinski
2dd4a0fa3d Fix tests for sentry/sentry >= 0.16.0 (and < 1.0)
From composer.json: `"sentry/sentry": "^0.13"`
Latest 0.x `sentry/sentry`: 0.22.0

sentry/sentry 0.16.0 changed the function signature of Raven_Client::capture():
0.16.0: `public function capture($data, $stack = null, $vars = null)`
0.15.0: `public function capture($data, $stack, $vars = null)`

While the test suite silently passes with PHP < 7.1, running the test suite with
PHP 7.1 fails with the following error:
`Declaration of Monolog\Handler\MockRavenClient::capture($data, $stack, $vars = NULL)
should be compatible with Raven_Client::capture($data, $stack = NULL, $vars = NULL)`
2016-11-06 11:11:41 -05:00
Jordi Boggiano
918922daee Merge pull request #876 from jeroenseegers/patch-1
Minimum required PHP version in README
2016-10-31 15:20:07 +01:00
Jordi Boggiano
40293f32d9 Point users to older release to avoid confusion on the default README 2016-10-31 15:19:59 +01:00
Jeroen Seegers
1536d3f9d1 Minimum required PHP version in README
Updated the minimum required PHP version in README from 5.3 to 7.0 as detailed in `composer.json`.

Fixes #873
2016-10-31 12:02:34 +01:00
Jordi Boggiano
58544af7ff Merge pull request #861 from merorafael/patch-1
Added Yii2 component on README.mdown
2016-10-04 10:02:32 +02:00
Rafael Mello
964f278b5a Update README.mdown
Added Yii2 plugin
2016-10-03 16:28:51 -03:00
Jordi Boggiano
0d01b2c8c7 Merge branch '1.x' 2016-10-03 20:31:55 +02:00
Jordi Boggiano
214b8ef34b Add total amount of items when aborting traversable normalization 2016-10-03 20:31:30 +02:00
Jordi Boggiano
3884c922ee Merge branch '1.x' 2016-09-29 09:29:36 +02:00
Jordi Boggiano
7f135e9ed0 Add support for consumed generators in NormalizerFormatter, fixes #838 2016-09-29 09:29:30 +02:00
Jordi Boggiano
75c37161d5 Merge branch '1.x' 2016-09-29 09:18:55 +02:00
Jordi Boggiano
11df1db3d6 Skip phan error 2016-09-29 09:17:54 +02:00
Jordi Boggiano
6bf91fa40a Make sure MercurialProcessor fails gracefully 2016-09-29 09:17:31 +02:00
Jordi Boggiano
d72b886978 Add support for AWS SDK v3 2016-09-29 09:17:17 +02:00
Jordi Boggiano
7ce63f9644 Add missing export-ignore, refs #856 2016-09-26 10:53:33 +02:00
Jordi Boggiano
5ce1c921ad Fix type errors, thanks phan 2016-09-25 22:11:37 +02:00
Jordi Boggiano
85792c8818 Make use of random_bytes for better uniqueness 2016-09-25 21:23:55 +02:00
Jordi Boggiano
6e6586257d Add scalar types to processor/formatters and top level classes 2016-09-25 21:23:35 +02:00
Jordi Boggiano
760dc44ebd Remove redundant setTimezone call 2016-09-25 18:39:28 +02:00
Jordi Boggiano
bb61bfbe3b When newlines are allowed in LineFormatter, unpack json_encoded blobs containing newlines into multiline strings, fixes #752 2016-09-25 18:22:52 +02:00
Jordi Boggiano
96f4fd718f CS fixes 2016-09-25 17:46:38 +02:00
Jordi Boggiano
941c21b793 Merge branch '1.x' 2016-09-25 17:41:12 +02:00
Jordi Boggiano
40b4891030 Make sure SyslogUdpHandler does not create empty frames where not necessary, fixes #841 2016-09-25 17:30:37 +02:00
Jordi Boggiano
8f5c153b69 Merge pull request #840 from krzysiekpiasecki/master
Declaring That a Logger Can Throw an Exception
2016-09-25 17:23:03 +02:00
Jordi Boggiano
9f8d34afae Tweak RollbarHandler to use proper levels and include level and level_name in context info, fixes #852 2016-09-25 17:03:54 +02:00
Jordi Boggiano
d8dee1cc15 Merge branch '1.x' 2016-09-25 16:48:01 +02:00
Jordi Boggiano
ffc421a4fd Make hg test optional 2016-09-25 16:47:31 +02:00
Jonathan A. Schweder
240b7458dd add MercurialProcessor 2016-09-25 16:39:55 +02:00
Jordi Boggiano
5bbbac0ce9 Maybe now? 2016-09-25 16:29:20 +02:00
Jordi Boggiano
27e439ee41 Fix datetime rounding errors on travis 2016-09-25 16:20:46 +02:00
Jordi Boggiano
f785ebab27 Add caching on travis builds 2016-09-25 16:17:28 +02:00
Jordi Boggiano
f9a60a118d Enable redis ext on travis 2016-09-25 16:14:17 +02:00
Jordi Boggiano
28742b656f Undo this LocalSocket fiasco, fix tests for latest phpunit 2016-09-25 16:07:01 +02:00
Jordi Boggiano
3dc7a79a3e Fixing the socket mess, maybe. 2016-09-19 23:14:24 +02:00
Jordi Boggiano
a0f59df992 Add debug mode to make travis spit it out 2016-09-19 19:03:08 +02:00
Jordi Boggiano
b108200b0b Fix lower tests 2016-09-19 19:02:50 +02:00
Jordi Boggiano
4d6592a348 Bypass composer to avoid timeouts on travis 2016-09-19 18:35:41 +02:00
Jordi Boggiano
c6a9f28e24 Fix a ton of tests for latest phpunit and turn faked-stream tests into real network tests with a local server 2016-09-19 18:20:42 +02:00
Jordi Boggiano
d3c8c9bea1 Add php7.1 build 2016-09-19 13:35:50 +02:00
Jordi Boggiano
5a501834c0 Fix MongoDBFormatter 2016-09-19 13:31:41 +02:00
Jordi Boggiano
5558c3b26b Minor clarifications 2016-09-19 13:29:35 +02:00