13567 Commits

Author SHA1 Message Date
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
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
3bf32aa1f9 Updated Rector to commit bbe05673172d341c31282b9411290f3a1cebafd2
bbe0567317 [DX] Use type safe access with PrivatePropertyAccessor (#1660)
2022-01-11 19:06:30 +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
c553da1f2e Updated Rector to commit 3fd890bd89401bfe84259501a2b6e6ae90539399
3fd890bd89 [Core] Reduce getNewStmts() call on FormatPerservingPrinter (#1652)
2022-01-09 14:45:03 +00:00
Tomas Votruba
84f7817be9 Updated Rector to commit 6cc687059719ed962c18b08ea173b71714f215cf
6cc6870597 [DowngradePhp80] Use ArgsAnalyzer for has named args check (#1651)
2022-01-09 13:31:36 +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
Tomas Votruba
d799d58c0e Updated Rector to commit 1dc94831c504b3f99936f12d140401aeb10835d2
704b1bec11 [DowngradePhp80] Add DowngradeNumberFormatNoFourthArgRector 37e2e84500 [ci-review] Rector Rectify c6f84fa033 [ci-review] Rector Rectify 31b5cbf4b2 skip named arg 490dbb6365 skip different func call 05854d69d0 skip has fourth arg d7bf81e064 skip no third arg 8f18542a00 add failing test case 7df7bcae20 implemented 7702d5df1f register efcd01a961 phpstan 6f7b8a2788 phpstan d54672face phpstan 2fd995c396 [ci-review] Rector Rectify 3c2abcb79d [ci-review] Rector Rectify 2b16ac9761 phpstan 58f3574328 phpstan 620d2b3125 [ci-review] Rector Rectify ec364cbd03 [ci-review] Rector Rectify 0355abcde2 rectify fix 1dc94831c5 Merge pull request #1649 from rectorphp/downgrade-php80-numberformat
2022-01-08 17:02:43 +00:00
Tomas Votruba
d60e53c3ca Updated Rector to commit 1f7170df9efc5c67107e7b9cd4b4c4e692c198c4
81b7411267 Fix access to optional array key when using  function 1f7170df9e Merge pull request #1648 from ste93cry/fix-phpstan-access-to-undefined-array-key
2022-01-08 00:28:55 +00:00
Tomas Votruba
ac14a3b594 Updated Rector to commit 0af102a818bfabbe236069470e8922d657d2655a
03e3762693 more precise BetterNodeFinder types 682b1d1d26 fixes 7af077b3ac fix 0af102a818 Merge pull request #1645 from staabm/finder
2022-01-07 19:48:45 +00:00
Tomas Votruba
efcc6f135a Rector 0.12.12 0.12.12 2022-01-07 16:49:17 +00:00
Tomas Votruba
a92c1d7023 Updated Rector to commit e33afe6434a9707374815bb977cff09b6e57c199
0eeaea9f4a [Configuration] Remove null bootstrap configs e33afe6434 Merge pull request #1647 from rectorphp/tv-configuration-null-config-cleanup
2022-01-07 15:47:35 +00:00
Tomas Votruba
ff1735e468 Updated Rector to commit 111bf5d78adbd38f740505bd5a98292834407897
b1dbbd65c8 Add failing test fixture for TypedPropertyFromStrictGetterMethodReturnTypeRector 8da054709b Prevent existing type override by mixed 111bf5d78a Merge pull request #1642 from zingimmick/patch-1
2022-01-07 06:43:54 +00:00
Tomas Votruba
300503afe6 Updated Rector to commit f42b3f91e27354411269caf3ce2636d90a2ba3aa
8d64aee223 Fix memory leak b5dce9edd7 Further improvement f42b3f91e2 Merge pull request #1643 from ondrejmirtes/fix-memory-leak
2022-01-07 00:57:38 +00:00
Tomas Votruba
348f392aa1 Rector 0.12.11 0.12.11 2022-01-05 18:37:59 +00:00
Tomas Votruba
8e36a87120 Updated Rector to commit 49f1596404278c63a37841eb720aabf97601311e
2eb244c116 Add failing test fixture for AddArrayReturnDocTypeRector 9102b49763 add dump_with_depth helper function 679be3801a add strict return type based return doc 8fc175912f check for iterable type before adding return type d8e153153f remove non-array test fixtures ff5f80c568 keep nullable array type b45ff7a562 remove unused test 49f1596404 Merge pull request #1639 from rectorphp/tv-make-array-return-doc-work-only-with-arrays
2022-01-05 11:55:03 +00:00