Releases: cxj/phpsyslog
Revised and modernized
This release updates the code in the following ways:
- Type hints all parameters and returns, now passes PHPStan level 6.
- Moves PHP version to 7.4.
- Updates development tooling to use modern self-contained PHPUnit and PHPStan.
- Replaces
require: icecave\isolatorwithrequire-dev: php-mock/php-mock-phpunitto remove the PHP global function calls with mocks only during testing, instead of having the proxy running in the library at all times.
1.1.6
1.1.5
1.1.4
Windows compatabilty and PHP 5.4 support
Change the default options and facility constants to add support for Windows platforms and PHP 5.4 versions.
Composer dependency bug fix
PHP 5.4 does not support this code, but the composer.json file included wrongly indicated that PHP 5.4 was sufficient. It's not; you'll need PHP 5.5+.
Point release
Functionally, this release is the same as the previous release. This point release only updates the README.md to make more coherent sense with the changes made in the past release. One can still (of course) change the source code to modify constants, or override the class. But it's not necessary just to be able to tweak the 2 syslog parameters newly added to the constructor.
More control
This release adds backward compatible changes to allow more control of the underlying syslog parameters, namely Facility, Ident, Options and Minimum log level (priority). These can be optionally passed to the constructor, or they can be set and examined later via setter and getter methods for each.
First release.
v1.0 Hotten the links by adding the URLs.