Tomas Votruba
708954a81f
Updated Rector to commit 2694671fccfefc21daf1bd17353cd7d42b4af023
...
2694671fcc
LocallyCalledStaticMethodToNonStaticRector with method args (#4233 )
2023-06-14 15:32:20 +00:00
Tomas Votruba
1d6fa53888
Updated Rector to commit 7f73d653b9ceb059f9d05e010a7c6120f23c77ac
...
7f73d653b9
[Traverser] Use specific Stmt: Declare_ and Namespace_ for init namespace stmt_key index on StmtKeyNodeVisitor (#4111 )
2023-06-08 02:08:17 +00:00
Tomas Votruba
a97ef30b94
Updated Rector to commit fe33aad6cbff85882e60ef2461e929d5b1957456
...
fe33aad6cb
[Printer] Rename method decorateInlineHTMLOrNopAndUpdatePhpdocInfo() to moveCommentsFromAttributeObjectToCommentsAttribute() (#4110 )
2023-06-07 16:12:13 +00:00
Tomas Votruba
917ce32d7a
Updated Rector to commit ddcc807ffcdf24c49889125682d1bcb223387d09
...
ddcc807ffc
Make use of REMOVE_NODE return constant in refator() method (#4075 )
2023-06-05 09:32:57 +00:00
Tomas Votruba
8f92523b3a
Updated Rector to commit 965b5f72045e3a94adf1eab83accafb52bfbe92a
...
965b5f7204
[CodeQuality] Exclude first class callable from IntvalToTypeCastRector (#7962 ) (#4040 )
2023-06-01 22:33:20 +00:00
Tomas Votruba
9a2931cbe4
Updated Rector to commit bdc2fc99631f67eeb2d96e2cf0906279c2561c9a
...
bdc2fc9963
[NodeManipulator] Remove parent lookup on PropertyFetchAssignManipulator (#4037 )
2023-06-01 08:56:46 +00:00
Tomas Votruba
74fee33fad
Updated Rector to commit 5979f30756eca7e8f2736514451d5c7bdfed50ce
...
5979f30756
Remove removeNode() from FuncGetArgsToVariadicParamRector (#4021 )
2023-05-29 21:33:59 +00:00
Tomas Votruba
5062188fe8
Updated Rector to commit 0ea7b49d5839f4dcdf5c9966cf410b3394c5e060
...
0ea7b49d58
[Testing] Remove require_once on TestingParser::parseFileToDecoratedNodes() (#4009 )
2023-05-29 18:30:06 +00:00
Tomas Votruba
6b379fd240
Updated Rector to commit e6048295f9001e693403f9f47fd956c543636c16
...
e6048295f9
[DeadCode] Use flag on return ClassMethod node on RemoveUnusedConstructorParamRector (#4017 )
2023-05-29 12:18:38 +00:00
Tomas Votruba
95d72b47e8
Updated Rector to commit c018b8b71b32e9654f7e884a20573a741184572e
...
c018b8b71b
[Traverser] Add StmtKeyNodeVisitor to remove next and prev attribute on BetterNodeFinder (#3870 )
2023-05-17 13:57:56 +00:00
Tomas Votruba
7ec53f4a70
Updated Rector to commit e6fd26353fa114ac92ba4b0c9b572f508b850e7f
...
e6fd26353f
Get rid of in the (#3780 )
2023-05-09 16:39:58 +00:00
Tomas Votruba
61359ad57c
Updated Rector to commit d9374ddfa6c8a1ae41c1ac271d102980c6eba8f5
...
d9374ddfa6
[Dep] Move phpstan-phpunit to require-dev (#3734 )
2023-05-05 09:34:50 +00:00
Tomas Votruba
68933a635e
Updated Rector to commit 67ce52f0a8d6fff37ca569deba67c5635684dde6
...
67ce52f0a8
[PHPStan] Fix phpstan notice protected element usage (#3730 )
2023-05-04 13:18:16 +00:00
Tomas Votruba
65abab80de
Updated Rector to commit 5c1be93b80c3f7bfd8bd158ba0a55501a7acaefc
...
5c1be93b80
PHP 8.2 is supported (#3717 )
2023-05-01 01:36:32 +00:00
Tomas Votruba
d4fe88d8f2
Updated Rector to commit 92d38cfba31d2a2811c19dd57810e296a725c91e
...
92d38cfba3
[TypeDeclaration] Refactor UnionTypeMapper::narrowBoolType() to allow bool|int|false converted to bool|int (#3685 )
2023-04-25 21:01:30 +00:00
Tomas Votruba
518852ebcf
Updated Rector to commit 84238315f8c2171e803832b14d9bc7e004bfb01a
...
84238315f8
Minor ClassMethodAssignManipulator improvements (#3662 )
2023-04-23 18:12:51 +00:00
Tomas Votruba
4564073a8a
Updated Rector to commit 59720a1105eeec521130754510b7b1c8d4da50c1
...
59720a1105
Fix phpstan notice (#3653 )
2023-04-22 15:32:02 +00:00
Tomas Votruba
91a5e19669
Updated Rector to commit ff899747379670edd250e653764e51ae592aac16
...
ff89974737
NodeTypeResolver: remove unnecessary check (#3626 )
2023-04-20 12:15:14 +00:00
Tomas Votruba
9c020977b6
Updated Rector to commit f453969311462cd11987768ae1b2843f38cadcb3
...
f453969311
[TypeDeclaration] Using negation on BinaryOr on BinaryOpNullableToInstanceofRector (#3633 )
2023-04-20 00:20:55 +00:00
Tomas Votruba
4980a45b0b
Updated Rector to commit 581fba01dfcc247be5dcec00903b72739b7eca6d
...
581fba01df
[Php55] Add StaticToSelfOnFinalClassRector (#3629 )
2023-04-19 07:12:58 +00:00
Tomas Votruba
f924c3de30
Updated Rector to commit 0dfc92f16f7d3d21a21ae5e6f6abb21467fb48da
...
0dfc92f16f
Add declare strict_types rule, finally 🥳 (#3619
2023-04-17 15:47:09 +00:00
Tomas Votruba
8e0981a696
Updated Rector to commit bc0a0d77f49995f9bba85e0aa244123cd66f5fae
...
bc0a0d77f4
[DX] Add INSTANCEOF set to work with types via instanceof checks (#3609 )
2023-04-13 10:01:45 +00:00
Tomas Votruba
9b243e6539
Updated Rector to commit 3a9bebf657bfdf7cb5b3ab59b3471987dd6a35f6
...
3a9bebf657
[CodeQuality] Handle crash on BinaryOp/Mul and variable variable: 9364name on IntvalToTypeCastRector (#3608 )
2023-04-12 13:24:05 +00:00
Tomas Votruba
be3c7cb235
Updated Rector to commit 46301c10a803d2b6727270a738e8c9c297b0b10c
...
46301c10a8
Use isFloat() (#3572 )
2023-04-08 00:59:02 +00:00
Tomas Votruba
5a5da62b5c
Updated Rector to commit a36a4d9fcb244d5d49a45255d9581a16410dff7a
...
a36a4d9fcb
Remove unused imports (#3567 )
2023-04-06 09:24:11 +00:00
Tomas Votruba
288d74ea5d
Updated Rector to commit be24410a00da07e1aeb4eba8083d0e06f19868a9
...
be24410a00
[PostRector] Skip remove unused used at @see for Generic tag (#3562 )
2023-04-05 00:15:15 +00:00
Tomas Votruba
77c06429df
Updated Rector to commit 53f549df59999185aba90f5043982dec1973d230
...
53f549df59
[DeadCode] Remove property comment same line on RemoveUnusedPrivatePropertyRector (#3547 )
2023-04-01 19:30:08 +00:00
Tomas Votruba
9038a0d99c
Updated Rector to commit 1a91d04c5256e451c744eeb848aaa0182dd227c5
...
1a91d04c52
[CodeQuality] Add cast scalar support on ReturnTypeFromStrictScalarRector (#3544 )
2023-04-01 10:14:17 +00:00
Tomas Votruba
ebdd5e73b4
Updated Rector to commit 34ff3246d3d5f040ca66f30a1eb883923962aecd
...
34ff3246d3
[CodingStyle] Remove parent attribute usage on RemoveFinalFromConstRector (#3536 )
2023-03-30 09:04:49 +00:00
Tomas Votruba
093f3c0641
Updated Rector to commit ad9b5973ebff338b17452fb0240c1834126f388e
...
ad9b5973eb
[automated] Re-Generate Nodes/Rectors Documentation (#3521 )
2023-03-26 00:33:56 +00:00
Tomas Votruba
4e1a8b2170
Updated Rector to commit d2459d13d512d780cc22f7822bf630717d888969
...
d2459d13d5
[CodeQuality] Remove next node attribute usage on SimplifyIfNotNullReturnRector (#3517 )
2023-03-25 05:15:57 +00:00
Tomas Votruba
f6c94163d8
Updated Rector to commit e1dd98dc51c214a743fe1785fd264d2ea27efd72
...
e1dd98dc51
[DowngradePhp73][DowngradePhp74] Fix infinite loop on DowngradeNullCoalescingOperatorRector+DowngradePhp73JsonConstRector (#3484 )
2023-03-17 11:53:24 +00:00
Tomas Votruba
e27f3e5b0b
Updated Rector to commit f87827ca264302c24015bc9d2a27a4a288a05682
...
f87827ca26
Implement (#3430 )
2023-03-09 22:50:19 +00:00
Tomas Votruba
e6981ca53c
Updated Rector to commit 4d9b7e841f026d0566ba7afa356503e7d4466e15
...
4d9b7e841f
[Renaming] Remove RenameClassRector::processCleanUpUse() as already covered on ClassRenamingPostRector (#3463 )
2023-03-08 07:33:37 +00:00
Tomas Votruba
3cdd9d3ecb
Updated Rector to commit b3da981d01f2caa1534033e208a6131c9e61b9c3
...
b3da981d01
[Renaming] Keep unused import unless configured ->removeUnusedImports() on RenameClassRector on no namespace (#3460 )
2023-03-06 20:21:39 +00:00
Tomas Votruba
5104869465
Updated Rector to commit 4e625d0b8e545bf8fc143f5c9a18e6295ecc3989
...
4e625d0b8e
[CodeQuality] Add concat support on ReturnTypeFromStrictScalarReturnExprRector to be string (#3435 )
2023-03-02 12:17:17 +00:00
Tomas Votruba
7d0f151a40
Updated Rector to commit a2cd7283fbf2d6b2904016c51e3f4a545caa0256
...
a2cd7283fb
Typo fix comment php 7.3 compat on rector workflow (#3432 )
2023-03-01 13:00:30 +00:00
Tomas Votruba
88cbdce92d
Updated Rector to commit fe3c6ff324a814101fdc2f489980ceb9fa219322
...
fe3c6ff324
[Privatization] Fix crash on assign inside Arg on ChangeReadOnlyVariableWithDefaultValueToConstantRector (#3423 )
2023-02-28 15:26:15 +00:00
Tomas Votruba
d785bbe2e0
Updated Rector to commit 6e31710cca5c1cc0dcc9c5e08de1a0d53281c84b
...
6e31710cca
[e2e][core][Printer] Use more reliable FileDiff instead of empty ->getRectorWithLineChanges() on PhpFileProcessor (#3414 )
2023-02-25 17:42:55 +00:00
Tomas Votruba
1b65d11365
Updated Rector to commit 9c7da411e7a32b7adca8af2bc9640c3cf0029583
...
9c7da411e7
Revert file not changed detected to be printed by PhpParser (#3409 )
2023-02-23 15:02:52 +00:00
Tomas Votruba
5d735c2311
Updated Rector to commit b2d6fa6ee64096cb358f8e29c490386989b4cfb0
...
b2d6fa6ee6
Revert recursive check on always array param on phpstan 1.10 on AddMethodCallBasedStrictParamTypeRector (#3399 )
2023-02-22 01:54:59 +00:00
Tomas Votruba
908a3c39d3
Updated Rector to commit 648a2f5ca994605a85e8f10279936a864eefc09c
...
648a2f5ca9
Fix BleedingEdgeIncludePurifier to use random value on temporary file to avoid crash (#3396 )
2023-02-21 17:09:39 +00:00
Tomas Votruba
2a475d5b03
Updated Rector to commit 9c6f41e6c0b943912ca1fd2b6a289106b556efbe
...
9c6f41e6c0
Fix external packages bleeding edge includes (#3389 )
2023-02-17 19:53:09 +00:00
Tomas Votruba
baa729956a
Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
...
2acb78be73
[Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369 )
2023-02-11 12:25:19 +00:00
Tomas Votruba
d5ab1e22cf
Updated Rector to commit 2acb78be7361011f47c301344d8bb8ef4aa0e33d
...
2acb78be73
[Php55] Handle crash on direct $ without double quote backreference on PregReplaceEModifierRector (#3369 )
2023-02-09 14:03:33 +00:00
Tomas Votruba
99c36383bb
Updated Rector to commit 638a0ad9723a505b4908ed6b6534027bfd4dc5f2
...
638a0ad972
Remove unused RectorServiceConfigurator, use RectorConfig instead (#3363 )
2023-02-08 14:55:14 +00:00
Tomas Votruba
6481c8dccc
Updated Rector to commit 5f4edd9230355cadc311ba8e8954fb9ae5bdc849
...
5f4edd9230
Remove NonVariableToVariableOnFunctionCallRector, should be handled manually as might need attention (#3357 )
2023-02-07 22:56:24 +00:00
Tomas Votruba
1e09b81ddb
Updated Rector to commit e68c8d23cbbdb9dbfef66133af6bb4f1857015ad
...
e68c8d23cb
Fix CallableTypeParameterNode and IdentifierTypeParameterNode crash (#3353 )
2023-02-07 12:26:09 +00:00
Tomas Votruba
66cc09e8b6
Updated Rector to commit d118ae38e265476684bcf566b87301cca5716ed9
...
d118ae38e2
Use phpstan-deprecation-rules (#3330 )
2023-02-02 09:24:12 +00:00
Tomas Votruba
dde7f41fda
Updated Rector to commit 0f025099cbdd8c4cc6c9a3ffa0775a9250f112de
...
0f025099cb
[TypeDeclaration] Move method ParentClassMethodTypeOverrideGuard::isReturnTypeChangeAllowed to ClassMethodReturnTypeOverrideGuard and make it private (#3323 )
2023-01-29 16:34:12 +00:00