Commit ab587e6
committed
style: fix phpcs errors introduced by #416 refactor
- WorktreeContextInjector.php:590 — split the canonical-top-level array
declaration across multiple lines per WordPress.Arrays.ArrayDeclaration
Spacing.AssociativeArrayFound.
- WorktreeContextInjector.php:596 — flip the underscore-position guard to
Yoda style (`strlen( $key ) - 1 === $underscore`).
- WorktreeContextInjector.php:1557 — flip the handle equality check to
Yoda style (the casted lookup is now on the left).
No behavior change. All session-attribution smoke tests still pass.
Refs #4161 parent a55614d commit ab587e6
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
587 | 587 | | |
588 | 588 | | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
591 | 594 | | |
592 | 595 | | |
593 | 596 | | |
594 | 597 | | |
595 | 598 | | |
596 | | - | |
| 599 | + | |
597 | 600 | | |
598 | 601 | | |
599 | 602 | | |
| |||
1554 | 1557 | | |
1555 | 1558 | | |
1556 | 1559 | | |
1557 | | - | |
| 1560 | + | |
1558 | 1561 | | |
1559 | 1562 | | |
1560 | 1563 | | |
| |||
0 commit comments