Releases: chillerlan/php-settings-container
Releases · chillerlan/php-settings-container
4.0.0
3.3.0
- Adjusted the behaviour of several methods in order to properly support property hooks in PHP 8.4+.
- Added the methods
SettingsContainerAbstract::hasSetHook()andSettingsContainerAbstract::hasGetHook()to check for existing property hooks. - Added the protected constants
SettingsContainerAbstract::SET_PREFIXandSettingsContainerAbstract::GET_PREFIX - Added the attribute
ThrowOnInvalidPropertyto tell the magic get/set methods whether to throw when a property is inaccessible via the methodSettingsContainerAbstract::throwOnInvalidProperty(). - dependency updates
(i somehow forgot to tag this earlier...)
2.1.6
SettingsContainerAbstract::toJSON()will now always throw aJsonExceptionon error, regardless of the given$jsonOptionsSettingsContainerAbstract::toArray()now runs the object values through the magic getter (as it always should have)- added explicit nullable types to several method parameters
- added
declare(strict_types=1) - switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
- CI & dependency updates
(backport of v 3.2.x except for serialize support)
3.2.1
SettingsContainerAbstract::toJSON()will now always throw aJsonExceptionon error, regardless of the given$jsonOptions- switched static analysis from phan to phpstan (see chillerlan/php-qrcode#277)
- CI & dependency updates
3.2.0
- implements the
Serializableinterface SettingsContainerAbstract::toArray()now runs the object values through the magic getter (as it always should have)- added explicit nullable types to several method parameters
- added
declare(strict_types=1) - dependency & CI updates
3.1.1
- CI updates
2.1.5
- removed examples namespace
- CI updates
1.2.3
3.1.0
- return
staticinstead of <interface> - CI updates
3.0.0
- dropped support for PHP < 8.1