fig/log-test
Test utilities for the psr/log package that backs the PSR-3 specification.
1.2.1
3.1M downloads/mo
#2235 most downloaded on Packagist
php-fig/log-test
What this package is like to depend on
Last release 9 months ago
11 Nov 2025
Ships unpredictably
gaps range from 2 weeks to 3.0 years
Nearly every release is documented
notes for 4 of 4 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
4 releases · first in 2022
2 releases in the last 12 months
see the full history below
Release timeline
4 releases · Sep 2022 to Nov 2025
2023
2024
2025
2026
Releases
latest 4-
1.2.111 Nov 2025Release notes
Open source →What's Changed
- Widen context type to mixed[] by @derrabus in #21
- array offset (
level,message,context) should not be guarantee for hasRecord() by @sasezaki in #19 - Allow mixed types for $level and normalize them in case non-int|string levels are passed in by @Seldaek in #24
New Contributors
Full Changelog: 1.2.0...1.2.1
-
1.2.027 Oct 2025Release notes
Open source →What's Changed
- Added optional PSR-3 message placeholder interpolation to TestLogger by @sasezaki in #16
- Added testing keyword to promote adding as require-dev by @sasezaki in #6
- Update hasRecord() PHPDoc type hint, reflecting the actual method implementation by @sasezaki in #14
- Added more recent PHP versions to CI by @ralflang in #5
- Add PHP 8.4 to test matrix by @sasezaki in #7
- Test with PHPUnit 10, 11 by @sasezaki in #8
- More precise type annotations by @sasezaki in #15
- refine .gitattributes by @sasezaki in #13
- CS related fixes by @sasezaki in #12
New Contributors
Full Changelog: 1.1.0...1.2.0
-
1.1.018 Oct 2022Release notes
Open source →Added
- Import classes from [
psr/log][]v1.1.4, for compatibility withv2.0.0andv3.0.0.
- Import classes from [
-
1.0.007 Sep 2022Release notes
Open source →Changed
- Compatible with PHP 7.4 and 8.x. Dropped support for lower versions as Test class is marked @requires PHP 7.4
- Initial release. This ports the test for and from [
psr/logv1.1][], according to [decision][1]. [psr/log]: https://packagist.org/packages/psr/log [1]: https://github.com/php-fig/log/pull/76#issuecomment-858743302