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
25 changes: 2 additions & 23 deletions build/target-repository/docs/rector_rules_overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 355 Rules Overview
# 354 Rules Overview

<br>

Expand Down Expand Up @@ -40,7 +40,7 @@

- [Php80](#php80) (16)

- [Php81](#php81) (10)
- [Php81](#php81) (9)

- [Php82](#php82) (4)

Expand Down Expand Up @@ -5070,27 +5070,6 @@ Upgrade array callable to first class callable

<br>

### IntersectionTypesRector

Change docs to intersection types, where possible (properties are covered by TypedPropertyRector (@todo))

- class: [`Rector\Php81\Rector\FunctionLike\IntersectionTypesRector`](../rules/Php81/Rector/FunctionLike/IntersectionTypesRector.php)

```diff
final class SomeClass
{
- /**
- * @param Foo&Bar $types
- */
- public function process($types)
+ public function process(Foo&Bar $types)
{
}
}
```

<br>

### MyCLabsClassToEnumRector

Refactor MyCLabs enum class to native Enum
Expand Down
2 changes: 0 additions & 2 deletions config/set/php81.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Rector\Php81\Rector\ClassConst\FinalizePublicClassConstantRector;
use Rector\Php81\Rector\ClassMethod\NewInInitializerRector;
use Rector\Php81\Rector\FuncCall\NullToStrictStringFuncCallArgRector;
use Rector\Php81\Rector\FunctionLike\IntersectionTypesRector;
use Rector\Php81\Rector\MethodCall\MyCLabsMethodCallToEnumConstRector;
use Rector\Php81\Rector\MethodCall\SpatieEnumMethodCallToEnumConstRector;
use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
Expand All @@ -25,7 +24,6 @@
SpatieEnumClassToEnumRector::class,
SpatieEnumMethodCallToEnumConstRector::class,
NewInInitializerRector::class,
IntersectionTypesRector::class,
NullToStrictStringFuncCallArgRector::class,
FirstClassCallableRector::class,
]);
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.

147 changes: 0 additions & 147 deletions rules/Php81/Rector/FunctionLike/IntersectionTypesRector.php

This file was deleted.