Commit f7b87f3
[Php85] Do not convert to pipe on use directly of spread operator on NestedFuncCallsToPipeOperatorRector (#7938)
* Create spread_operator_stays.php.inc
The spread operator should not be removed when changing to pipe operator
* [Php85] Do not convert to pipe on use directly of spread operator on NestedFuncCallsToPipeOperatorRector
* [ci-review] Rector Rectify
* final touch: return
---------
Co-authored-by: Anna Damm [CHECK24] <167064895+annadamm-check24@users.noreply.github.com>
Co-authored-by: GitHub Action <actions@github.com>1 parent d7bb039 commit f7b87f3
File tree
3 files changed
+28
-5
lines changed- rules-tests/Php85/Rector/Expression/NestedFuncCallsToPipeOperatorRector/Fixture
- rules/Php85/Rector/Expression
- src/ChangesReporting/Output
3 files changed
+28
-5
lines changedLines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
148 | 153 | | |
149 | 154 | | |
150 | 155 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
| 60 | + | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
| 68 | + | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
0 commit comments