Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 2 additions & 19 deletions build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 364 Rules Overview
# 363 Rules Overview

<br>

Expand All @@ -8,7 +8,7 @@

- [CodeQuality](#codequality) (71)

- [CodingStyle](#codingstyle) (31)
- [CodingStyle](#codingstyle) (30)

- [DeadCode](#deadcode) (42)

Expand Down Expand Up @@ -2003,23 +2003,6 @@ Changes negate of empty comparison of nullable value to explicit === or !== comp

<br>

### NullifyUnionNullableRector

Changes already typed Type|null to ?Type

- class: [`Rector\CodingStyle\Rector\Property\NullifyUnionNullableRector`](../rules/CodingStyle/Rector/Property/NullifyUnionNullableRector.php)

```diff
final class SomeClass
{

- private null|stdClass $property;
+ private ?stdClass $property;
}
```

<br>

### PostIncDecToPreIncDecRector

Use ++$value or --$value instead of `$value++` or `$value--`
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

134 changes: 0 additions & 134 deletions rules/CodingStyle/Rector/Property/NullifyUnionNullableRector.php

This file was deleted.

2 changes: 0 additions & 2 deletions utils/Command/MissingInSetCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

use Nette\Utils\Strings;
use Rector\CodingStyle\Rector\ClassMethod\DataProviderArrayItemsNewlinedRector;
use Rector\CodingStyle\Rector\Property\NullifyUnionNullableRector;
use Rector\Core\Contract\Rector\ConfigurableRectorInterface;
use Rector\DeadCode\Rector\StmtsAwareInterface\RemoveJustPropertyFetchRector;
use Rector\TypeDeclaration\Rector\BooleanAnd\BinaryOpNullableToInstanceofRector;
Expand Down Expand Up @@ -95,7 +94,6 @@ final class MissingInSetCommand extends Command
private const SKIPPED_RULES = [
ConfigurableRectorInterface::class,
RemoveJustPropertyFetchRector::class,
NullifyUnionNullableRector::class,
DeclareStrictTypesRector::class,
// optional
DataProviderArrayItemsNewlinedRector::class,
Expand Down