1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-10-19 23:56:17 +02:00
Commit Graph

38 Commits

Author SHA1 Message Date
Jordi Boggiano
4a33226f25 Wrap up type-hint adding to all handlers 2018-11-19 23:28:33 +01:00
Jordi Boggiano
06143b03e5 Add a bunch of return types and fix type inconsistencies reports from phan 2018-07-04 14:14:08 +02:00
Jordi Boggiano
71afce5df7 Merge branch '1.x' 2018-06-18 11:34:19 +02:00
Klemen Bratec
e8db808dd3 Allow setting stream chunk size in SocketHandler (#1129) 2018-06-18 11:31:46 +02:00
Jordi Boggiano
bd7b28e5ee Merge branch '1.x' 2018-06-07 18:49:40 +02:00
Jordi Boggiano
8c4539f1fe More boolean=>bool 2018-06-07 18:45:07 +02:00
Erik Booij
ecdfdc9897 Rename Boolean in phpDocs to bool 2017-11-04 12:14:41 +01:00
Jordi Boggiano
5ce1c921ad Fix type errors, thanks phan 2016-09-25 22:11:37 +02:00
Martin Kačmar
c02b43e0e0 Fix for TypeError - stream_set_timeout() expects integer as second and third parameter 2016-06-15 17:01:22 +02:00
Jordi Boggiano
21dde4dedb Move to strict mode and fix tests 2016-05-27 13:44:00 +01:00
Remi Collet
8cfc819265 missing property 2016-03-25 17:25:05 +01:00
Jordi Boggiano
5085630fd6 Fix SlackHandler bug where slack drops some messages if the socket is closed too early, fixes #729 2016-03-07 12:29:57 +00:00
Jordi Boggiano
c889fb2648 CS fixes & upgrading cs fixer config 2015-11-18 17:09:46 +00:00
Danilo Silva
988d595351 set to 10 seconds the default timeout during writing data on a socket, to aovid possible issue and with a very low risk to break backward compatibility @Seldaek 2015-10-28 16:13:45 +01:00
Danilo Silva
65cc3083b6 exit prematurely when data has been written to avoid unnecessary time check @Seldaek 2015-10-28 16:12:09 +01:00
Danilo Silva
5c129a7f7f Avoid infinite loops when no data is written on a socket for a time greater than writingTimeout settings 2015-10-19 12:02:32 +02:00
Jordi Boggiano
c5b08724f4 Merge pull request #605 from localheinz/fix/docblock
Fix: Type should be bool
2015-07-14 10:27:59 +01:00
Jordi Boggiano
ca1376bd61 CS fixes 2015-07-14 10:26:05 +01:00
Andreas Möller
462ffe495a Enhancement: Rename parameter 2015-07-13 22:10:37 -04:00
Andreas Möller
a88d24ef45 Fix: Type should be boolean 2015-07-13 22:10:11 -04:00
Jordi Boggiano
b738a6c04c CS fixes 2014-10-17 19:12:45 +01:00
Grégoire Pineau
f3b61cf48a Fixed visibility 2014-09-08 20:01:00 +02:00
Jordi Boggiano
09d8747914 Specify port in the connection string instead of adding a protected property 2013-01-06 21:38:40 +01:00
Sebastian Goettschkes
2c0d390c0c Change visibility back to private 2012-10-24 20:54:22 +02:00
Sebastian Goettschkes
cb675ae10f Changing typo in variable name and default title for pushover message 2012-10-05 16:56:58 +02:00
Sebastian Goettschkes
f2bac1f351 Changing the SocketHandler to call generateDataStream when writing to socket
Now the write method does not to be overwritten when the format of the dataStream the Socket sends has to be altered in any way the formatter cannot handle (See the PushoverHandler for an example)
2012-09-24 13:13:18 +02:00
Sebastian Goettschkes
7d0bacf29c Rewriting the write method
Before, the write method would alter the $record array and then call parent::write().
Now the method builds the string which should be written into the stream and then does it himself.
I had to change two methods to be protected so the PushoverHandler could call them.
2012-09-09 21:10:42 +02:00
Sebastian Goettschkes
d6489bb3ae Adding a first version of PushoverHandler
The PushoverHandler sends messages to api.pushover.net. The class depends on the SocketHandler
I modified the SocketHandler to make it possible to change the port for subclasses (Pushover needs the explicit port 80 to work)
The tests only see if the content sent to the api is correct. The rest should be already covered in the tests for the Sockets.
2012-09-09 15:50:31 +02:00
Martin Hasoň
535cea507f Avoid memory leak in SocketHandler (substr function in the first iteration) 2012-08-02 13:21:20 +02:00
Martin Hasoň
26adcea582 Enabled float timeouts in SocketHandler 2012-08-02 13:10:43 +02:00
Jordi Boggiano
b42da84c12 Minor CS fixes, updated changelog 2012-04-22 16:36:31 +02:00
Pablo de Leon Belloc
a35db5bcdb SocketHandler: Coding standard fixes. Remove redundant test. 2012-04-01 20:43:39 -03:00
Pablo Belloc
bee3e1bca4 Remove SocketHandler's ConnecitonException and WriteToSocketException - replace them with \UnexpectedValueException and \RuntimeException respectively 2012-03-28 08:49:25 -03:00
Pablo de Leon Belloc
83e1e2d80a Improve tests on SocketHandler 2012-02-27 12:38:06 -03:00
Pablo Belloc
722cabc535 Remove old SocketTest. Fix CS issues 2012-02-26 14:17:19 -03:00
Pablo Belloc
9f5681fa81 add licensce and move @author to phpdoc 2012-02-26 12:03:42 -03:00
Pablo Belloc
d752f435b5 Remove Socket, PeristentSocket and MockSocket classes 2012-02-26 11:45:10 -03:00
Pablo Belloc
486cbb78ab Initial version 2012-02-25 20:37:04 -03:00