Tomas Votruba
58494f42d4
Updated Rector to commit 5ac3cb377abf968396c23573d8562e6ab6967f2a
...
5ac3cb377a
[Php70] Fix Php4 contructor not replaced with __construct() on php 7.4 environment (#5189 )
2023-10-19 16:35:54 +00:00
Tomas Votruba
a169643611
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 18:37:52 +00:00
Tomas Votruba
45987b0066
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 15:39:41 +00:00
Tomas Votruba
ac6d3dea06
Updated Rector to commit 4795d003614d98b04c3fce209e855f18ac48ed09
...
4795d00361
[Renaming] Skip pointless names in RenameForeachValueVariableToMatchMethodCallReturnTypeRector (#5188 )
2023-10-18 14:16:12 +00:00
Tomas Votruba
f25beaaf93
Updated Rector to commit 668da1d020b596441b274ee6bf9d1ed763f8e43d
...
668da1d020
[TypeDeclaration] Utilize ClassMethodReturnTypeOverrideGuard on NumericReturnTypeFromStrictScalarReturnsRector (#5155 )
2023-10-11 15:50:01 +00:00
Tomas Votruba
882ff036c6
Updated Rector to commit 6d96068b0232141101c238752d0c5e80d5781f74
...
6d96068b02
[DeadCode] Skip key used in next stmt on RemoveUnusedForeachKeyRector (#5153 )
2023-10-10 13:08:33 +00:00
Tomas Votruba
80c4856fb5
Updated Rector to commit 6d96068b0232141101c238752d0c5e80d5781f74
...
6d96068b02
[DeadCode] Skip key used in next stmt on RemoveUnusedForeachKeyRector (#5153 )
2023-10-10 12:35:07 +00:00
Tomas Votruba
9696ef6862
Updated Rector to commit a6732a5b0e80868a6542c9bd5443f27750577e64
...
a6732a5b0e
[FamilyTree] Remove AstResolver on FamilyRelationsAnalyzer (#5117 )
2023-10-05 07:33:50 +00:00
Tomas Votruba
8dfd47b5cc
Updated Rector to commit 418821236de4fe723114d95846a22741d14fc7f8
...
418821236d
make PhpDocInfo::findByAnnotationClass() public to use in Symfony rules
2023-10-01 11:44:36 +00:00
Tomas Votruba
fd3e7ba154
Updated Rector to commit 15bc1157be538b34bf81428997ef2aab5b974336
...
15bc1157be
[phpstan] cleanup fixed errors
2023-10-01 11:35:14 +00:00
Tomas Votruba
671f50c702
Updated Rector to commit ee715396945596fffb158ff8278749feb01ea01a
...
ee71539694
[NodeTypeResolver] Use isScalar()->yes() usage on StaticTypeAnalyzer and ScalarTypeComparator services (#5099 )
2023-10-01 01:36:35 +00:00
Tomas Votruba
83a14c92a0
Updated Rector to commit 8a3fddfbcc083b526a5365e241f6c5ab37541fc9
...
8a3fddfbcc
[NodeTypeResolver] Reduce AstResolver usage on ArrayTypeAnalyzer (#5096 )
2023-09-30 22:31:51 +00:00
Tomas Votruba
beb21d1b36
Updated Rector to commit 3c1035bb6d6b578c4b26f1b1735895ffafcc814b
...
3c1035bb6d
[DX] Remove DependencyClassMethodDecorator as not used anymore due to paralel nature (#5094 )
2023-09-30 19:57:09 +00:00
Tomas Votruba
a8fc4e6c01
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 13:32:48 +00:00
Tomas Votruba
838756b543
Updated Rector to commit 41235b8c7c52b0ba77872c2f04921685569c3b6e
...
41235b8c7c
[Core] Deprecate AbstractRector staticTypeMapper, use dependency directly when needed (#5091 )
2023-09-29 13:22:46 +00:00
Tomas Votruba
d6df3c22c9
Updated Rector to commit 4f7822014a9a14bccbddf707aa446869dd5c6411
...
4f7822014a
[DX] Remove CurrentFileProvider dependency on ChangedNodeScopeRefresher (#5087 )
2023-09-27 23:27:41 +00:00
Tomas Votruba
d0476ce55a
Updated Rector to commit 16ba249bcee39137ba27b687bbfc6f15761c99c5
...
16ba249bce
remove --dry-run to pass
2023-09-27 19:07:29 +00:00
Tomas Votruba
941ed47703
Updated Rector to commit 7a87774b97c52dba78556810b984720935ded53a
...
1e683dcaf1
move up
7a87774b97
[build] fix to existing dirs
2023-09-27 14:03:07 +00:00
Tomas Votruba
000dcd9b3b
Updated Rector to commit 50e589ca482e73daea8d2d4949c9ec9869fa59a3
...
50e589ca48
Feature/fix class annotation bad print (#5081 )
2023-09-26 20:43:15 +00:00
Tomas Votruba
718b62bf2c
Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
...
defd57b99b
Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071 )
2023-09-23 12:32:25 +00:00
Tomas Votruba
fa675a27fa
Updated Rector to commit defd57b99b2f442199c6d4c63357e786d514253b
...
defd57b99b
Move betterNodeFinder,valueResolver,phpDocInfoFactory dependencies from AbstractRector into rules (#5071 )
2023-09-23 12:16:30 +00:00
Tomas Votruba
4ee58b2d9a
Updated Rector to commit ecc0a2889157f7da9de1adee1a3f3f581844d2e2
...
ecc0a28891
fix UT
2023-09-22 12:18:58 +00:00
Tomas Votruba
0e33c04f76
Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
...
85a407a1b7
Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064 )
2023-09-22 10:40:02 +00:00
Tomas Votruba
4f42274ab7
Updated Rector to commit 85a407a1b75939448a0ee6d539ebe86538252e52
...
85a407a1b7
Deprecate BinarySwitchToIfElseRector as opinionated to allow more suitable match() refactoring (#5064 )
2023-09-22 09:56:10 +00:00
Tomas Votruba
82fb004302
Updated Rector to commit ad96b1f8c56f4b0f7abd04b049ffbdb6d4e1d0e2
...
ad96b1f8c5
[NodeTypeResolver] pull getType() on ArrayDimFetch when not mixed type from its variable native definition (#5056 )
2023-09-21 11:31:13 +00:00
Tomas Votruba
b2b3a0f5cc
Updated Rector to commit 33fa6262970128e964fc4099d88d9a7369828e1a
...
33fa626297
[DX] Make PhpDocInfoFactory explicitly required in Rector rule constructor, if needed (#5051 )
2023-09-20 12:41:26 +00:00
Tomas Votruba
42058c255b
Updated Rector to commit 535ef5909272fe83d43f5bcf997d74222ac25cdc
...
535ef59092
Revert "[Performance][NodeTypeResolver] Remove $mutatingScope->enterCatchType() usage on PHPStanNodeScopeResolver (#5045 )" (#5046 )
2023-09-19 09:12:48 +00:00
Tomas Votruba
edaa1076ee
Updated Rector to commit a3d2fcda640abe4af03822e415c5fbe757c2f88c
...
a3d2fcda64
[NodeTypeResolver] Use Scope->getType() on ArrayDimFetch on NodeTypeResolver::getNativeType() (#5037 )
2023-09-19 07:09:37 +00:00
Tomas Votruba
d7b6d352e5
Updated Rector to commit 308178a058b057813283852029a7b2aaa026568a
...
308178a058
Adding collectors - step 3 (#5043 )
2023-09-18 17:12:03 +00:00
Tomas Votruba
a7266f01f8
Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
...
7e55eaa7bf
Bump to newer phpstan-extensions (#5041 )
2023-09-18 15:27:40 +00:00
Tomas Votruba
caa99019bf
Updated Rector to commit 7e55eaa7bf99a42b8bbd4c1b9b25ee2f7f1a7ab6
...
7e55eaa7bf
Bump to newer phpstan-extensions (#5041 )
2023-09-18 13:55:57 +00:00
Tomas Votruba
af93ed53e4
Updated Rector to commit 0678674828c37813873d3bd4612c86d0a405948c
...
0678674828
[AutoImport] Fix conflict current namespace auto import (#5024 )
2023-09-15 19:07:43 +00:00
Tomas Votruba
810ae4c396
Updated Rector to commit f6063588c0107450e51333934308f71434722f68
...
f6063588c0
[DX] Lower current node dependency - pass it directly to doc node parsing (#5023 )
2023-09-15 11:53:42 +00:00
Tomas Votruba
2331f6b39c
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 15:10:03 +00:00
Tomas Votruba
66134953c2
Updated Rector to commit 74df7741a7d0798888d2d9a3bf1020746b80ad8e
...
74df7741a7
[PostRector] Fix unused import not removed on empty generic class name exists (#5012 )
2023-09-13 14:39:32 +00:00
Tomas Votruba
3c6c1c03f8
Updated Rector to commit a2f70054a7d976acd2c73b06789095b998829be6
...
a2f70054a7
[DocBlock] Update docblock contents right in the rule (#4999 )
2023-09-11 21:30:42 +00:00
Tomas Votruba
35a66f9d23
Updated Rector to commit 596bbc98a25903c525914b4d16ea5f9c76b500fb
...
596bbc98a2
[tests] Replace wildcard e2e test with unit one (#5000 )
2023-09-11 18:33:42 +00:00
Tomas Votruba
67ef720476
Updated Rector to commit 780ef4010d45be3e89844dec073ce2078a10f96f
...
780ef4010d
Deprecated PhpDocInfo::markAsChanged() to ensure doc block is changed directly in the Rector rule (#4987 )
2023-09-11 14:54:44 +00:00
Tomas Votruba
ec1242d290
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:36:30 +00:00
Tomas Votruba
8b577a6b5e
Updated Rector to commit 8b8a0d1a5daa1064860c446bdd1f8a26ab06c20d
...
8b8a0d1a5d
Prevent unnecessary calls to spl_object_id() (#4992 )
2023-09-11 14:30:03 +00:00
Tomas Votruba
4c20b79d3c
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:47:14 +00:00
Tomas Votruba
282e5517d7
Updated Rector to commit ae3608b3d6464b63a041dd5e779c7b4e8f4cedb6
...
ae3608b3d6
Remove ununnecesary markAsChanged() in PhpDocTypeChanger, print docblock in explicit way when changed (#4983 )
2023-09-11 09:08:21 +00:00
Tomas Votruba
553b67b890
Updated Rector to commit 57ec646b63b0c7804df44fd67990b41d83d56c40
...
57ec646b63
Make PhpDocINfo::removeByType() return bool to inform about changed node (#4979 )
2023-09-11 07:37:02 +00:00
Tomas Votruba
973097e0b8
Updated Rector to commit ead7a25b38797531d9e6a755492200d59b05b1ae
...
ead7a25b38
Remove regex and fnmatch again on NodeNameResolver (#4968 )
2023-09-10 13:55:50 +00:00
Tomas Votruba
8a3c738dcd
Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
...
7433ffeb07
[Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957 )
2023-09-10 03:16:33 +00:00
Tomas Votruba
96a2988a43
Updated Rector to commit 7433ffeb07507632659635152b35af66320d1e07
...
7433ffeb07
[Printer] Reduce regex for end with \n detection on BetterStandardPrinter (#4957 )
2023-09-10 01:19:24 +00:00
Tomas Votruba
f73bcd4ef8
Updated Rector to commit c97e4ffb0534d388b5f51508491916f54d3f342a
...
c97e4ffb05
[Naming] Remove matchesStringName() check completely from NodeNameResolver, including endsWith() method - use getName() and compare directly instead (#4954 )
2023-09-09 22:49:40 +00:00
Tomas Votruba
6adcb19ec9
Updated Rector to commit 474b3a222684b9c343ba6b43ea5bd39b78fbef2a
...
474b3a2226
Faster name resolving (#4955 )
2023-09-09 18:18:18 +00:00
Tomas Votruba
7540a5e283
Updated Rector to commit 9a322af593a3ed9de20a535f613ed25e12ecc823
...
9a322af593
BC: Separated regex matching in NodeNameResolver->isName() (#4951 )
2023-09-09 14:08:25 +00:00
Tomas Votruba
c77e927087
Updated Rector to commit b82ad4ca58ebb42307093858a1c3dd60ecee13aa
...
b82ad4ca58
[DX] Move PostFileProcessor to FileProcessor, as always should run together (#4952 )
2023-09-09 13:58:57 +00:00
Tomas Votruba
8e8434e575
Updated Rector to commit b8485c6c17c6e1f128a33eaf6b63dfc605d77db3
...
b8485c6c17
Fix Rector extension config loading (#4946 )
2023-09-09 10:50:11 +00:00
Tomas Votruba
2c9f64e0d6
Updated Rector to commit 41870cb493cbae9725b8fdb682d53d9deaa33eae
...
41870cb493
Add comment for macOS empty string on WorkerCommandLineFactoryTest (#4945 )
2023-09-09 10:38:56 +00:00
Tomas Votruba
fedb3edc8a
Updated Rector to commit e4f1f1bab4d008108bf537ba3877dc2c4e64fa25
...
e4f1f1bab4
[NodeTypeResolver] Handle isObjectType() on new $class dynamic variable should return false compare to Object FQCN (#4936 )
2023-09-07 18:43:32 +00:00
Tomas Votruba
06e012f8b4
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:52:32 +00:00
Tomas Votruba
306ecbf7e3
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:28:29 +00:00
Tomas Votruba
e7578a4299
Updated Rector to commit 2be5a4d4928468b981079704bd0946764a6a1ec3
...
2be5a4d492
Simplify AlwaysStrictScalarExprAnalyzer (#4935 )
2023-09-07 13:09:24 +00:00
Tomas Votruba
e31a8c2782
Updated Rector to commit 1812281273ff14f76b8b81ab5321ee4b7e656684
...
1812281273
[Performance][Testing] Remove $nodeScopeResolver->setAnalysedFiles() on AbstractRectorTestCase (#4911 )
2023-09-04 19:46:53 +00:00
Tomas Votruba
2f2e7aff34
Updated Rector to commit d5f399eee5709932b579d41e3799c3097bbc101f
...
d5f399eee5
[DeadCode] Remove @return void on return self on RemoveUselessReturnTagRector (#4894 )
2023-09-02 19:48:22 +00:00
Tomas Votruba
060f298712
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 17:48:05 +00:00
Tomas Votruba
814e26534d
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 17:12:44 +00:00
Tomas Votruba
cc7b0cd56f
Updated Rector to commit 65fd2014b2a4ac76f78f347c094a2a799dad7b16
...
65fd2014b2
Fix union type check of object (#4893 )
2023-09-01 15:23:24 +00:00
Tomas Votruba
8848b01ee3
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 14:46:57 +00:00
Tomas Votruba
933f88178b
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 13:46:47 +00:00
Tomas Votruba
ed860db4e7
Updated Rector to commit c5897e54a62ee69d2441afcd8f043aa65085ee5f
...
c5897e54a6
Fix tests fixture updater (#4892 )
2023-09-01 13:35:19 +00:00
Tomas Votruba
326e84f967
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-09-01 11:10:35 +00:00
Tomas Votruba
eeab658669
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 19:21:20 +00:00
Tomas Votruba
8be31113be
Updated Rector to commit 7078b51a7cfe02d85474a38192caf797beedcfd6
...
7078b51a7c
[TypeDeclaration] Add ReturnTypeFromStrictFluentReturnRector (#4890 )
2023-08-31 19:02:42 +00:00
Tomas Votruba
d7c5dcb785
Updated Rector to commit 6424bae725296eb72307e5f4902715ea41dad3ba
...
6424bae725
[TypeDeclaration] Using ClassMethodReturnTypeOverrideGuard on ReturnTypeFromStrictParamRector (#4878 )
2023-08-29 17:02:15 +00:00
Tomas Votruba
dd35feba0b
Updated Rector to commit beffd07acd0f131b0bad64461ae901fd9bb4e03c
...
beffd07acd
ReturnTypeFromStrictParamRector: Fix typo in test-fixture (#4879 )
2023-08-29 15:55:26 +00:00
Tomas Votruba
4650cf5c21
Updated Rector to commit 7841dc582440c815796e703cf3cf9b3f17f80285
...
7841dc5824
Clean up usused filePath instance check on ApplicationFileProcessor (#4877 )
2023-08-29 07:31:50 +00:00
Tomas Votruba
d47a3cb197
Updated Rector to commit 7e4a920a8aeab9d49bed2625ac160d4bac4eb932
...
7e4a920a8a
[Performance] Only save nodesToReturn[$objectHash] on return array of nodes on AbstractRector (#4865 )
2023-08-27 15:41:04 +00:00
Tomas Votruba
35b66505ec
Updated Rector to commit 857e7a5604df3c36f85ea2702c066744a17728f7
...
857e7a5604
[Scoped] Do not downgrade vendor/rector-*/config (#4859 )
2023-08-26 13:52:10 +00:00
Tomas Votruba
3982c504e9
Updated Rector to commit f64cb7b3f8467fe5e6509f0651017a6dabc1fd47
...
f64cb7b3f8
Revert "Pin react/socket to 1.13 (#4855 )" (#4856 )
2023-08-26 09:10:09 +00:00
Tomas Votruba
0728ba3ce0
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 06:01:40 +00:00
Tomas Votruba
3be5dc788b
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 03:10:37 +00:00
Tomas Votruba
5fdba3c8f0
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 02:10:45 +00:00
Tomas Votruba
33326d3cb4
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-26 01:30:33 +00:00
Tomas Votruba
909b93c7f2
Updated Rector to commit 55bde86033d704228a71c83b6b4d597d8bc6d350
...
55bde86033
[Performance] Reduce possible re-create Scope on ExprScopeFromStmtNodeVisitor (#4853 )
2023-08-25 17:57:39 +00:00
Tomas Votruba
f5e2367b07
Updated Rector to commit 20133824b6589f2259982d75d052cf7be3be8182
...
20133824b6
[DX] Remove double call $configuration->getFileExtensions() on FileFactory (#4851 )
2023-08-25 16:24:26 +00:00
Tomas Votruba
b19f667a5b
Updated Rector to commit 21f33de2b90c0e63d42c3ebebef7cf4415191a21
...
21f33de2b9
Recreate to exact Expr node instead of printing when possible on AddParamBasedOnParentClassMethodRector take 2 (#4842 )
2023-08-24 10:28:16 +00:00
Tomas Votruba
6da4ac4e2a
Updated Rector to commit 295156cba171ce9685cd26e73490fd7d7b2001b1
...
295156cba1
[Traverser] Set explicitely nodeConnectingVisitorCompatibility: false config in config/phpstan/static-reflection.neon (#4841 )
2023-08-24 07:18:13 +00:00
Tomas Votruba
98e671cd4d
Updated Rector to commit bdad8bd4a5e4cdbcd65bdf942119750e0c7be1a8
...
bdad8bd4a5
[Experiment] Try running doc node traverser just once (#4822 )
2023-08-20 12:44:53 +00:00
Tomas Votruba
c9318c9c37
Updated Rector to commit 74d918832653f922fc7f81c8d9369031c5de6fc9
...
74d9188326
Fix downgrade build (#4820 )
2023-08-20 10:35:10 +00:00
Tomas Votruba
8c53c7470b
Updated Rector to commit 216108b6d9e24cf4f3f829fe5a67133c8564d23d
...
216108b6d9
[DX] Merge PhpRectorInterface to RectorInterface as identical contract and separation no longer needed (#4812 )
2023-08-18 12:27:46 +00:00
Tomas Votruba
9d3486b554
Updated Rector to commit b7d8787a257e94da73348cace71d2384bcc97930
...
b7d8787a25
remove fixture
2023-08-17 14:07:55 +00:00
Tomas Votruba
97db597ce6
Updated Rector to commit 78e491aae512e1b354427621a3171c506477aabe
...
78e491aae5
load devs commands
2023-08-15 22:36:34 +00:00
Tomas Votruba
e57e1c363e
Updated Rector to commit 6d0f7da6e3d41e41781251d23f5ff934047d15cd
...
6d0f7da6e3
fix duplicated method
2023-08-15 22:27:51 +00:00
Tomas Votruba
5b1b83ed61
Updated Rector to commit 685fe90cb8752c2a288ee982d03d15d8df6b59f2
...
685fe90cb8
Make SimplifyUselessVariableRector run without scope (#4791 )
2023-08-14 14:31:01 +00:00
Tomas Votruba
9891ab5633
Updated Rector to commit 092b6115b0e0642d0c20836673415ece4a3d0084
...
092b6115b0
Bump nikic/php-parser to 4.17 (#4781 )
2023-08-13 16:46:42 +00:00
Tomas Votruba
7bb4bad572
Updated Rector to commit 1659ca292848fc1722b4b084d9fd1625b21e69c9
...
1659ca2928
[DX] Deprecate NonPhpRectorInterface, the only rule and its file processor, to make Rector handle exlusively PHP (#4761 )
2023-08-10 19:26:52 +00:00
Tomas Votruba
50e22e8613
Updated Rector to commit bcb51e81bc9cbc667017eea9240d7f8564848768
...
bcb51e81bc
[Renaming] Deprecate PseudoNamespaceToNamespaceRector as too dynamic and unreliable, use the RenameClassRector instead (#4755 )
2023-08-10 11:47:33 +00:00
Tomas Votruba
dde9963adf
Updated Rector to commit f294e6df400814dbd8125ba141b16d96930716c5
...
f294e6df40
Cleanup test fixture (#4753 )
2023-08-10 10:13:56 +00:00
Tomas Votruba
80654c23af
Updated Rector to commit 8ae33c5f7ce2f1b27dd0a3100f8e9bdbb18a5361
...
8ae33c5f7c
[Php70] Remove appendArgs() usage on CallUserMethodRector (#4731 )
2023-08-09 12:42:27 +00:00
Tomas Votruba
c122d338d1
Updated Rector to commit 56195b368e89f7fc7d92fe96703286f9c4985f18
...
56195b368e
Fix external patch path (#4677 )
2023-08-06 15:55:08 +00:00
Tomas Votruba
6f8ff0f9d5
Updated Rector to commit 2ffa009e08d06c7522a1f3b066f90e8edbee8210
...
2ffa009e08
[DX] Make use of Laravel container in few tests - step #1 (#4672 )
2023-08-06 15:14:10 +00:00
Tomas Votruba
9165e88cea
Updated Rector to commit 3dbaeb0cadbc3a31d21849fab5494a1a828d792b
...
3dbaeb0cad
[TypeDeclaration] Handle anonymous class in union on AddArrowFunctionReturnTypeRector (#4676 )
2023-08-06 14:47:16 +00:00
Tomas Votruba
ce69ade1ae
Updated Rector to commit 22e423dc79a8e4677198c8b260fb24243db0ea45
...
22e423dc79
[NodeTypeResolver] Clean up anonymous class detection on NodeTypeResolver::getNativeType() (#4673 )
2023-08-06 10:56:52 +00:00
Tomas Votruba
9ee8cf74ba
Updated Rector to commit f10821b43226affce9e7f3b0085b231ff39940f1
...
f10821b432
[DX] Remove deprecated RectorConfigProvider, use SimpleParameterProvider instead (#4658 )
2023-08-06 00:09:08 +00:00
Tomas Votruba
7503c1fb60
Updated Rector to commit 395b215707a867cb11d625ee5f2653589e45bed7
...
395b215707
Resolve encapsed values as strings (#4622 )
2023-08-06 00:06:35 +00:00
Tomas Votruba
2e58adbe3b
Updated Rector to commit 8c04f656b32d8d95a5139e59cbfbc508647dd3b1
...
8c04f656b3
[TypeDeclaration] Skip public method on AddMethodCallBasedStrictParamTypeRector (#4659 )
2023-08-05 16:29:56 +00:00
Tomas Votruba
0a93085a9e
Updated Rector to commit ae896432a906ca02a97c326295a29ced3c689998
...
ae896432a9
Move ArrayManipulator to rector-symfony, where only used (#4656 )
2023-08-05 12:14:07 +00:00
Tomas Votruba
15f46b1693
Updated Rector to commit 9b03d8367cd3c69b36b8b1aedf458b191f46655a
...
9b03d8367c
[TypeDeclaration] Add ReturnUnionTypeRector (#4655 )
2023-08-05 11:03:19 +00:00
Tomas Votruba
1814d573d8
Updated Rector to commit e380cf8fdb65fe9929ed047dafdd49fadb00e01c
...
e380cf8fdb
[DX] Make MoneyFormatToNumberFormatRector wrap func call directly to keep simple (#4653 )
2023-08-04 17:46:10 +00:00
Tomas Votruba
92b9fdfd95
Updated Rector to commit fbcd7cf7e6c61be3ad014eebe50ff6c83e8a202e
...
fbcd7cf7e6
Remove resolveFromNodeWithScopeCountAndFallbackName() as unused (#4652 )
2023-08-04 17:28:42 +00:00
Tomas Votruba
81777836bc
Updated Rector to commit cbc026e3245d744eea5cf1fc48f3722f67b62173
...
cbc026e324
[DX] Cleanup ForRepeatedCountToOwnVariableRector counter (#4651 )
2023-08-04 17:15:45 +00:00
Tomas Votruba
d79728bb9f
Updated Rector to commit 58273de24474dee2a5463949ad127a86526c4e3a
...
58273de244
[CodingStyle][Php80][Privatization] Handle SeparateMultiUseImportsRector+ClassPropertyAssignToConstructorPromotionRector+FinalizeClassesWithoutChildrenRector cause invalid removal (#4649 )
2023-08-04 16:26:53 +00:00
Tomas Votruba
b2fa3fba80
Updated Rector to commit 529defd2de2b8ea122d0d7326ca0b054a22a030d
...
529defd2de
[TypeDeclaration] Using native type scope get on ReturnTypeInferer (#4648 )
2023-08-04 14:11:13 +00:00
Tomas Votruba
5ed75de032
Updated Rector to commit ae767eb1fe01f65c9d5a1e5c2a4c067e95b5386e
...
ae767eb1fe
[TypeDeclaration] Set minimum php version for AddReturnTypeDeclarationBasedOnParentClassMethodRector to php 7.0 (#4647 )
2023-08-04 13:42:14 +00:00
Tomas Votruba
8e45114f90
Updated Rector to commit 5965ddd37bf4e44553822ae16165c2de4b052f42
...
5965ddd37b
[TypeDeclaration] Add Closure support on ReturnTypeFromStrictParamRector (#4633 )
2023-08-03 14:19:00 +00:00
Tomas Votruba
a41439c736
Rector 0.17.8
2023-08-03 13:06:37 +00:00
Tomas Votruba
c0798d5cca
Updated Rector to commit a63ad695ca6b86b460c425a65762778329ca577f
...
a63ad695ca
[TypeDeclaration] Skip has parent class method on AddParamTypeFromPropertyTypeRector (#4627 )
2023-08-02 08:12:09 +00:00
Tomas Votruba
aae549741f
Updated Rector to commit 0cb3fd0feb464b4568e07607a05c794637aa2862
...
0cb3fd0feb
[Php73] Handle crash Type Error on JsonThrowOnErrorRector (#4626 )
2023-08-01 10:55:14 +00:00
Tomas Votruba
e8f8e6a94d
Updated Rector to commit c01925aad05a9baf0a44701a069a989ca3c0edc8
...
c01925aad0
Resolve native return-type from native union-type in short ternary (#4606 )
2023-07-26 13:22:32 +00:00
Tomas Votruba
56035a3c99
Updated Rector to commit a04101c5089e5043b7962316e3a1bb0802e453fc
...
a04101c508
[Php81] Skip re-assign with AssignOp on ReadOnlyPropertyRector (#4600 )
2023-07-25 10:07:19 +00:00
Tomas Votruba
f265ebd38b
Updated Rector to commit 3c82c6e9ac05760468a1b21f710da553efba70ad
...
3c82c6e9ac
[PHPStanStaticTypeMapper] Fix IntersectionTypeMapper to make ObjectType have FQCN (#4598 )
2023-07-25 09:44:39 +00:00
Tomas Votruba
f2d74dd860
Updated Rector to commit 578d6372a2e2028f52e4635f6e321b690c1e383b
...
578d6372a2
[PHPStanStaticTypeMapper] FQCN for Closure type mapper (#4584 )
2023-07-23 23:31:30 +00:00
Tomas Votruba
0e76101aa3
Rector 0.17.7
2023-07-23 20:44:23 +00:00
Tomas Votruba
2d8f90877a
Updated Rector to commit 4a5616878c580138a26e1eedf63c15fa8e0dcda8
...
4a5616878c
Make ReturnTypeFromStrictNewArrayRector handle only single level arrays (#4575 )
2023-07-21 21:08:31 +00:00
Tomas Votruba
62fb16f0e0
Updated Rector to commit 2e0ce286cb84cc202d17b293de3d59f89b9c4112
...
2e0ce286cb
Make use of toPhpDocNode() - take #5 (#4567 )
2023-07-21 11:06:18 +00:00
Tomas Votruba
ad6f93a19d
Updated Rector to commit 1411c048b31beeb040986e1c553d3508b17b4a31
...
1411c048b3
[CodeQuality] Skip pull property from inner class on CompleteDynamicPropertiesRector (#4561 )
2023-07-20 23:57:52 +00:00
Tomas Votruba
2b435e3666
Updated Rector to commit bbe6ed0e1471c4f5394f524c477dfa2ada52d7e5
...
bbe6ed0e14
Fix space in paths (#4553 )
2023-07-20 15:05:47 +00:00
Tomas Votruba
5a211089b1
Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
...
8c5507f3e8
[Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550 )
2023-07-20 11:36:45 +00:00
Tomas Votruba
51b2bd7a2e
Updated Rector to commit 8c5507f3e83e70657f95ae9ccb6488732b0359f5
...
8c5507f3e8
[Strict] Skip empty() from param doc on DisallowedEmptyRuleFixerRector (#4550 )
2023-07-20 11:22:15 +00:00
Tomas Votruba
bff94f9200
Updated Rector to commit ceab6d71bb3436c1c613651a12af55954ab3f7bf
...
ceab6d71bb
Add currentStmt property on AbstractRector to allow pull Scope from it on deep Expr (#4437 )
2023-07-19 11:08:33 +00:00
Tomas Votruba
b9ed01d3be
Updated Rector to commit 972d7607f1c4ab8b733b91d7aa5020ce1b143538
...
972d7607f1
[Application] Merge process files on both parallel and non-parallel process (#4523 )
2023-07-19 10:53:43 +00:00
Tomas Votruba
f7109e0cbd
Updated Rector to commit 490bd72c85d61feaf426d51d61bf9d04d40a418e
...
490bd72c85
[Performance][NodeManipulator] Avoid loop on search first variable named on next sliced next stmts on StmtsManipulator (#4537 )
2023-07-19 10:36:07 +00:00
Tomas Votruba
34b2975e47
Updated Rector to commit cebcea0a9aae472a64f80608d88e79a91797a67d
...
cebcea0a9a
Support class-const-fetch in ReturnTypeFromStrictTypedCallRector (#4520 )
2023-07-17 03:49:59 +00:00
Tomas Votruba
3e8e67ac99
Updated Rector to commit 4e016abd43fa853c69b1454d378a32a1bb0fa0ae
...
4e016abd43
coding standard
2023-07-14 10:37:52 +00:00
Tomas Votruba
a09f711e9b
Updated Rector to commit a12242df2ad756d59d6f214b3f727dedc0598704
...
a12242df2a
[AstResolver][Performance] Remove unnecessary double File read on AstResolver::parseFileNameToDecoratedNodes() (#4508 )
2023-07-13 20:32:24 +00:00
Tomas Votruba
6f18436957
Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
...
8537bbd52a
[DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506 )
2023-07-13 16:05:50 +00:00
Tomas Votruba
4da4f21668
Updated Rector to commit 8537bbd52a5b9d8aa619326b750df6dcb1b30f32
...
8537bbd52a
[DeadCode] Skip append += assignment on RemoveUnusedPrivatePropertyRector (#4506 )
2023-07-13 15:37:09 +00:00
Tomas Votruba
ef7c42a7c7
Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
...
398baa2c6a
[CI] Add doctrine rules in set check (#4505 )
2023-07-13 14:15:29 +00:00
Tomas Votruba
0a29dbd455
Updated Rector to commit 398baa2c6aa2af11d0a391bd0d2a71dfb71eebcf
...
398baa2c6a
[CI] Add doctrine rules in set check (#4505 )
2023-07-13 13:50:29 +00:00
Tomas Votruba
5cbdbd7d21
Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
...
295a01c49f
[NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504 )
2023-07-13 12:53:07 +00:00
Tomas Votruba
10b083fee2
Updated Rector to commit 295a01c49f086ab6c442f4287d0dded308cc8a6e
...
295a01c49f
[NodeTypeResolver] Remove nestedChainMethodCallLimit() for deep method call counter check (#4504 )
2023-07-13 12:47:15 +00:00
Tomas Votruba
77dec4163c
Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
...
a10ddea5d1
let phpunit handle its own empty method rule
2023-07-13 11:09:22 +00:00
Tomas Votruba
98ae4430e1
Updated Rector to commit a10ddea5d14f8fbdf21366dbfd20defef01f64db
...
a10ddea5d1
let phpunit handle its own empty method rule
2023-07-13 10:52:04 +00:00
Tomas Votruba
ccf7bb9270
Updated Rector to commit 5d942a0f7ee68dee11b4fb6dd72a78f6bbe938a0
...
5d942a0f7e
Add PHPUnit to sets (#4495 )
2023-07-13 10:23:36 +00:00
Tomas Votruba
a2178d82dc
Updated Rector to commit 9e9a314b23fa9f217c236412591c4cb9ad94edf5
...
9e9a314b23
[NodeTypeResolver] Remove unused AttributeKey::INSIDE_ARRAY_ITEM on ContextNodeVisitor (#4496 )
2023-07-12 22:16:31 +00:00
Tomas Votruba
400669639f
Updated Rector to commit 77167c7a1047f430b68f7b1063b5f2cb8dfa9830
...
77167c7a10
[Php52] Use instanceof check instead of compare object $newStmt === $caseStmt on ContinueToBreakInSwitchRector (#4494 )
2023-07-12 16:02:47 +00:00
Tomas Votruba
31e06fa816
Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
...
293913662e
[Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493 )
2023-07-12 15:02:18 +00:00
Tomas Votruba
0ac904fa27
Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
...
293913662e
[Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493 )
2023-07-12 14:49:54 +00:00
Tomas Votruba
a10e49e22a
Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
...
293913662e
[Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493 )
2023-07-12 14:29:41 +00:00
Tomas Votruba
50d0f997c6
Updated Rector to commit 293913662e1372aae24a5069a753e38475116b8e
...
293913662e
[Performance] Only set Attribute on context inside ArrayDimFetch and ArrayItem on specific node used (#4493 )
2023-07-12 14:21:26 +00:00
Tomas Votruba
d4bf4ea4ff
Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
...
706be908c5
lock react/promise to avoid process leaking
2023-07-12 13:11:50 +00:00
Tomas Votruba
75f2fdd3e2
Updated Rector to commit 706be908c5d96381785128ad94cc608814aa0f35
...
706be908c5
lock react/promise to avoid process leaking
2023-07-12 12:45:07 +00:00
Tomas Votruba
72beb9bc2e
Updated Rector to commit c0983f1000c1ca67b23d6da0c7f43eede90d14db
...
c0983f1000
Skip coalsce assign in RemoveUnusedPrivatePropertyRector (#4491 )
2023-07-12 10:10:58 +00:00
Tomas Votruba
03be03391c
Updated Rector to commit d514a5ad79c530cf236308d4f7ab9254e2340996
...
d514a5ad79
Fix StrictArrayParamDimFetchRector on same named property (#4488 )
2023-07-12 08:37:36 +00:00
Tomas Votruba
100d1e2fc8
Updated Rector to commit d4a432e7e490695a11daa32bce6bf20ab0d075f6
...
d4a432e7e4
Fix StrictArrayParamDimFetchRector on `is_*` calls (#4486 )
2023-07-12 08:02:53 +00:00
Tomas Votruba
a552423177
Updated Rector to commit aac0f2a90922bcfe90a1918448dc6e80172beb62
...
aac0f2a909
Remove duplicated version_compare ReplaceFuncCallArgumentDefaultValue rule (#4473 )
2023-07-10 23:27:24 +00:00