Skip to content

Commit

Permalink
Force T? over T|null
Browse files Browse the repository at this point in the history
Resolves #8
  • Loading branch information
spawnia committed Jan 25, 2024
1 parent 8581432 commit 8ad5f33
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ You can find and compare releases at the [GitHub release page](https://github.co

## Unreleased

## v5.6.0

### Added

- Force `T?` over `T|null`

## v5.5.0

### Added
Expand Down
3 changes: 3 additions & 0 deletions config.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ function config(Finder $finder, array $ruleOverrides = []): Config
'no_superfluous_phpdoc_tags' => true,
'no_useless_else' => true,
'not_operator_with_successor_space' => true,
'nullable_type_declaration' => [
'syntax' => 'question_mark',
],
'operator_linebreak' => [
'position' => 'beginning',
],
Expand Down

0 comments on commit 8ad5f33

Please sign in to comment.