Skip to content

Commit 48c34b5

Browse files
Do not use implicitly nullable parameters and prepare release
1 parent ca2bd87 commit 48c34b5

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

ChangeLog-9.2.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
44

5+
## [9.2.31] - 2024-03-02
6+
7+
### Changed
8+
9+
* Do not use implicitly nullable parameters
10+
511
## [9.2.30] - 2023-12-22
612

713
### Changed
@@ -505,6 +511,7 @@ All notable changes are documented in this file using the [Keep a CHANGELOG](htt
505511

506512
* This component is no longer supported on PHP 7.1
507513

514+
[9.2.31]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.30...9.2.31
508515
[9.2.30]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.29...9.2.30
509516
[9.2.29]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.28...9.2.29
510517
[9.2.28]: https://github.com/sebastianbergmann/php-code-coverage/compare/9.2.27...9.2.28

src/Node/AbstractNode.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ abstract class AbstractNode implements Countable
4646
*/
4747
private $id;
4848

49-
public function __construct(string $name, self $parent = null)
49+
public function __construct(string $name, ?self $parent = null)
5050
{
5151
if (substr($name, -1) === DIRECTORY_SEPARATOR) {
5252
$name = substr($name, 0, -1);

src/Version.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ final class Version
2222
public static function id(): string
2323
{
2424
if (self::$version === null) {
25-
self::$version = (new VersionId('9.2.30', dirname(__DIR__)))->getVersion();
25+
self::$version = (new VersionId('9.2.31', dirname(__DIR__)))->getVersion();
2626
}
2727

2828
return self::$version;

0 commit comments

Comments
 (0)