-
-
Notifications
You must be signed in to change notification settings - Fork 3
Description
From my understanding, this project have been created to extract utility classes that where provided by psr/log ^1.1 but removed from v2 (php-fig/log#76).
This repo should start with a v1.0.0 that provides nothing, but require psr/log ^1.1 which provides TestLogger and LoggerInterfaceTest.
Next, v1.1.0 requires psr/log ^2.0|^3.0 and php >=8.0.0 and provides the classes that were removed from this versions. Older PHP version don't have to be supported since psr/log >= 2.0.0 require PHP 8.0 (see composer.json).
For a project that uses the test classes, needs support for PHP 7 and allows all versions of psr/log, it would have the following requirements:
"require": {
"psr/log": "^1.1|^2.0|3.0"
},
"require-dev": {
"psr/log-utils": "^1.0"
}
Seen #2 (comment), but they don't provide a migration path and looks outdated but my proposition is to not change the class names.