1679 Commits

Author SHA1 Message Date
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 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
Tomas Votruba
2b045bf7d1 Updated Rector to commit 0c26b042ab69e65c7234ebe15c4a03770fd5ac9b
0c26b042ab [DowngradePhp74] Handle ArrowFunctionToAnonymousFunctionRector inside CallLike + preserve byRef (#1514)
2021-12-17 17:47:54 +00:00
Tomas Votruba
93a3fb0527 Updated Rector to commit db94f7a62c45268d31748c2870c0dc76db2d224d
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 4bac761fc8df0925ca23435d1070f0be60e1be49
4bac761fc8 [DeadCode] Skip parent not found on RemoveParentCallWithoutParentRector (#1510)
2021-12-17 00:05:48 +00:00
Tomas Votruba
e24fd607c2 Updated Rector to commit 6bd25c8094e5833607587f441558652ab0581c55
6bd25c8094 [CodingStyle] Skip new line on ConsistentPregDelimiterRector (#1506)
2021-12-16 10:12:20 +00:00
Tomas Votruba
11ea17584a Updated Rector to commit 6627ced2c563958dfba54e46e8f464d89f9d38f0
6627ced2c5 fix ReturnTypeInferer interface rename
2021-12-15 22:11:09 +00:00
Tomas Votruba
c92197cf62 Updated Rector to commit 4264d5ec9b22f16626452f31f21644ad67971f35
4264d5ec9b Cleanup TypedPropertyRector resolver (#1509)
2021-12-15 22:10:06 +00:00
Tomas Votruba
fd80b6bdc2 Updated Rector to commit e0ba9a3527cfe7197e33904db61e1f8703b68cc5
e0ba9a3527 [DowngradePhp81] Handle New_ inside array on DowngradeNewInInitializerRector (#1508)
2021-12-15 19:55:35 +00:00
Tomas Votruba
c079f6ad1a Updated Rector to commit 00b9f8faa2ef8e215cfbf5c6eea784ae4899d400
00b9f8faa2 Move DoctrineColumnPropertyTypeInferer rector-doctrine package (#1505)
2021-12-15 16:03:30 +00:00
Tomas Votruba
337e5f6ea3 Updated Rector to commit deb4fb5b5d589180005a12f76d3c439706330aeb
deb4fb5b5d [TypeDeclaration] Improve assign/constructor rules (#1499)
2021-12-15 14:50:00 +00:00
Tomas Votruba
7b226cf023 Updated Rector to commit f16892e2b2c84d896f0db6d31c439c2716f58795
f16892e2b2 [Doc] Add PHPOffice to list of packages (#1504)
2021-12-15 13:26:36 +00:00
Tomas Votruba
c6604f6631 Updated Rector to commit dd89737f2fcc3672e554048af30f96a5e3a3b941
dd89737f2f Use ::class constant instead of a string (#1502)
2021-12-15 09:56:55 +00:00
Tomas Votruba
41f64a3cb6 Updated Rector to commit 303c1b0c0f98f0f07f2b233aa61528d70794ff6a
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 3417ff434b02f620c0c953c67846c8c7c63ae0b6
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 bfe8d995b747a92526ede667e4c7814790cc88a8
bfe8d995b7 [TypeDeclaration] Decouple TypedPropertyFromAssignsRector (#1498)
2021-12-14 21:02:15 +00:00