Repository navigation
Commit d90e42d
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 5df5391 commit d90e42d
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 | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | | - | |
13 | 11 | | |
14 | 12 | | |
15 | 13 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments