13466 Commits

Author SHA1 Message Date
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
Tomas Votruba
146c21d347 Updated Rector to commit 2cdb53d920299c3899f3b98ed972083e211268d0
2cdb53d920 [Php80] Handle case mixed up default in first case+middle case on ChangeSwitchToMatchRector (#1538)
2021-12-20 22:50:49 +00:00
Tomas Votruba
e5ebbe106f Updated Rector to commit b6245370d54212acae5144ec175c0ba42b57f4a1
b6245370d5 [Core] Remove UnusedPrivateConstant class (#1539)
2021-12-20 22:50:00 +00:00
Tomas Votruba
b542b19143 Updated Rector to commit c53dcfa884d5ba1aca2783c51f0a8ea047621307
c53dcfa884 [Tests] Enable various skipped tests classes at rules-tests (#1541)
2021-12-20 22:43:39 +00:00
Tomas Votruba
21889aed18 Updated Rector to commit 127ab54e8d7ffee9104de9aec1a33d0698ac462d
127ab54e8d [PHPStan] Clean up PHPStan ignore errors (#1540)
2021-12-20 21:02:06 +00:00
Tomas Votruba
1cfe2fe793 Updated Rector to commit c51fcbf5ba8e4530c6992dafba25a447b89f24d0
c51fcbf5ba [Core] [DeadCode] Refactor RectifiedAnalyzer and ExprUsedInNextNodeAnalyzer (#1533)
2021-12-20 18:22:21 +00:00
Tomas Votruba
f5b0302b93 Updated Rector to commit 2cdd339cda10577cfd45dfa18b1347780065e397
2cdd339cda [Core] Move AbstractRector::unwrapStmts() to TokenGetAllToObjectRector as only used once at it (#1534)
2021-12-20 18:19:06 +00:00
Tomas Votruba
b410b7e71b Updated Rector to commit 490bec305cc7230afc5723371b458bed27ec24c8
490bec305c [Core] Move repetitive method call to variable before loop and re-use on SourceLocator classes (#1535)
2021-12-20 18:15:17 +00:00
Tomas Votruba
f8cead443c Updated Rector to commit a16f614af3d7137a5d84e119d6a8a3417fdc4f31
a16f614af3 [Reflection] Clean up getAncestors() call, use merge parents and interfaces (#1536)
2021-12-20 18:14:56 +00:00
Tomas Votruba
176318716b Updated Rector to commit 45e7eea6904f9be902f6cdbdbdcd2f7bcac5d6c3
45e7eea690 [DowngradePhp80][DowngradePhp74] Skip already has method_exists check on DowngradeReflectionGetAttributesRector + DowngradeReflectionGetTypeRector (#1532)
2021-12-20 13:41:04 +00:00
Tomas Votruba
28d9975cea Updated Rector to commit daa44253f9b2f28c488d2b39d6f661a9356ff571
daa44253f9 [DowngradePhp74][DowngradePhp80] Apply ternary with method_exists on DowngradeReflectionGetTypeRector + DowngradeReflectionGetAttributesRector (#1530)
2021-12-20 12:33:23 +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
Tomas Votruba
280e7cc666 Updated Rector to commit 6d3155ce1195e87d700168a11ec08e3213f5949a
6d3155ce11 DowngradeTrailingCommasInFunctionCallsRector - also applies to New_ (#1526)
2021-12-19 12:40:01 +00:00
Tomas Votruba
bcf638b187 Updated Rector to commit dd06dd46ad3e36e0a553b8ef5365531cd7d8d7a2
dd06dd46ad [Doctrine] Remove join columns on both PHP 8 and PHP 8.1 (#1525)
2021-12-19 12:21:32 +00:00
Tomas Votruba
07adffefcf Updated Rector to commit 8f6c99cde98bb3d817069e1b9abc519ca8bd533c
8f6c99cde9 Remove multiple nested items placeholder (#1524)
2021-12-19 11:24:31 +00:00
Tomas Votruba
0a0829c0ec Updated Rector to commit dbd10cf9f02bb4b31579adfe738bcd8d4df794ac
dbd10cf9f0 [Doctrine] Extend list of repeated nested attributes (#1523)
2021-12-19 01:56:48 +00:00
Tomas Votruba
583c1ca426 Updated Rector to commit 64ef22e6d848e517d9efe670c93a499417301d71
64ef22e6d8 [PHP 8.0] Add Annotation to ORM entity nested support (#1520)
2021-12-19 01:17:40 +00:00
Tomas Votruba
9ca383a82e Updated Rector to commit 0cc56b0a0b1b1d18b185542db21039a7d2f30d69
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba
c0bdb85200 Updated Rector to commit 3ccc13f4bfc985a750a3e6c420d3f9ee8a1337d4
3ccc13f4bf add test case with static on dynamic method (#1519)
2021-12-18 17:41:46 +00:00
Tomas Votruba
a572e3f385 Updated Rector to commit 2e03f56d4880737e7e3d4c4cd93a745d8dd166dd
2e03f56d48 [CodingStyle] Fix static to dynamic override in static method (#1518)
2021-12-18 12:43:49 +00:00
Tomas Votruba
743ba4ecdb Updated Rector to commit 176431a6a9dc9961d9ddc707dc7b4d886b7b3f03
176431a6a9 Add fixture with false doc to bool type (#1517)
2021-12-18 11:35:01 +00:00
Tomas Votruba
d358c43350 Updated Rector to commit 4e0a1ce694e9e6d94a4db5add30c68b0629512eb
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00