551 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
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
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
676e7a5820 Updated Rector to commit c8e5b8abd72a9d38b3006955be0e6c7a96a65c63
c8e5b8abd7 [Php80] Handle AnnotationToAttributeRector + ClassPropertyAssignToConstructorPromotionRector (#1712)
2022-01-21 23:06:42 +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
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
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
bd264fd61f Updated Rector to commit f92c52d30a473e7b3c6ac122773c66bd5c167fb2
f92c52d30a Update symplify to ^10.0.11 (#1690)
2022-01-17 10:06:08 +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
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
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
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
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
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
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
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
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
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
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
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
ffceafdc35 Updated Rector to commit 322e5b67b5c9dd2e19a3d3e79a8c1fa1523f1dc8
322e5b67b5 [PHPStanStaticTypeMapper] Do not crash on numeric string on ReturnTypeDeclarationRector (#1588)
2021-12-29 23:57:29 +00:00
Tomas Votruba
3e4ee54479 Updated Rector to commit be1c7915c3a3dedbd09a47466d03eb03f14d3da8
be1c7915c3 Faking scope context for trait reflections (#1575)
2021-12-29 23:48:39 +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
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
915ec2228d Updated Rector to commit 602aa13f7c692ad9ea22de7a58bad50cf7c883b5
602aa13f7c [Transform]Move ReservedFnFunctionRector to Php74 namespace (#1471)
2021-12-27 17:16:09 +00:00
Tomas Votruba
6a7bbbeda7 Updated Rector to commit 35ef77b4f2dd3f055d12e0f748c9c26f33b19a84
35ef77b4f2 [Transform][Php81] Add configurable ReturnTypeWillChangeRector (#1548)
2021-12-27 15:34:11 +00:00
Tomas Votruba
5a1382b023 Updated Rector to commit 5af50aff136dbb5d56403f779625bbca54c57098
5af50aff13 [TypeDeclaration] Add symfony route annotation support (#1578)
2021-12-27 12:50:18 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af511a5cb3b0296ee20e31d61f1ae02bea
68dde1af51 [TypeDeclaration] Skip controller render method on @var to type declaratoin (#1576)
2021-12-27 11:31:14 +00:00
Tomas Votruba
12ae680f84 Updated Rector to commit 1ac835fca7733fa5743ccb0a165f88bc513391f1
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
969dcc2775 Updated Rector to commit 3b673afbe323037bf4c87d880a39d6c02f4d15dd
3b673afbe3 [TypedProperty] Add property type guard in case of parent class (#1563)
2021-12-25 15:28:06 +00:00