Elan Ruusamäe
3606a19b6e
Fix ErrorLogHandler type int: $messageType accepts only SAPI and OS ( #1933 )
2025-03-15 14:07:26 +01:00
Jordi Boggiano
f43e3d5637
Upgrade phpstan, phpunit ( #1923 )
...
* Upgrade phpstan, phpunit
* Fix phpunit deprecation
* Fix hg tests
* Fix php-console tests
* Fix phpunit on 8.1
* Bump phpconsole
2024-11-11 15:21:55 +01:00
Christoph Dreis
3ba77d1d39
Use fully-qualified name for native functions ( #1887 )
2024-06-28 10:45:25 +02:00
Thomas Müller
616c675160
add some @throws in constructors ( #1779 )
2023-02-04 16:26:41 +01:00
Jordi Boggiano
1dacc790b9
Remove LevelName enum in favor of a Level::getName method, fixes #1667 ( #1668 )
2022-05-10 11:15:16 +02:00
Jordi Boggiano
bd5968a567
Add missing types to constructor args
2022-04-24 11:17:17 +02:00
Jordi Boggiano
7952a83e0c
Move phpdoc to native types
2022-04-20 09:21:58 +02:00
Jordi Boggiano
2695fa86cd
CI fixes
2022-04-19 22:16:53 +02:00
Jordi Boggiano
2d006a8472
Convert level/levelName to enums ( #1656 )
2022-04-19 21:49:03 +02:00
Jordi Boggiano
5eb9b8ed93
Code cleanups
2022-03-21 14:18:54 +01:00
Jordi Boggiano
22c8b19358
Add LogRecord class, drop PHP <8.1
2022-03-21 14:18:53 +01:00
Juan Morales
82ab6a5f4f
Fixes php8 non-backward compatible changes ( #1568 )
...
* Utils method added to resolve PCRE error messages properly
2021-07-23 09:16:39 +02:00
Jordi Boggiano
19542ed8ef
Normalize @inheritDoc tags, refs #1557
2021-07-08 15:23:09 +02:00
Jordi Boggiano
8b5278d8e1
Bump phpstan to level 8
2021-07-04 14:08:43 +02:00
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