12653 Commits

Author SHA1 Message Date
Tomas Votruba
46c5557948 Rector 0.11.41 0.11.41 2021-08-02 19:22:48 +00:00
Tomas Votruba
1452c5d9ff Updated Rector to commit b3480900f3da86846dfabdfcd7e12f07b16a3f78
b3480900f3 [CodingStyle] Remove YieldClassMethodToArrayClassMethodRector, rather PHPStorm job (#576)
2021-08-02 17:48:07 +00:00
Tomas Votruba
0f5395c1ad Updated Rector to commit 5145487e37a5ed2b83296caf534a1fb9f10e6f69
5145487e37 recursion is not needed, as Rector now works till there is something to change
2021-08-02 16:02:48 +00:00
Tomas Votruba
fb7f804b70 Updated Rector to commit 00fb10f8a50491ab39eabf924d3da805860fb1a2
8c4c7d0ae7 recursion is not needed, as Rector now works till there is something to change 00fb10f8a5 fix cs
2021-08-02 16:02:25 +00:00
Tomas Votruba
4a5ca2c9e5 Updated Rector to commit 66e21558ba914cba2549e1940ef1e0fd7b4e6521
66e21558ba [PHPOffice] Extract package to standalone project (#575)
2021-08-02 15:56:42 +00:00
Tomas Votruba
0141b275c0 Updated Rector to commit 89511623cddcaf3c2438b0e53b81f6b91e3549b1
89511623cd update docs
2021-08-02 15:06:07 +00:00
Tomas Votruba
6d9e1da1ac Updated Rector to commit f515dd655ea406522c2e2e6adbbb9cf93c72a4b7
f515dd655e typos in docs
2021-08-02 14:58:30 +00:00
Tomas Votruba
ab81b0c165 Updated Rector to commit e5b00c449ce9485df836dbfa9043219153045453
e5b00c449c [VersionBonding] Correctly shows missed rectors that will not run (#574)
2021-08-02 14:42:58 +00:00
Tomas Votruba
ebc595cbb2 Updated Rector to commit e3ce3201512eb23ba2b195265dc63c671893c43a
e3ce320151 [Transform] Remove specific custom Rector without generic usage (#573)
2021-08-02 12:03:27 +00:00
Tomas Votruba
6730953767 Updated Rector to commit 4d816080ee22e8414d7252938c4e758fcca84355
4d816080ee [Config] Set config/, utils/ to rector config paths (#571)
2021-08-02 09:44:00 +00:00
Tomas Votruba
bfa1433bd5 Updated Rector to commit 2c71aa697612bf1e90a7be545f31c338278b0579
2c71aa6976 [VersionBonding] Update rector warning message for min PHP version project (#572)
2021-08-02 09:39:41 +00:00
Tomas Votruba
d09f82b30b Updated Rector to commit b34ff8ca1311c8819a0dab972c1864c771daca2f
b34ff8ca13 [Defluent] Skip clone uses trait on DefluentReturnMethodCallRector (#558)
2021-08-01 17:16:17 +00:00
Tomas Votruba
90467ad594 Updated Rector to commit b34ff8ca1311c8819a0dab972c1864c771daca2f
b34ff8ca13 [Defluent] Skip clone uses trait on DefluentReturnMethodCallRector (#558)
2021-08-01 17:00:37 +00:00
Tomas Votruba
e3437ec57c Updated Rector to commit 6ad6595d75bbeb49dc315aee508d5775cd724a3e
6ad6595d75 [Autodiscovery] Using AstResolver->resolveClassFromName() on ValueObjectClassAnalyzer (#560)
2021-08-01 17:00:01 +00:00
Tomas Votruba
b0f145ae07 Updated Rector to commit 205e7a5bd026cdbbeac19bc51e63e429ee2df704
205e7a5bd0 [Core] Move isPropertyFetch() to PropertyFetchAnalyzer (#563)
2021-08-01 16:59:22 +00:00
Tomas Votruba
c512faabc2 Updated Rector to commit 00015a4390ff1ee82930374b286d1053569d9580
00015a4390 [DowngradePhp70] Handle increment variable assign on existing variable on DowngradeSpaceshipRector (#565)
2021-08-01 16:58:54 +00:00
Tomas Votruba
139baa203b Updated Rector to commit 5ad522ddaa3cecb343da84fd2184ef6ed24f1e60
5ad522ddaa [DowngradePhp80] Handle coalesce and truthy ternary directly without assign (#567)
2021-08-01 16:58:17 +00:00
Tomas Votruba
a6fffa8856 Updated Rector to commit 5607f90669f9414d042673b7d35070c848f89a5f
5607f90669 [Testing] Avoid repetitive getService(NodesWithFileDestinationPrinter) in loop (#570)
2021-08-01 16:57:10 +00:00
Tomas Votruba
0347b32272 Updated Rector to commit 44a00682aaf0dfb612463e85e40bb42d2e110b53
44a00682aa [Config] Add scoper.php to rector config path (#569)
2021-08-01 16:55:31 +00:00
Tomas Votruba
dde963dd54 Updated Rector to commit 424289e73690de7cc577457969d415059823191e
424289e736 [PHPStan] Clean up PHPStan ignore errors (#568)
2021-08-01 11:29:17 +00:00
Tomas Votruba
d0e5aaee2f Updated Rector to commit 645b7a8e8ff13fd4bbefaee6a874d49c744e8b29
645b7a8e8f [automated] Re-Generate Nodes/Rectors Documentation (#562)
2021-08-01 00:25:55 +00:00
Tomas Votruba
0135983f7d Updated Rector to commit 5263f415a54bb98bef44a3091ddaeec739a4483a
5263f415a5 [Tests] Speed up tests with brianium/paratest (#551)
2021-07-31 11:55:31 +00:00
Tomas Votruba
f42d721e86 Updated Rector to commit 1b113a0c934b71ffd15d6e4593ef2db215ec9728
1b113a0c93 [Php70] Skip class has __callStatic() on StaticCallOnNonStaticToInstanceCallRector (#555)
2021-07-31 11:52:34 +00:00
Tomas Votruba
435990d383 Updated Rector to commit 057c5e6853931201e88a5ae19e9a7ca5541bb8ad
057c5e6853 Fix AnonymousFunctionFactory for class constant reference (#552)
2021-07-31 11:43:58 +00:00
Tomas Votruba
bee6271c0a Updated Rector to commit 59d63d6f4a486d574b17f68e406fa72125c8eb7d
59d63d6f4a [TypeDeclaration] Allow ArrowFunction on ReturnTypeFromStrictTypedCallRector (#556)
2021-07-31 11:40:13 +00:00
Tomas Votruba
c22db4f812 Updated Rector to commit e3321d9df372fab011a9917f398e41aa72d0cfe3
e3321d9df3 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveUnusedVariableAssignRector (#553)
2021-07-31 11:35:23 +00:00
Tomas Votruba
c3bc0fc47d Updated Rector to commit d9f47f85729740fe2108d8b0e92e9c97403b6849
d9f47f8572 [DeadCode] Using SideEffectNodeDetector::detectCallExpr() on RemoveOverriddenValuesRector (#554)
2021-07-31 11:34:50 +00:00
Tomas Votruba
7c6a2a8986 Updated Rector to commit 53c5f073fdbacca9847d2036fcaf582137ca4f31
53c5f073fd cleanup
2021-07-30 10:43:20 +00:00
Tomas Votruba
f7dcf79c1e Updated Rector to commit 325c6be3ae5e782fef6359c40cdde58fdd0eb24b
325c6be3ae [TypeDeclaration] Add ParamTypeByMethodCallTypeRector (#544)
2021-07-30 10:40:03 +00:00
Tomas Votruba
276fac662d Updated Rector to commit 29c28fda876e20ae62b54f1a7d11e617db11ce74
29c28fda87 [EasyTesting] dogfood next iteration (#549)
2021-07-30 08:39:55 +00:00
Tomas Votruba
7b8909a8bc Updated Rector to commit 62cca3bfeb92f455bc9f20b994fcc4d6e2b190f1
62cca3bfeb [CodingStyle] Fix ArrayCallableToMethodCallFactory for non-object types (#548)
2021-07-30 07:56:13 +00:00
Tomas Votruba
406cb3c9f8 Updated Rector to commit a152283fd7c858f74110d9d220e322bc0e256a67
a152283fd7 cleanup (#547)
2021-07-30 07:40:46 +00:00
Tomas Votruba
b777b6eb45 Updated Rector to commit eb7d73b432478f48f5e10248f7c20b981734a382
eb7d73b432 [DeadCode][CodeQualityStrict] Add SideEffectNodeDetector::detectCallExpr() (#543)
2021-07-29 17:27:50 +00:00
Tomas Votruba
74fd096ad7 Updated Rector to commit 46a6ab042e2e522c3c2b4b11aa09414df374387b
46a6ab042e [PHP 8.0] Fix strinable interface detection (#542)
2021-07-29 16:36:00 +00:00
Tomas Votruba
70059f5751 Updated Rector to commit 7a3a2dc12bb2bc75a04643198c9eeaad84516030
7a3a2dc12b Add Symfony's bootstrap80 files to the list for namespace removal (#537)
2021-07-29 14:28:33 +00:00
Tomas Votruba
e5958f326a Updated Rector to commit 4be1f2aee76f877575465e4234054e60db24944a
4be1f2aee7 [DowngradePhp80] Allow Truthy with Ternary on DowngradeThrowExprRector (#539)
2021-07-29 10:07:41 +00:00
Tomas Votruba
d162a45f40 Updated Rector to commit 6e73a1f069afe9609437b2d4848ab323f03d0d20
6e73a1f069 [DowngradePhp70] Allow property fetch and static property fetch on DowngradeNullCoalesceRector (#540)
2021-07-29 07:26:45 +00:00
Tomas Votruba
ff5108a964 Updated Rector to commit cdad000d81c83a9f828281ff85fa67f0adfeee24
cdad000d81 [DowngradePhp80] Register DowngradeThrowExprRector to downgrade-php80 config set (#538)
2021-07-29 00:44:05 +00:00
Tomas Votruba
8b8c4dc016 Updated Rector to commit 3cf3e1fc2559b5c1bd53b107aed3ed9f645edf09
3cf3e1fc25 [TypeDeclaration] Add ParamTypeByParentCallTypeRector (#519)
2021-07-28 19:43:49 +00:00
Tomas Votruba
8e55ca0a2c Updated Rector to commit a467f764ec34703a3dab0bd861775f16656b8ac8
a467f764ec [DowngradePhp80] Add DowngradeThrowExprRector (#533)
2021-07-28 16:54:48 +00:00
Tomas Votruba
f8f5156f46 Updated Rector to commit 32ef12c2635d6c109d4b963ba4ea08e49d2b01c0
32ef12c263 [DeadCode] Skip native variable on RemoveOverriddenValuesRector (#536)
2021-07-28 16:46:00 +00:00
Tomas Votruba
f41cfb1de8 Updated Rector to commit b4392749f4ab12077b8cadc6cc8745ad79dcdea8
b4392749f4 Fix some code samples (#535)
2021-07-28 12:55:48 +00:00
Tomas Votruba
28f5ca3f25 Updated Rector to commit 35dc186642e62e2e2e9b224180122618a02cde95
35dc186642 Update skip_null_safe_test.php.inc (#534)
2021-07-28 12:54:47 +00:00
Tomas Votruba
398f8f8197 Updated Rector to commit c93b40240fc04526047b3390920d862d7aa4c4b8
c93b40240f [DeadCode] Skip InstanceOf class not a Name on RemoveDeadInstanceOfRector (#531)
2021-07-28 11:14:29 +00:00
Tomas Votruba
74c3f7c261 Updated Rector to commit f44e09e077b78216cd721f2bdf83a4e063450b83
f44e09e077 [DeadCode][Defluent][NodeNameResolver] Using CallAnalyzer to check object call when possible (#529)
2021-07-28 11:11:32 +00:00
Tomas Votruba
6f760e17cc Updated Rector to commit 5d8789025dc14a3956b83bd934bbb78bf9e648ed
5d8789025d Fix NullsafeOperatorRector (#532)
2021-07-28 10:00:12 +00:00
Tomas Votruba
6c3196a2e7 Updated Rector to commit 8299b2db4185d08c9a965661fe25a7c6b89fc7f7
8299b2db41 [DeadCode] Skip direct method call / function call on RemoveDeadInstanceOfRector (#527)
2021-07-28 07:07:05 +00:00
Tomas Votruba
5ab3cd8ae8 Updated Rector to commit 9b663a882135b663a6cf631f307382c823aa2fc5
9b663a8821 [DeadCode] Refactor PureFunctionDetector: ensure NativeFunctionReflection for pure function check (#528)
2021-07-28 07:06:07 +00:00
Tomas Votruba
0032287992 Updated Rector to commit 687a77765f975a2449ea8010192ac84e6548bc51
687a77765f Added MemoryCacheStorage and use it in  (#525)
2021-07-28 07:05:44 +00:00
Tomas Votruba
b8d4e57170 Updated Rector to commit a7f111e201b95271acfdd090d017e3d112c5d1dd
a7f111e201 [PHPStan] Clean up PHPStan ignore error messages (#530)
2021-07-28 04:37:30 +00:00