13586 Commits

Author SHA1 Message Date
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
5021de4148 Updated Rector to commit e414c51d68344108774bc47dc81d054c4ce8e847
e414c51d68 [DeadCode] Allow unused private property on Doctrine and JMS Serializable attribute on RemoveUnusedPrivatePropertyRector (#1718)
2022-01-24 22:07:46 +00:00
Tomas Votruba
65d013939f Updated Rector to commit 084ac39f29204e2763433d07422a081c39c6399b
084ac39f29 Add option to configure followLinks of finder (#1703)
2022-01-24 22:07:08 +00:00
Tomas Votruba
f61a2947b9 Updated Rector to commit 85719ff0e72bae77930c8b3149dbb029e8e0b99b
85719ff0e7 [Downgrade 7.0] Strip unnecessary parentheses around expressions (#1617)
2022-01-24 08:38:25 +00:00
Tomas Votruba
c0379e66b3 Updated Rector to commit a53b3d37eba05703b13f667065706301adc708e1
a53b3d37eb [Php80] Do not remove true pseudo type on UnionTypesRector (#1715)
2022-01-24 08:35:12 +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
1725b8b7fd Updated Rector to commit 081958a2ceb52dfae66457910750c1126cb97358
081958a2ce [DeadCode] Handle RemoveUnusedConstructorParamRector + RemoveUnusedPrivatePropertyRector (#1714)
2022-01-22 16:02:37 +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
62081a03cc Updated Rector to commit 369c2f7dfe77f93ea1d650270e502e1471b28128
369c2f7dfe [CodeQuality][EarlyReturn] Handle SimplifyIfElseToTernaryRector + ChangeIfElseValueAssignToEarlyReturnRector (#1710)
2022-01-21 23:39:53 +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
bbc20c0f57 Updated Rector to commit 7dcd6365289f04f45ca0c8cad03bb016b5a81b7d
7dcd636528 [docs] add link for rector-src
2022-01-21 10:58:31 +00:00
Tomas Votruba
5b3aa9bdb4 Updated Rector to commit fca5611ffc6d6be0055bf67ceff161fbef7d9a2b
fca5611ffc [Php74] Skip curly variable in string quoted on CurlyToSquareBracketArrayStringRector (#1707)
2022-01-21 10:42:17 +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
f415b891e8 Updated Rector to commit 7d9262746f628e267f6300c4a11b254adad9cb64
7d9262746f [Php56] Skip AddDefaultValueForUndefinedVariableRector on empty() check (#1697)
2022-01-19 09:10:13 +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
42a0272cc5 Updated Rector to commit e5ed2372b9551e9b10a7fad5fc9dbd85a54d5d88
e5ed2372b9 possible solution for global execution (#1692)
2022-01-18 16:24:12 +00:00
Tomas Votruba
4515eabbc8 Updated Rector to commit 71719b5e05ddb03c627a56c379b20a5829ddbe4f
71719b5e05 [Php70] Do not take side effect on IfToSpaceshipRector (#1696)
2022-01-18 15:46:28 +00:00
Tomas Votruba
7a85fbdbd8 Updated Rector to commit 9d781bb466dae354125382ff73302c094acf0bf1
9d781bb466 Do not run  on properties with attributes (#1694)
2022-01-18 10:31: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
bc1b388847 Updated Rector to commit bf2f6dd0e9a4b0abccdc345e588f1f713452848b
bf2f6dd0e9 [Php71] Skip iterable on CountOnNullRector (#1691)
2022-01-17 16:18:54 +00:00
Tomas Votruba
078050a017 Updated Rector to commit bf2f6dd0e9a4b0abccdc345e588f1f713452848b
bf2f6dd0e9 [Php71] Skip iterable on CountOnNullRector (#1691)
2022-01-17 11:12:52 +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
56696246bd Updated Rector to commit 65c97a9eb9437bcc432fc6aab79604ad185d0299
65c97a9eb9 bump few deps to trigger release
2022-01-17 10:20:16 +00:00
Tomas Votruba
bd264fd61f Updated Rector to commit f92c52d30a473e7b3c6ac122773c66bd5c167fb2
f92c52d30a Update symplify to ^10.0.11 (#1690)
2022-01-17 10:06:08 +00:00
Tomas Votruba
8a5aae3bff Updated Rector to commit 654b5861ca943231ffd6430062cc06d2a6f956e5
654b5861ca colors for CI
2022-01-17 09:35:14 +00:00
Tomas Votruba
3132cdf7ea Rector 0.12.13 0.12.13 2022-01-17 09:27:22 +00:00
Tomas Votruba
d5aa796890 Updated Rector to commit f09e54b79cdc481f2033482fd206f6308642b2e0
f09e54b79c Skip already correct param type (#1688)
2022-01-17 09:08: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
cd6f7c75be Updated Rector to commit ca696bc82163adf4191429af248ac9e06c2409fc
ca696bc821 [DowngradePhp74] Do not remove non-null default value on nullable on DowngradeTypedPropertyRector (#1687)
2022-01-16 20:14:24 +00:00
Tomas Votruba
436942b929 Updated Rector to commit a66d1fbb9fb40c4894c64d1d0ae75a027368cfb1
a66d1fbb9f Fix wrong typos rebase (#1686)
2022-01-16 09:58:52 +00:00
Tomas Votruba
77fe375a0b Updated Rector to commit 6b965fe744f438b0614597bec485ad8ec23831d9
6b965fe744 Revert load vendor/autoload from getcwd and add documentation for using globally (not recommended) (#1685)
2022-01-16 02:24:23 +00:00
Tomas Votruba
ad4d6a6ed5 Updated Rector to commit 4ac5dd64203365def3131ff226f65695a37d1b78
4ac5dd6420 [automated] Re-Generate Nodes/Rectors Documentation (#1682)
2022-01-16 01:52:41 +00:00
Tomas Votruba
8fd8d0affb Updated Rector to commit 90cb1ad36fac313a61c5154065c82588dcfbccc1
90cb1ad36f Typos (#1684)
2022-01-16 01:44:56 +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
7f26c24826 Updated Rector to commit 796b097e9b0d150e535bfb1eb89b55becc39da51
796b097e9b [PHPStan] Clean up ignore phpstan error (#1680)
2022-01-15 10:59:28 +00:00
Tomas Votruba
c502187b4d Updated Rector to commit 303ecc342da1484619c4f875ad67850feeb4b52b
303ecc342d Remove useless type castings in  method (#1678)
2022-01-15 10:33:01 +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
617dc40fda Updated Rector to commit a9d29826d4e80a157a4ea680671b8f5916ffd580
a9d29826d4 [Php70] Handle reverse sorting check on IfToSpaceshipRector (#1676)
2022-01-14 17:27:02 +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
a92f92cd40 Updated Rector to commit c9319540f95a53007d7973111b5cb2f9485c9339
c9319540f9 [Php81] Skip static call in right expr of Coalesce on NewInInitializerRector (#1670)
2022-01-14 09:29:52 +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