diff --git a/ChangeLog-9.2.md b/ChangeLog-9.2.md index 39d086a79..9ef6be338 100644 --- a/ChangeLog-9.2.md +++ b/ChangeLog-9.2.md @@ -2,6 +2,12 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. +## [9.2.31] - 2024-03-02 + +### Changed + +* Do not use implicitly nullable parameters + ## [9.2.30] - 2023-12-22 ### Changed @@ -505,6 +511,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt * This component is no longer supported on PHP 7.1 +[9.2.31]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.30...9.2.31 [9.2.30]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.29...9.2.30 [9.2.29]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.28...9.2.29 [9.2.28]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.27...9.2.28 diff --git a/src/Node/AbstractNode.php b/src/Node/AbstractNode.php index 60d6391d3..330fb5736 100644 --- a/src/Node/AbstractNode.php +++ b/src/Node/AbstractNode.php @@ -46,7 +46,7 @@ abstract class AbstractNode implements Countable */ private $id; - public function __construct(string $name, self $parent = null) + public function __construct(string $name, ?self $parent = null) { if (substr($name, -1) === DIRECTORY_SEPARATOR) { $name = substr($name, 0, -1); diff --git a/src/Version.php b/src/Version.php index 52a67772c..1753a97b2 100644 --- a/src/Version.php +++ b/src/Version.php @@ -22,7 +22,7 @@ final class Version public static function id(): string { if (self::$version === null) { - self::$version = (new VersionId('9.2.30', dirname(__DIR__)))->getVersion(); + self::$version = (new VersionId('9.2.31', dirname(__DIR__)))->getVersion(); } return self::$version;