Commit Graph

13494 Commits

Author SHA1 Message Date
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
Tomas Votruba
11ea17584a Updated Rector to commit 6627ced2c5
6627ced2c5 fix ReturnTypeInferer interface rename
2021-12-15 22:11:09 +00:00
Tomas Votruba
c92197cf62 Updated Rector to commit 4264d5ec9b
4264d5ec9b Cleanup TypedPropertyRector resolver (#1509)
2021-12-15 22:10:06 +00:00
Tomas Votruba
fd80b6bdc2 Updated Rector to commit e0ba9a3527
e0ba9a3527 [DowngradePhp81] Handle New_ inside array on DowngradeNewInInitializerRector (#1508)
2021-12-15 19:55:35 +00:00
Tomas Votruba
c079f6ad1a Updated Rector to commit 00b9f8faa2
00b9f8faa2 Move DoctrineColumnPropertyTypeInferer rector-doctrine package (#1505)
2021-12-15 16:03:30 +00:00
Tomas Votruba
337e5f6ea3 Updated Rector to commit deb4fb5b5d
deb4fb5b5d [TypeDeclaration] Improve assign/constructor rules (#1499)
2021-12-15 14:50:00 +00:00
Tomas Votruba
7b226cf023 Updated Rector to commit f16892e2b2
f16892e2b2 [Doc] Add PHPOffice to list of packages (#1504)
2021-12-15 13:26:36 +00:00
Tomas Votruba
c6604f6631 Updated Rector to commit dd89737f2f
dd89737f2f Use ::class constant instead of a string (#1502)
2021-12-15 09:56:55 +00:00
Tomas Votruba
41f64a3cb6 Updated Rector to commit 303c1b0c0f
303c1b0c0f [Privatization] Skip protected property used in parent class on PrivatizeFinalClassPropertyRector (#1501)
2021-12-15 08:51:25 +00:00
Tomas Votruba
0b00c0b487 Updated Rector to commit 3417ff434b
3417ff434b [TypeDeclaration] Remove CompleteVarDocTypePropertyRector, is handled by split rules (#1500)
2021-12-15 00:48:30 +00:00
Tomas Votruba
bd91192913 Updated Rector to commit bfe8d995b7
bfe8d995b7 [TypeDeclaration] Decouple TypedPropertyFromAssignsRector (#1498)
2021-12-14 21:02:15 +00:00
Tomas Votruba
b54d1ce71e Updated Rector to commit 790889c4c7
790889c4c7 [TypedPropertyRector] Remove private property only, to keep other rules work separately (#1496)
2021-12-14 17:04:36 +00:00
Tomas Votruba
79317e0a0f Updated Rector to commit f6c3e95d7b
f6c3e95d7b [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
2021-12-14 15:31:59 +00:00
Tomas Votruba
a440c65f29 Updated Rector to commit 7cdd03ed77
7cdd03ed77 [PHP 8.1] Fix IntersectionTypesRector for non-object types (#1495)
2021-12-14 14:39:36 +00:00
Tomas Votruba
e04672ace0 Updated Rector to commit 0127d15e07
0127d15e07 Cleanup (#1493)
2021-12-14 13:44:57 +00:00
Tomas Votruba
a883a63e56 Updated Rector to commit 32b06bcf14
32b06bcf14 [Scoped] Ensure remove bin/generate-changelog.php before commit (#1492)
2021-12-14 13:01:38 +00:00
Tomas Votruba
8007b9f521 Updated Rector to commit c7638288f7
c7638288f7 Fixes docs (#1490)
2021-12-14 12:42:11 +00:00
Tomas Votruba
eeefa260aa Updated Rector to commit e1b44d02a8
e1b44d02a8 [Scoped] Fix build scoped on unused bin/generate-changelog.php bin/rector bin/rector.php bin/validate-phpstan-version.php files in scoped build (#1491)
2021-12-14 12:22:33 +00:00
Tomas Votruba
f48677501c Updated Rector to commit c7638288f7
c7638288f7 Fixes docs (#1490)
2021-12-14 12:21:21 +00:00