Jordi Boggiano
f16e1d5863
Merge pull request #84 from phily245/log-level-return-type
...
Restore a phpdoc
3.0.2
2024-09-11 15:17:53 +02:00
Phil Young
1a37735942
Restore a phpdoc
...
v3.0.1 removed this line at 79dff0b268 (diff-ece1cc9e2cbefb0d1c511f88ab22703e9a402b9ca071df66704f1106c1433ad4L116) (in PR https://github.com/php-fig/log/pull/80 ), however it isn't covered by a typehint so broke static analysis checks in consuming applications/packages using this interface
2024-09-09 16:39:09 +01:00
Jordi Boggiano
79dff0b268
Merge pull request #80 from lyrixx/return
...
Drop useless phpdoc, already covered by PHP
3.0.1
2024-08-21 15:31:24 +02:00
Grégoire Pineau
33208d4065
Drop useless phpdoc, already covered by PHP
2024-03-26 10:55:47 +01:00
Larry Garfield
fe5ea303b0
Merge pull request #77 from Crell/v3
...
Add return types for v3
3.0.0
2021-07-14 11:46:02 -05:00
Larry Garfield
4f25c9a93c
Add return types.
2021-07-14 11:44:30 -05:00
Larry Garfield
ef29f6d262
Merge pull request #76 from Crell/v2
...
Update parameter and property types for version 2
2.0.0
2021-07-14 11:41:46 -05:00
Larry Garfield
41f72181b8
Switch to standard PSR-4 directory structure.
2021-06-09 12:31:53 -05:00
Larry Garfield
957f4658d4
Fold AbstractLogger and LoggerTrait together.
2021-06-05 12:15:22 -05:00
Larry Garfield
91ef2151f6
Add property type.
2021-06-05 12:15:22 -05:00
Larry Garfield
ce57d91bc6
Add parameter types.
2021-06-04 11:55:54 -05:00
Larry Garfield
4165cf6c29
Require PHP 8.0 for Stringable support.
2021-06-04 11:54:46 -05:00
Larry Garfield
8beb7546e5
Remove outdated test files.
2021-06-04 11:40:16 -05:00
Jordi Boggiano
d49695b909
Merge pull request #74 from Jeckerson/master
...
Clarify type of 2nd argument `context`
1.1.4
2021-05-03 13:20:27 +02:00
Anton Vasiliev
732030c42f
Make type of 2nd argument context compliant with LoggerInterface
2021-05-03 09:31:33 +01:00
Anton Vasiliev
461c57903f
Revert "Clarify type of 2nd argument context"
...
This reverts commit 1ec9f7ab
2021-05-03 09:25:57 +01:00
Anton Vasiliev
1ec9f7ab90
Clarify type of 2nd argument context
2021-05-02 10:56:54 +01:00
Jordi Boggiano
a18c1e692e
Merge pull request #73 from varfrog/patch-1
...
Fix the phpdoc of LoggerAwareTrait::$logger
2021-03-02 16:02:34 +01:00
Arnoldas Grigutis
e6956f5c99
Fix the phpdoc of LoggerAwareTrait::$logger
...
The phpdoc lies. It says that the property $logger is always LoggerInterface. This property might not be initialised, so we need to specify it in the phpdoc.
2021-03-02 15:31:56 +02:00
Alessandro Lai
dd738d0b44
Merge pull request #71 from J0WI/patch-1
...
Update url to HTTPS
2020-09-18 08:44:51 +02:00
J0WI
2b71ffbefc
Update url to HTTPS
2020-09-17 16:34:34 +00:00
Jordi Boggiano
0f73288fd1
Merge pull request #70 from greg0ire/better-typehints
...
Be explicit about mixed context elements
1.1.3
2020-03-23 10:12:05 +01:00
Grégoire Paris
587a6ac32e
Be explicit about mixed context elements
...
If we do not do that, SA tools like PHPStan ask that the type be
documented more precisely in implementations.
2020-03-22 14:05:06 +01:00
Tobias Nyholm
e1cb6eca27
Use PSR-4 for all classes ( #69 )
2020-02-28 09:38:25 +01:00
Sam Reed
5628725d0e
Create .gitattributes ( #67 )
2019-11-12 17:45:05 +01:00
sebastianstucke87
446d54b4cb
Add "exception"-context array key to docs
1.1.2
2019-11-01 12:05:21 +01:00
Jordi Boggiano
d477130b23
Merge pull request #66 from WyriHaximus-labs/extract-DummyTest-into-its-own-file-and-return-empty-string-from-___toString
...
Return string from DummyTest::__toString
2019-10-30 10:18:31 +01:00
Cees-Jan Kiewiet
79736b460b
Return string from DummyTest::__toString
2019-10-29 19:40:42 +01:00
Jordi Boggiano
bf73deb2b3
Merge pull request #55 from DQNEO/namespaced-phpunit
...
use namespaced PHPUnit
1.1.1
2019-10-25 10:06:51 +02:00
Jordi Boggiano
bb2d0b3bee
Remove alias as PHPUnit 4.8.35+ ships with it which is supporting PHP 5.3
2019-10-25 10:06:28 +02:00
Jordi Boggiano
41b769c9cf
Merge pull request #63 from ArturGoldyn/patch-1
...
Update TestLogger.php
2019-10-25 09:55:17 +02:00
Jordi Boggiano
fb0003be8b
Merge pull request #51 from Fleshgrinder/throws-annoation
...
Added throws annoation to log methods
2019-10-25 09:54:18 +02:00
DQNEO
e50f69c5f3
Remove redundant leading backslashes
2019-08-24 13:46:13 +09:00
ArturGoldyn
db36f22939
Update TestLogger.php
...
Also reset recordsByLevel array using reset() method
2019-06-17 17:22:50 +02:00
Alessandro Lai
c4421fcac1
Merge pull request #58 from lyrixx/patch-1
...
Bump version to `1.1.x-dev`
2018-11-21 14:42:00 +01:00
Grégoire Pineau
b460f19be2
Bump version to 1.1.x-dev
...
1.1.0 has been released: https://github.com/php-fig/log/releases/tag/1.1.0
2018-11-21 14:10:15 +01:00
Alessandro Lai
6c001f1daa
Merge pull request #57 from gmponos/patch-2
...
Create a new TestLogger
1.1.0
2018-11-20 16:27:04 +01:00
Alessandro Lai
f6453a87c9
Merge pull request #54 from RGustBardon/master
...
Test if the context array accepts closed resources
2018-11-20 14:20:37 +01:00
Mponos George
8fcc182531
Create a new TestLogger
2018-11-20 09:02:44 +02:00
DQNEO
2d7be5c62f
make alias from old one
2018-04-04 01:27:56 +09:00
DQNEO
1be996433a
make alias when new class does not exist
2018-04-04 01:26:41 +09:00
Alessandro Lai
3490ba5925
Merge pull request #53 from freekmurze/patch-1
...
Make it a little bit easier to install this package
2018-04-03 17:59:15 +02:00
DQNEO
e2250cd8af
fix white space
2018-04-03 00:19:47 +09:00
DQNEO
f7e1ff5ac0
avoid side effect
2018-04-03 00:09:40 +09:00
DQNEO
c83175653e
use namespaced PHPUnit and keep B.C.
2018-04-03 00:02:09 +09:00
Robert Gust-Bardon
d6f3561053
Test if the context array accepts closed resources
2017-12-26 14:03:26 -06:00
Freek Van der Herten
30461e13e6
Make it a little bit easier to install this package
2017-07-03 00:07:13 +02:00
Richard Fussenegger
4aa23b5e21
Added throws annoation to log methods
2017-03-14 21:14:16 +01:00
Jordi Boggiano
4ebe3a8bf7
Merge pull request #49 from mindplay-dk/master
...
return types were incorrectly hinted as `null`, should be `void`
1.0.2
2016-10-10 14:19:37 +02:00
Jordi Boggiano
607ce1d400
Fix phpunit compatibility
2016-09-25 15:41:54 +02:00