Commit 69764a7
fix: EnumCaseToPascalCaseRector skips existing pascal case (#7264)
* fix: EnumCaseToPascalCaseRector skips existing pascal case
* use existing convertToPascalCase
---------
Co-authored-by: Abdul Malik Ikhsan <samsonasik@gmail.com>1 parent ecc0cf7 commit 69764a7
2 files changed
Lines changed: 24 additions & 2 deletions
File tree
- rules-tests/CodingStyle/Rector/Enum_/EnumCaseToPascalCaseRector/Fixture
- rules/CodingStyle/Rector/Enum_
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
Lines changed: 13 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
191 | | - | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
192 | 203 | | |
193 | 204 | | |
0 commit comments