1231 Commits

Author SHA1 Message Date
Tomas Votruba
20964885f0 Updated Rector to commit 64d76cd11ede768c092994d69d862be818c7f2e3
64d76cd11e [FinalizePublicClassConstantRector] Ignore final classes (#1730)
2022-01-26 10:10:51 +00:00
Tomas Votruba
4fd7947603 Updated Rector to commit 7cf24218f0eafd908470b52f9dc6c48d225fd273
7cf24218f0 [DowngradePhp72] Add DowngradeJsonDecodeNullAssociativeArgRector (#1723)
2022-01-25 10:05:47 +00:00
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
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
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
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
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
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
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
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
915ec2228d Updated Rector to commit 602aa13f7c692ad9ea22de7a58bad50cf7c883b5
602aa13f7c [Transform]Move ReservedFnFunctionRector to Php74 namespace (#1471)
2021-12-27 17:16:09 +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
4c463f51f8 Updated Rector to commit 09fa15238a6436f9160bc08b8a328c282d8f4d45
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
ef5b9ac979 Updated Rector to commit 2487d9fe67e6cb4fdc9747895a63d6d6c305bb98
2487d9fe67 [DowngradePhp70] Add DowngradeMethodCallOnCloneRector (#1554)
2021-12-24 04:22:47 +00:00
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001a4a5d01f6b51fcc196654193301d9b
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81fbb352f2e83e996efe91bda7f03308
8f8685af81 [Scoped] Update full_build.sh Local script to test locally to avoid error on php 7.1 and 7.2 (#1552)
2021-12-23 10:41:56 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543377e9e42bc8f997d185337e321fa9f
3f80cd0543 [Core] Refactor RectifiedAnalyzer: no longer need check PhpDocInfo->hasChanged() (#1545)
2021-12-22 11:07:14 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
09776f16ae Updated Rector to commit 2a18c59a0c0d7e56cb80c8fedfeb4452745e5501
2a18c59a0c [DowngradePhp80] Add DowngradeReflectionClassGetConstantsFilterRector (#1529)
2021-12-20 12:16:44 +00:00
Tomas Votruba
e888119375 Updated Rector to commit c4ffdb5d8e724c3a3142e912e481111240e01d82
c4ffdb5d8e [DeadCode] Handle parent:: call with assign when no parent on RemoveParentCallWithoutParentRector (#1531)
2021-12-20 12:15:10 +00:00
Tomas Votruba
84f68c601f Updated Rector to commit daa44253f9b2f28c488d2b39d6f661a9356ff571
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:13:23 +00:00