Commit Graph

13612 Commits

Author SHA1 Message Date
Tomas Votruba
520356e040 Updated Rector to commit e9b9358a3a
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 a5624ca0b9
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 9b51302be9
9b51302be9 [TypeDeclaration] Fix ParamTypeByParentCallTypeRector union type printing (#1564)
2021-12-25 17:15:28 +00:00
Tomas Votruba
969dcc2775 Updated Rector to commit 3b673afbe3
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 09fa15238a
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44:33 +00:00
Tomas Votruba
fa918122b3 Updated Rector to commit b7da222d01
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 fe18774733
fe18774733 [NodeCollector] Merge BitwiseOrAnalyzer + BooleanAndAnalyzer to BinaryOpConditionsCollector (#1561)
2021-12-24 20:48:33 +00:00
Tomas Votruba
143f4b8549 Updated Rector to commit b7da222d01
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 5157b7e7a1
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 2487d9fe67
2487d9fe67 [DowngradePhp70] Add DowngradeMethodCallOnCloneRector (#1554)
2021-12-24 04:22:47 +00:00
Tomas Votruba
d09e8c256a Updated Rector to commit 89c3483001
89c3483001 [TypeDeclaratoin] Add AccessoryLiteralStringType to static type mapper (#1558)
2021-12-24 01:23:52 +00:00
Tomas Votruba
262b484a23 Updated Rector to commit 6c8a69e956
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 39580dbeef
39580dbeef [TypeDeclaration] AddVoidReturnTypeWhereNoReturnRector turns  into less specific  (#1553)
2021-12-23 14:55:10 +00:00
Tomas Votruba
0ed2bb8986 Updated Rector to commit f05b84f97a
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 e546dbb45f
e546dbb45f [Php80] Handle optional, required, optional on OptionalParametersAfterRequiredRector (#1550)
2021-12-23 14:06:01 +00:00
Tomas Votruba
568f567154 Updated Rector to commit 49c848b3eb
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 e546dbb45f
e546dbb45f [Php80] Handle optional, required, optional on OptionalParametersAfterRequiredRector (#1550)
2021-12-23 13:23:36 +00:00
Tomas Votruba
80c023c646 Updated Rector to commit 8f8685af81
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 650a8d6a13
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 d1e885a03a
d1e885a03a [Tests] Remove tests/debug_functions.php (#1546)
2021-12-22 14:50:15 +00:00
Tomas Votruba
e378a052e4 Updated Rector to commit 3f80cd0543
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 2021-12-21 23:30:38 +00:00
Tomas Votruba
16f4095ade Updated Rector to commit 6861ae9a4f
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +00:00
Tomas Votruba
146c21d347 Updated Rector to commit 2cdb53d920
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 b6245370d5
b6245370d5 [Core] Remove UnusedPrivateConstant class (#1539)
2021-12-20 22:50:00 +00:00
Tomas Votruba
b542b19143 Updated Rector to commit c53dcfa884
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 127ab54e8d
127ab54e8d [PHPStan] Clean up PHPStan ignore errors (#1540)
2021-12-20 21:02:06 +00:00
Tomas Votruba
1cfe2fe793 Updated Rector to commit c51fcbf5ba
c51fcbf5ba [Core] [DeadCode] Refactor RectifiedAnalyzer and ExprUsedInNextNodeAnalyzer (#1533)
2021-12-20 18:22:21 +00:00
Tomas Votruba
f5b0302b93 Updated Rector to commit 2cdd339cda
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 490bec305c
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 a16f614af3
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 45e7eea690
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 daa44253f9
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 2a18c59a0c
2a18c59a0c [DowngradePhp80] Add DowngradeReflectionClassGetConstantsFilterRector (#1529)
2021-12-20 12:16:44 +00:00
Tomas Votruba
e888119375 Updated Rector to commit c4ffdb5d8e
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 daa44253f9
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 6d3155ce11
6d3155ce11 DowngradeTrailingCommasInFunctionCallsRector - also applies to New_ (#1526)
2021-12-19 12:40:01 +00:00
Tomas Votruba
bcf638b187 Updated Rector to commit dd06dd46ad
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 8f6c99cde9
8f6c99cde9 Remove multiple nested items placeholder (#1524)
2021-12-19 11:24:31 +00:00
Tomas Votruba
0a0829c0ec Updated Rector to commit dbd10cf9f0
dbd10cf9f0 [Doctrine] Extend list of repeated nested attributes (#1523)
2021-12-19 01:56:48 +00:00
Tomas Votruba
583c1ca426 Updated Rector to commit 64ef22e6d8
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 0cc56b0a0b
0cc56b0a0b [automated] Re-Generate Nodes/Rectors Documentation (#1522)
2021-12-19 00:36:48 +00:00
Tomas Votruba
c0bdb85200 Updated Rector to commit 3ccc13f4bf
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 2e03f56d48
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 176431a6a9
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 4e0a1ce694
4e0a1ce694 [Php80] Handle double quoted sql statement annotation on AnnotationToAttributeRector (#1516)
2021-12-18 10:25:56 +00:00
Tomas Votruba
2b045bf7d1 Updated Rector to commit 0c26b042ab
0c26b042ab [DowngradePhp74] Handle ArrowFunctionToAnonymousFunctionRector inside CallLike + preserve byRef (#1514)
2021-12-17 17:47:54 +00:00
Tomas Votruba
93a3fb0527 Updated Rector to commit db94f7a62c
db94f7a62c [Php80] Handle Alias is used as Attribute on AnnotationToAttributeRector (#1511)
2021-12-17 11:19:17 +00:00
Tomas Votruba
0bc44a07f1 Updated Rector to commit 4bac761fc8
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00