13489 Commits

Author SHA1 Message Date
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
3110b1c6b7 Updated Rector to commit 18fbe1d0ded286436557c3ecc3e91cf553efb6c9
18fbe1d0de [Downgrade PHP 7.4] Add false to downgraded typed property (#1596)
2021-12-30 16:27: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
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
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
Tomas Votruba
36d8639374 Updated Rector to commit ac90adcc323155ef1fb423fff9ebf7d75d3630d9
ac90adcc32 [TypeDeclaration] Add symfony route annotation support (#1580)
2021-12-27 18:59:06 +00:00
Tomas Votruba
9ce09af15a Updated Rector to commit 1c30e96024701504245b0f54e5e867def359de68
1c30e96024 [Scoped] Fix scoped Uninitialized string offset -1 error (#1579)
2021-12-27 17:42:16 +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
dcce86f7e2 Updated Rector to commit 889a682d12e870364e01c17c20e01fe81c368b8b
889a682d12 add phpstan php-parser extension (#1574)
2021-12-26 17:15:28 +00:00
Tomas Votruba
39175c2ff5 Updated Rector to commit dbd934ee66dd836294670893416f3e2c8121e960
dbd934ee66 [TypeDeclaration] Skip callable on return type of control (#1572)
2021-12-26 11:33:23 +00:00
Tomas Votruba
f42120a67b Updated Rector to commit 3a2e85d9cb2345e369b59e3f9c3625acdb0eae44
3a2e85d9cb [TypeDeclaration] Fix ReturnTypeAlreadyAddedChecker on return key of array (#1571)
2021-12-26 10:48:46 +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
ca5bac5cf9 Updated Rector to commit efded8b04b5a6d2c3932a0d92f025cc0a604223c
efded8b04b explicit int type (#1569)
2021-12-25 21:58:09 +00:00
Tomas Votruba
2348dc3fc5 Updated Rector to commit b3b6de853924da92be2d9a4b9b28f1ffd0ab5c71
b3b6de8539 [TypeDeclaration] Keep original return type if same as unioned (#1568)
2021-12-25 21:44:04 +00:00
Tomas Votruba
fe031927f5 Updated Rector to commit 1c89d2456df6774098983352a58e82a172264aff
1c89d2456d [Scoped] Remove duplicate skip vendor/symfony/console/Tester (#1567)
2021-12-25 19:48:39 +00:00
Tomas Votruba
520356e040 Updated Rector to commit e9b9358a3a3ffe08e7520bb3a64d564b1ce03cf3
e9b9358a3a Add scalar pseudo-type to union type unwrap (#1566)
2021-12-25 18:56:10 +00:00
Tomas Votruba
ceb700cba7 Updated Rector to commit a5624ca0b99108543b5ad94b3a5894df99327ad1
a5624ca0b9 [TypeDeclaration] Fix return type union with null/mixed (#1565)
2021-12-25 18:03:06 +00:00
Tomas Votruba
f4c08ee6e7 Updated Rector to commit 9b51302be952a206b14eed9c138a358a82deae14
9b51302be9 [TypeDeclaration] Fix ParamTypeByParentCallTypeRector union type printing (#1564)
2021-12-25 17:15:28 +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
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
fa918122b3 Updated Rector to commit b7da222d01ddf6bc0e304bc87bdcdcd46eef01b4
b7da222d01 [Php74] Skip protected property on final class with parent not loaded on TypedPropertyRector (#1560)
2021-12-24 21:04:40 +00:00
Tomas Votruba
370f3d4a81 Updated Rector to commit fe18774733b802743b1f6d100be17ab36bfce2cf
fe18774733 [NodeCollector] Merge BitwiseOrAnalyzer + BooleanAndAnalyzer to BinaryOpConditionsCollector (#1561)
2021-12-24 20:48:33 +00:00
Tomas Votruba
143f4b8549 Updated Rector to commit b7da222d01ddf6bc0e304bc87bdcdcd46eef01b4
b7da222d01 [Php74] Skip protected property on final class with parent not loaded on TypedPropertyRector (#1560)
2021-12-24 20:47:54 +00:00
Tomas Votruba
5d9de915ae Updated Rector to commit 5157b7e7a1c1360e05e5173f006a34e0c4c2b681
5157b7e7a1 [Core] Remove no longer needed empty start and end tag on BetterStandardPrinter (#1559)
2021-12-24 11:00:07 +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
262b484a23 Updated Rector to commit 6c8a69e956a8861d7081bcf9ef7b126b520c1254
6c8a69e956 [Scoped] Allow to specify php 7.1 bin path on full_build.sh local script (#1557)
2021-12-23 18:11:43 +00:00
Tomas Votruba
6847ad9b9f Updated Rector to commit 39580dbeefdbccc7ae2a3e9c7db72f6444fddddf
39580dbeef [TypeDeclaration] AddVoidReturnTypeWhereNoReturnRector turns  into less specific  (#1553)
2021-12-23 14:55:10 +00:00
Tomas Votruba
0ed2bb8986 Updated Rector to commit f05b84f97ab51c533bab635d7bfaf9924050575d
f05b84f97a [Scoped] Speed up downgrade build by exclude ssch/typo3-rector/config from downgrade (#1551)
2021-12-23 14:25:36 +00:00
Tomas Votruba
e8963d31ec Updated Rector to commit e546dbb45f59843b1a81685be05e5e1fb58b6ed9
e546dbb45f [Php80] Handle optional, required, optional on OptionalParametersAfterRequiredRector (#1550)
2021-12-23 14:06:01 +00:00
Tomas Votruba
568f567154 Updated Rector to commit 49c848b3eb1798e08421ad11278638132669a040
49c848b3eb [Php81] Skip assign coalesce with new in inner class on NewInInitializerRector (#1547)
2021-12-23 13:24:40 +00:00
Tomas Votruba
a2fdb61906 Updated Rector to commit e546dbb45f59843b1a81685be05e5e1fb58b6ed9
e546dbb45f [Php80] Handle optional, required, optional on OptionalParametersAfterRequiredRector (#1550)
2021-12-23 13:23:36 +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
163ad0b1a3 Updated Rector to commit 650a8d6a13ee2edf5d9aa2b3aa0cfada95589fe4
650a8d6a13 [DowngradePhp80] Add #[\ReturnTypeWillChange] on DowngradeMixedTypeDeclarationRector on implements ArrayAccess (#1544)
2021-12-22 14:55:49 +00:00
Tomas Votruba
c2bad56285 Updated Rector to commit d1e885a03af4a695e3471bb50c5c4784d678e3ee
d1e885a03a [Tests] Remove tests/debug_functions.php (#1546)
2021-12-22 14:50:15 +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
8f7cfa8573 Rector 0.12.9 0.12.9 2021-12-21 23:30:38 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00