Jordi Boggiano
4ef5da80ad
Fix CS
2021-07-04 14:04:52 +02:00
Jordi Boggiano
13d40f953f
More type fixes towards level 7
2021-07-04 14:04:52 +02:00
Jordi Boggiano
01d104aa78
Add Record/Level/LevelName type aliases and improve phpstan type coverage to level 6
2021-07-04 14:04:52 +02:00
Jordi Boggiano
a7984a640f
Merge remote-tracking branch 'gmponos/add_visibility_to_constants'
2018-11-29 19:41:58 +01:00
Jordi Boggiano
1c5b0b8ff4
Update return types
2018-11-19 14:40:54 +01:00
George Mponos
c68b71edeb
Add visibility to constants
2018-11-17 20:38:51 +02: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
41b8f5ebf4
CS fixes
2018-06-18 18:53:46 +02:00
Jordi Boggiano
84c0b58c4b
Merge pull request #1121 from glensc/patch-1
...
ErrorLogHandler: use strict comparison
2018-06-08 16:21:24 +02:00
Jordi Boggiano
bd7b28e5ee
Merge branch '1.x'
2018-06-07 18:49:40 +02:00
Elan Ruusamäe
276135c0fe
ErrorLogHandler: use strict comparison
...
otherwise `null` and `false` get accepted as valid types
2018-03-02 12:22:42 +02:00
Erik Booij
ecdfdc9897
Rename Boolean in phpDocs to bool
2017-11-04 12:14:41 +01:00
Westin Shafer
443e4a94fc
Minor code cleanup on Handler/ErrorLogHandler.php ( #995 )
...
Just some cleanup for readability.
2017-06-19 02:49:55 +02:00
Jordi Boggiano
21dde4dedb
Move to strict mode and fix tests
2016-05-27 13:44:00 +01:00
Jordi Boggiano
f200e79879
CS fixes
2016-05-26 20:54:06 +01:00
Jordi Boggiano
3d30ba5ecc
Add some return type hints and fix up HandlerWrapper
2016-03-01 17:35:54 +00:00
Jordi Boggiano
c889fb2648
CS fixes & upgrading cs fixer config
2015-11-18 17:09:46 +00:00
Jordi Boggiano
3030d3da4d
Add option to allow multiline logs in error_log, fixes #366
2014-05-19 18:18:53 +02:00
Jordi Boggiano
e9b8649151
Remove unnecessary ErrorLogFormatter, refs #357
2014-04-20 17:57:02 +02:00
Henrique Moody
56fb91f3c2
Remove new live from default error_log formatter
...
error_log() function already insert a new line at end of the given
message, this commit just remove the new line at end to remove the new
live duplication.
2014-04-11 19:55:24 -03:00
Henrique Moody
fd8b621a93
Refactored ErrorLogHandler to use constantes for types
...
- Create tests for ErrorLogHandler;
- Remove types 1, 2 and 3 in favor of specific handlers.
2013-08-01 14:05:08 -03:00
Jordi Boggiano
4277c5db4a
CS fixes
2013-07-29 00:08:51 +02:00
Elan Ruusamäe
788387bd80
add error_log handler
...
[error_log](http://www.php.net/manual/en/function.error-log.php ) handler
to send output to webserver SAPI handler (directly or indirectly)
2013-07-17 17:04:55 +03:00