Skip to content

Commit 06f5530

Browse files
committed
Add changelog entry for version 3.0.2
Fixed a testcase in TypeHintingArgumentsFixerTest.
1 parent 615d407 commit 06f5530

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@ Semantic Versioning is maintained only for the following:
1111
The fixers themselves can change their behavior on any update.
1212
New fixers could be added with minor releases, this would require changes in configuration if migration mode is used.
1313

14+
## 3.0.2
15+
16+
### Changed
17+
- ChainedMethodCallsFixer refactored for the proper whitespaces, new lines etc.
18+
- DefaultValuesInConstructorFixer refactored
19+
- ConditionResultsFixer fixed a bug when trying to get not existed token index+1
20+
- TypeHintingArgumentsFixer to work correctly with nullable (?type) and other arguments.
21+
- ChainedMethodCallsFixerTest - testcases added
22+
- DefaultValuesInConstructorFixerTest - testcases added
23+
1424
## 3.0.1
1525

1626
### Changed

tests/Fixer/PhpBasic/Feature/TypeHintingArgumentsFixerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ class Sample
3737
/**
3838
* @param int|null $constraint
3939
*/
40-
public function validate($constraint = null)
40+
public function validate(int $constraint = null)
4141
{
4242
if ($constraint === null) {
4343
return $constraint;

0 commit comments

Comments
 (0)