Repository navigation
Commit 364dd06
committed
[Analyzer] Remove Demo rule; cover SimpleScope::isObjectType() with a unit test
The demo rule was only a scaffold; the real RemoveReflectionSetAccessibleCallsRector
now exercises SimpleScope. Add an isObjectType() test so the method stays covered.1 parent 0927a46 commit 364dd06
8 files changed
Lines changed: 15 additions & 226 deletions
File tree
- rules-tests/Simple/Rector/ClassMethod/DemoObjectMethodCallRenameRector
- Fixture
- config
- rules/Simple/Rector/ClassMethod
- tests/Analyzer/SimpleScope
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
41 | 56 | | |
42 | 57 | | |
43 | 58 | | |
| |||
0 commit comments