Repository navigation
Commit 1598dd7
committed
[dx] Deprecate ExplicitBoolCompareRector
Array and object bool compares have dedicated rules; the remaining behavior is an opinionated approach that depends on context. Replace the body with a deprecation message, remove its tests, and unregister it from the if set.
Claude-Session: https://claude.ai/code/session_012HQ19gVsT8wVkekuVqVXGx1 parent ac496d5 commit 1598dd7
20 files changed
Lines changed: 9 additions & 803 deletions
File tree
- config/set
- rules-tests/CodeQuality/Rector/If_/ExplicitBoolCompareRector
- Fixture
- config
- rules/CodeQuality/Rector/If_
- tests/Issues/Issue7306
- Fixture
- config
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
| |||
22 | 21 | | |
23 | 22 | | |
24 | 23 | | |
25 | | - | |
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments