4717 Commits

Author SHA1 Message Date
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
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
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
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
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
aa590a1dc3 Updated Rector to commit 0f67baaea03e4e012a0d0d08bb644e42164b8b79
7e575a7ce0 [Parallel] Using RectorConfigsResolver to use set bootstrap config 0f67baaea0 Merge pull request #1637 from rectorphp/bootstrap-config
2022-01-04 22:51:50 +00:00
Tomas Votruba
a5ebb3a5d6 Updated Rector to commit c850701e384877b06d3c9c7caef9f6acf8a2f403
f64c849ee0 [e2e] Add test for e2e Class Not Found on Parallel fb38502be2 final touch: comment 60b4112170 final touch: move psr4 e2e autoload to root composer.json to make demo correctly as expected d3240653bf correct diff, make test runner use colors for easier discovery of differences 4d8eb8af92 make copy of no-parlalel e2e e08c96b540 add misisng paths in dynamicSourceLocatorDecorator 5233f22528 [e2e] add no parallel test a741faa3a3 use explicit path c850701e38 Merge pull request #1629 from rectorphp/tv-parallel-class-not-found-2
2022-01-04 16:58:25 +00:00
Tomas Votruba
d24d0b280d Updated Rector to commit 71c413136000fbf3d585ed420efa923568890352
61a58df44e [Scoped] Remove vendor/tracy/tracy/examples on downgrade 71c4131360 Merge pull request #1628 from rectorphp/remove-tracy-examples
2022-01-04 16:28:21 +00:00
Tomas Votruba
72567779cf Updated Rector to commit 74b90d35752d75433bc5fe5e6933bed8a1cb4dee
4e0e174435 Configuratoin provided type does not have to exists 74b90d3575 Merge pull request #1624 from rectorphp/tv-fix-optional-configuration-type
2022-01-04 15:24:24 +00:00
Tomas Votruba
eacdb4cfeb Updated Rector to commit 6903b4da5a6db826c25dd5d391f3be5416701ac4
597df29c44 Rephrase error message without file info 6903b4da5a Merge pull request #1623 from zingimmick/rephrase-error-message-without-file
2022-01-04 14:11:25 +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
36ab25f533 Updated Rector to commit 373afbaadd32088d98f2f1a38107836eeb038e89
373afbaadd [Parallel] Fix system errors expected an instance of SystemError but got string (#1610)
2022-01-04 13:23:36 +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
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
8200b3b6f8 Updated Rector to commit b76243b41682edd072da3ca149461283c779415b
b76243b416 BinaryOpConditionsCollector: Add tests and fix edge case (#1614)
2022-01-02 11:32:22 +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
b6caca19d7 Updated Rector to commit 7ba13adac2dd854e9ae2dfc6399aaf57720b59d8
7ba13adac2 BinaryOpConditionsCollector: add documentation (#1611)
2022-01-01 22:41:46 +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
b1cba49930 Updated Rector to commit 311ffc6ec3270cef54b3e243cf042d247195b6ac
311ffc6ec3 [Php81] Skip ReadOnlyPropertyRector on Clone  (#1599)
2021-12-31 09:04:07 +00:00