Tags: hexydec/cssdoc
Tags
Added `@layer` directive to list of nested directives. Updated `directive::parse()` to set a new `empty` property, for detecting when a directive has curly brackets, but no content, enabling directives with just properties not to be deleted. Added tests. Updated dependencies.
Updated type hints to correct types where `#[\ReturnTypeWillChange]` … …as the software now only supports PHP 8.0+. Added type hints where `mixed` is required. Added union type hints on arguments and return types where missing. Commented out new code that is not working yet.
Removed the type hint `mixed` as it is not compatible with PHP 7.4. Added #[\ReturnTypeWillChange] to methods that return mixed for PHP 8.1 compatibility. Fixed some docblock issues. Updated usage of `str...` functions to be `mb_str...`. Fixed issue in `value::minify()` where if the `decimalplaces` setting was false it would be treated as `0`. Added tests.
PreviousNext