3105 Commits

Author SHA1 Message Date
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
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
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
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
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
89982c6c94 Updated Rector to commit 2607c2a79b01e01665a09f125c4bda516f6d66d0
2607c2a79b [Php81] Add NullToStrictStringFuncCallArgRector (#1655)
2022-01-13 13:02:46 +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
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
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
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
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
Tomas Votruba
88a06d884f Updated Rector to commit 840bd5e3e6af1fd5474ec8717c75c6b5400e1737
d8609d9225 [Parallel] Unsupported files are not skipped 840bd5e3e6 Merge pull request #1638 from gander/main
2022-01-05 11:30:27 +00:00
Tomas Votruba
6f207e80a2 Updated Rector to commit a66729362638e40ab2e3b985575598b70d7042df
26d5ed893e fix cs c2fd4d22c9 apply Rector a667293626 Merge pull request #1622 from rectorphp/tv-fix-cs
2022-01-04 13:59:13 +00:00
Tomas Votruba
f56607d315 Updated Rector to commit 63908627ce59ed20709341ee5180d4ff9cda1030
63908627ce [e2e][parallel] Allow set custom config on Parallel (#1620)
2022-01-04 09:29:41 +00:00
Tomas Votruba
3d189d0552 Updated Rector to commit 0a0e0fdab5c5fc474add253cd61c2927eb370704
0a0e0fdab5 [Downgrade PHP 7.0] Add Exception fallback for instanceof Throwable (#1608)
2022-01-04 09:29:33 +00:00
Tomas Votruba
eaa95768d6 Updated Rector to commit f900476469c411ad0ae25e1cb32637b392d72d22
f900476469 [Downgrade 7.0] Fix value calls that do not lex in PHP 5.6 (#1615)
2022-01-04 01:08:47 +00:00
Tomas Votruba
be823c625a Updated Rector to commit 37e26d5ce4001cd77cf1af3ace08e51662f1bc9c
37e26d5ce4 [Core] Fix undefined array key 0 on FormatPerservingPrinter (#1619)
2022-01-03 23:48:04 +00:00
Tomas Votruba
9f3110a4a1 Updated Rector to commit c3d008cd0ecba4b70968bf5aa348cff8fb72a6a5
c3d008cd0e [Downgrade 7.0] Make catch clauses catching Throwable also catch Exception (#1609)
2022-01-03 12:59:17 +00:00
Tomas Votruba
dd6ffa61b2 Updated Rector to commit 9baf531477df018156d0c12019c16f8bf638af74
9baf531477 Avoid clearing the cache while saving it on parallel (#1616)
2022-01-03 05:20:02 +00:00
Tomas Votruba
ffcf6171ac Updated Rector to commit 9c6a6b04228e3af56893d9c995459b37b879e802
9c6a6b0422 [automated] Re-Generate Nodes/Rectors Documentation (#1612)
2022-01-02 00:31:07 +00:00
Tomas Votruba
b5d89bc18d Updated Rector to commit 34c61ba4498150972db843fca807416540ca71e8
34c61ba449 Bump EndBug/add-and-commit from 7.4.0 to 7.5.0 (#1607)
2022-01-01 11:27:52 +00:00
Tomas Votruba
907bc4b9b8 Updated Rector to commit 7d927c9a41a68ed456a9ba3a69b3bc11f704a717
7d927c9a41 [Downgrade PHP 7.0] Move Throwable out of type hints (#1602)
2022-01-01 11:19:05 +00:00
Tomas Votruba
1a5260ef5d Updated Rector to commit b8a527c07e519d5d2b6d5a15396540d77e04e2d6
b8a527c07e DowngradeSelfTypeDeclarationRector: Fix example output (#1606)
2022-01-01 11:02:34 +00:00
Tomas Votruba
e732d06e52 Updated Rector to commit fee8a47d1a627b01bfba2d85293c84692715506a
fee8a47d1a [DeadCode] Add Scope check on RemoveParentCallWithoutParentRector (#1603)
2021-12-31 12:16:48 +00:00
Tomas Votruba
b88b7fa079 Updated Rector to commit eac5313f26a57e418ef66e55028319b339065d49
eac5313f26 [DeadCode] Fix remove unreachable after mark test skipped (#1601)
2021-12-31 11:37:44 +00:00
Tomas Votruba
fd3e7425db Updated Rector to commit 4399f28ee1aeec1bfe4446a97d741cee60c5eaf5
4399f28ee1 [Core] Apply CREATED_BY_RULE attribute as array collection of applied Rector rule (#1600)
2021-12-31 10:33:05 +00:00
Tomas Votruba
b1cba49930 Updated Rector to commit 311ffc6ec3270cef54b3e243cf042d247195b6ac
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00
Tomas Votruba
c638bf24a8 Updated Rector to commit bc09bdc203c39fafb0616a9ea0c1d89d342c900a
bc09bdc203 [DowngradePhp80] Skip array on 2nd arg on DowngradeArrayFilterNullableCallbackRector (#1598)
2021-12-30 16:54:57 +00:00
Tomas Votruba
825d9bd12b Updated Rector to commit 8648410c86d2775821b15ee20c3665dc1e34a806
8648410c86 [Scoped] Fixing downgrade part 2 (#1597)
2021-12-30 16:07:15 +00:00
Tomas Votruba
486b7bee9f Updated Rector to commit 068369e632408225fe89991c08485ceb07f89664
068369e632 fix: add failing test and fix for repeated numeric strings (#1591)
2021-12-30 08:15:26 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf901638052b401617e46734e4d4d2967fb6
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
6f59bc8f4b Updated Rector to commit 29838d0c0df88974453465ed21042b32166abfb1
29838d0c0d [Parallel] Process smaller chunk of files at once (#1587)
2021-12-28 14:03:15 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c579f405ed61704b215c87a417b97f5
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
fc5610bdbd Updated Rector to commit b0936667c8b0c707cbdbd63875c75335fb4941fc
b0936667c8 [DowngradePhp56] Add DowngradeArrayFilterUseConstantRector (#1573)
2021-12-27 19:30:54 +00:00
Tomas Votruba
27cabcdf40 Updated Rector to commit 8c6a966741ca3f75c0e1f563b8c951f073c323be
8c6a966741 [TypeDeclaration] Include trait in AddVoidReturnTypeWhereNoReturnRector (#1582)
2021-12-27 19:07:28 +00:00
Tomas Votruba
feb1acabfc Updated Rector to commit cb8fe8474ce23ada4e7bd7a0b3b4625050bda919
cb8fe8474c [PHP 8.1] Skip abstract class in NewInInitializerRector (#1581)
2021-12-27 19:05:02 +00:00