Bug Report
| Subject |
Details |
| Rector version |
2.5.8 -> 2.5.9 |
| Pint version |
1.30.3 |
Rector seems to have changed behavior regarding spaces?
I run laravel pint after rector to align the spacing, however rector "fixes" this again or triggers my CI.
https://getrector.com/demo/be2e5df5-787a-44bb-9391-edf6dc9f194a
1/1 [============================] 100%
1 file with changes
===================
1) app/Services/TiptapUtility.php:30
---------- begin diff ----------
@@ Line 30 @@
* Recursively traverse the Tiptap document tree to find user mentions
*
* @param array|null $node The current node to check
- * @param mixed[] &$mentions Array to collect mentions
+ * @param mixed[] &$mentions Array to collect mentions
*/
private function traverseNodes($node, array &$mentions): void
{
----------- end diff -----------
Applied rules:
* AddParamArrayDocblockFromAssignsParamToParamReferenceRector
[OK] 1 file has been changed by Rector
...
─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── Laravel
FIXED ............................................................................................................................................................................................................................................. 3091 files, 1 style issue fixed
✓ app\Services\TiptapUtility.php unary_operator_spaces, not_operator_with_successor_space, phpdoc_align
Bug Report
Rector seems to have changed behavior regarding spaces?
I run laravel pint after rector to align the spacing, however rector "fixes" this again or triggers my CI.
https://getrector.com/demo/be2e5df5-787a-44bb-9391-edf6dc9f194a