4739 Commits

Author SHA1 Message Date
Tomas Votruba
b3811e658f Updated Rector to commit d29b89113a08ad3945ebb08c78ae156bfe9bc713
d29b89113a [Php74] Skip mixed type on TypedPropertyRector on auto import enabled (#1798)
2022-02-10 13:29:48 +00:00
Tomas Votruba
3b8eaada80 Updated Rector to commit 7c14a98e546fc6ebf58208d8e1d993f23125bf54
7c14a98e54 [DowngradePhp72/73/74] Refactor JsonConstCleaner: move defined check after in names check (#1788)
2022-02-09 00:07:41 +00:00
Tomas Votruba
bda78cedf4 Updated Rector to commit 50d19784ab0ae6e4098ca4ce224af44d414b82f3
50d19784ab [Php80] Doc mirror var to param improvement on ClassPropertyAssignToConstructorPromotionRector (#1775)
2022-02-08 00:23:09 +00:00
Tomas Votruba
dea8c30c8e Updated Rector to commit 63425bae2240c9fb41a262515d183c4dcd50243d
63425bae22 [Transform] Make ParentClassToTraitsRector match only exact parent, no its child (#1774)
2022-02-07 19:38:34 +00:00
Tomas Votruba
6b7bb4ae18 Updated Rector to commit aa4f45484afe2fed465946957a1dec9c38655c6b
aa4f45484a [automated] Re-Generate Nodes/Rectors Documentation (#1772)
2022-02-06 08:25:55 +00:00
Tomas Votruba
d86e5d640a Updated Rector to commit dae413184be4437f111a45fd99746454115cd8ab
dae413184b [static] Fix mixed type on property fetches and method calls (#1769)
2022-02-05 11:57:25 +00:00
Tomas Votruba
361d8f4a2f Updated Rector to commit f374b9faa834b5cceef16d99dd46e147ce753312
f374b9faa8 [PHP 8.0] Include keys in annotation to attribute transformation (#1766)
2022-02-05 10:39:52 +00:00
Tomas Votruba
5cd63fd2ce Updated Rector to commit 0a63fe4d52e66ee50b459099f288056fa4460856
0a63fe4d52 [DowngradePhp72] Add DowngradePhp72JsonConstRector (#1765)
2022-02-04 14:07:32 +00:00
Tomas Votruba
967c07844d Updated Rector to commit 335206f065e9d12c59db26d526d115754bb41fa0
335206f065 [DX] Remove @deprecated docblock for only bool passing config in rector rules (#1762)
2022-02-03 09:49:01 +00:00
Tomas Votruba
1c5290301d Updated Rector to commit 2468277687fd94c110f824ce27c7850b4b351b33
2468277687 [TypeDeclaration] Handle infered ThisType on auto import on ReturnTypeDeclarationRector (#1760)
2022-02-02 09:10:44 +00:00
Tomas Votruba
de716594a8 Updated Rector to commit a51b81cf2f7840fa2777194d1470d367616f4af9
a51b81cf2f [PHPStan] Clean up PHPStan ignore errors (#1755)
2022-02-01 05:54:42 +00:00
Tomas Votruba
3ebcd0c7ba Updated Rector to commit f632fa095707095d9d43f0faf8a2a68d4619ed3f
f632fa0957 [DowngradePhp80] Add DowngradeStringReturnTypeOnToStringRector (#1750)
2022-01-31 17:52:49 +00:00
Tomas Votruba
7aad2b845d Updated Rector to commit 5b230642990df62ce5052d0008d5b3175addc490
5b23064299 [Scoper] Exclude Attribute polyfill class from class_alias (take 1) (#1747)
2022-01-31 14:04:38 +00:00
Tomas Votruba
c88e1fc601 Updated Rector to commit e44222bd5c6e71be45191c34dce7dff09cc8059d
e44222bd5c [automated] Re-Generate Nodes/Rectors Documentation (#1743)
2022-01-30 00:27:52 +00:00
Tomas Votruba
67fb92b15d Updated Rector to commit d31e2233e85152ddd4089873ae0de83bfc8d215d
d31e2233e8 [Php81] Skip override abstract method on NewInInitializerRector (#1740)
2022-01-29 16:32:26 +00:00
Tomas Votruba
2ebc6821cc Updated Rector to commit 79dd9bb5f4da949fc2b308628f0aa39bd7ced60c
79dd9bb5f4 [Php81] Do not add final modifier on class constant that the class has children on FinalizePublicClassConstantRector (#1739)
2022-01-28 11:05:27 +00:00
Tomas Votruba
9875b5de97 Updated Rector to commit c6142e139fac558db40daaec45f481d68a8f449b
c6142e139f [Php56][Php70] Handle ExceptionHandlerTypehintRector+CatchExceptionNameMatchingTypeRector+AddDefaultValueForUndefinedVariableRector (#1735)
2022-01-27 09:07:13 +00:00
Tomas Votruba
625848ed0d Updated Rector to commit 75c0b27d37ee34844b0eb5faf35742c6631d5ab2
75c0b27d37 [types] Add HasPropertyTypeMapepr and HasMethodTypeMapper (#1731)
2022-01-26 11:59:37 +00:00
Tomas Votruba
f25b52c226 Updated Rector to commit a26c59a7e9c97187db0e6004df3280ca4879bbc4
a26c59a7e9 [TypeDeclaration] Skip use return docblock on typed intersection type (#1728)
2022-01-26 11:18:38 +00:00
Tomas Votruba
20964885f0 Updated Rector to commit 64d76cd11ede768c092994d69d862be818c7f2e3
64d76cd11e [FinalizePublicClassConstantRector] Ignore final classes (#1730)
2022-01-26 10:10:51 +00:00
Tomas Votruba
231856524e Updated Rector to commit 1c651e2d02058a7370f65cf3ac3ce75c8b265535
1c651e2d02 [TypeDeclaration] Skip Prevent object in intersection type on ReturnTypeDeclarationRector (#1727)
2022-01-25 14:27:20 +00:00
Tomas Votruba
d3e1bb7e5d Updated Rector to commit 084ac39f29204e2763433d07422a081c39c6399b
084ac39f29 Add option to configure followLinks of finder (#1703)
2022-01-25 00:12:31 +00:00
Tomas Votruba
7626873cdf Updated Rector to commit 386c97b91414e127eaf4b3dbf062e7a5a33ace16
386c97b914 [Naming][Php56] Do not add default value init for renamed variable from param on RenameParamToMatchTypeRector+AddDefaultValueForUndefinedVariableRector (#1716)
2022-01-24 04:18:32 +00:00
Tomas Votruba
12ec968038 Updated Rector to commit 88a32076c60552b87afe4a0e9fe436c961c6c78a
88a32076c6 [Php74] Skip readonly on RestoreDefaultNullToNullableTypePropertyRector (#1713)
2022-01-22 09:45:55 +00:00
Tomas Votruba
97621fb485 Updated Rector to commit cb96224c93e78c462c86849b96a0255d71832a45
cb96224c93 [DowngradePhp70][Transform] Add #[\ReturnTypeWillChange] on Downgrade + transform ArrayObject::getIterator() to keep working on php 8.1 (#1711)
2022-01-21 23:07:05 +00:00
Tomas Votruba
676e7a5820 Updated Rector to commit c8e5b8abd72a9d38b3006955be0e6c7a96a65c63
c8e5b8abd7 [Php80] Handle AnnotationToAttributeRector + ClassPropertyAssignToConstructorPromotionRector (#1712)
2022-01-21 23:06:42 +00:00
Tomas Votruba
d697482a5c Updated Rector to commit f0928ab52c0fefd4688f42bd3ff41c885e6672ef
f0928ab52c [cleanup] remove historical and unsupported safe 0.7 (#1709)
2022-01-21 13:18:52 +00:00
Tomas Votruba
c4b2af01d7 Updated Rector to commit 2934929fac82ad4244c3b4253bcd388c344ef31a
2934929fac [CodingStyle] Handle more than one method contains try catch on CatchExceptionNameMatchingTypeRector (#1706)
2022-01-21 06:12:56 +00:00
Tomas Votruba
9abce1612b Updated Rector to commit 672b339ebdbcb33f07d93ff352eb24382e811efd
672b339ebd [e2e][scoped] Add e2e global install on scoped (#1704)
2022-01-20 21:15:14 +00:00
Tomas Votruba
12613b9c6a Updated Rector to commit 9b62f0a4c7ddb92d032072d6d9ac8bbee224b2ae
9b62f0a4c7 [Parallel] Remove unused SingleFileProcessor (#1700)
2022-01-19 13:18:25 +00:00
Tomas Votruba
f2b4b95aa2 Updated Rector to commit dbf132092afa105601f993a27462abfb99335a4f
dbf132092a [Php71] Skip property fetch array assigned in method call on __construct on CountOnNullRector (#1698)
2022-01-19 08:54:57 +00:00
Tomas Votruba
c00c31fd50 Updated Rector to commit 1c7460bcfc2201edd90ab0e7bae066ed53980b2f
1c7460bcfc [Privatization] Skip ChangeReadOnlyVariableWithDefaultValueToConstantRector when local variable never used (#1693)
2022-01-18 07:55:51 +00:00
Tomas Votruba
741370570f Updated Rector to commit 7d7edc435c7c0fe95acd6c4c6bd31914c83f9aea
7d7edc435c Revert Fix /self docblock compare removed on on-final class, as it can refer to child this type (#1246) (#1669)
2022-01-17 11:11:59 +00:00
Tomas Votruba
165b238ab7 Updated Rector to commit 94e7ac8ef85be89b0ae97e3b12d023be32cc2014
94e7ac8ef8 [Naming] Fix property interface and underscore naming (#1689)
2022-01-17 00:12:52 +00:00
Tomas Votruba
caf39c6999 Updated Rector to commit 72de31e70faca4a8d98bc2f5f9a5b63a4c26c7f4
72de31e70f Ensure autoloader is loaded in globally installed Rector (#1683)
2022-01-16 01:39:16 +00:00
Tomas Votruba
23019830ac Updated Rector to commit 99da81012ca04cb5d98883411f17cd4e5be72c98
99da81012c [Core] Refactor RectifiedAnalyzer to only exclude Class_ (#1681)
2022-01-15 17:05:09 +00:00
Tomas Votruba
7bec35aee9 Updated Rector to commit 80882ad1756430e8ecc6d1d547da5848fb5aae88
80882ad175 [TypeDeclaration] Skip Throw_ in construct and as Expr on ReturnNeverTypeRector (#1679)
2022-01-15 08:52:41 +00:00
Tomas Votruba
eaaacf8462 Updated Rector to commit a17759c0504dae048ef556a324e08415196c50d5
a17759c050 [Php74] Mirror comment on Closure return to ArrowFunction expr on ClosureToArrowFunctionRector (#1677)
2022-01-14 15:53:17 +00:00
Tomas Votruba
342033ded5 Updated Rector to commit 0947481ee67d0df4d72faee6408a671d487e387d
0947481ee6 Prevent UnionTypes rule from removing literal value scalar types (#1666)
2022-01-14 15:04:58 +00:00
Tomas Votruba
840ae52412 Updated Rector to commit fda8d1af45875248ab46a5a97ad7d207823aaeba
fda8d1af45 [Parallel] Add Option PARALLEL_TIMEOUT_IN_SECONDS and PARALLEL_SYSTEM_ERROR_COUNT_LIMIT constant to allow reconfigure it in rector config (#1673)
2022-01-14 11:43:06 +00:00
Tomas Votruba
903c96a6c2 Updated Rector to commit 6ea0032a70a530b4934c153b253d01456a7c7b6b
6ea0032a70 [CodeQuality] Do not add \ on static on CallableThisArrayToAnonymousFunctionRector (#1671)
2022-01-14 09:27:49 +00:00
Tomas Votruba
af70a0a3ce Updated Rector to commit a84d9511bc69b509039b87fad7f8868c5bef0a93
a84d9511bc [Php80] Handle nested attribute with constant on AnnotationAttributeRector (#1661)
2022-01-13 13:12:19 +00:00
Tomas Votruba
89982c6c94 Updated Rector to commit 2607c2a79b01e01665a09f125c4bda516f6d66d0
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +00:00
Tomas Votruba
885bf1ee5e Updated Rector to commit a82a18edd366575db60151880ca44f1a8c2a0120
a82a18edd3 Prevent UnionTypes rule from removing  in favor fo -typed  (#1667)
2022-01-12 15:50:28 +00:00
Tomas Votruba
c6d9c4e26b Updated Rector to commit fd34e6c9252f7ae85e6f1631be5edddfef54b48d
fd34e6c925 Do not remove final modifier from private constructors (#1663)
2022-01-12 10:12:35 +00:00
Tomas Votruba
5fc2efb4ad Updated Rector to commit bbe05673172d341c31282b9411290f3a1cebafd2
bbe0567317 [DX] Use type safe access with PrivatePropertyAccessor (#1660)
2022-01-11 15:49:28 +00:00
Tomas Votruba
4b845ca404 Updated Rector to commit fb76afb25c5046c44f00f61f27ab7cd13222d9ce
fb76afb25c [Parallel] Increase ParallelFileProcessor::TIMEOUT_IN_SECONDS to 120 (#1657)
2022-01-11 15:27:59 +00:00
Tomas Votruba
ddc2f64433 Updated Rector to commit 2676f89d1334e9d3a42c9f502a9004b153694aa3
2676f89d13 [PhpAttribute] Fix array key of class constant reference (#1659)
2022-01-11 15:18:02 +00:00
Tomas Votruba
a5aef684ff Updated Rector to commit e27e4830944bb418e5b48abc206778be11e20527
e27e483094 [Core] BetterStandardPrinter performance improvement with unnecessary regex check on no Closure Uses and no ClassMethod ReturnType (#1653)
2022-01-10 00:03:45 +00:00
Tomas Votruba
3df670f627 Updated Rector to commit 4ab2ab5850f7a5f9baee4fc698582bc59368703e
ea2ea17385 [automated] Re-Generate Nodes/Rectors Documentation 4ab2ab5850 Merge pull request #1650 from rectorphp/automated-regenerated-nodes-rectors-documentation
2022-01-09 10:54:09 +00:00