4660 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6847ad9b9f Updated Rector to commit 39580dbeefdbccc7ae2a3e9c7db72f6444fddddf
39580dbeef [TypeDeclaration] AddVoidReturnTypeWhereNoReturnRector turns  into less specific  (#1553)
2021-12-23 14:55:10 +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
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
16f4095ade Updated Rector to commit 6861ae9a4fe8e52dd4633101d80c9c55c1093b9e
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +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
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
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
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
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
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
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
79317e0a0f Updated Rector to commit f6c3e95d7bc61d0baeef95fa98721000871db0df
f6c3e95d7b [TypeDeclaration] Improve PropertyTypeDeclarationRector to work with strict types (#1494)
2021-12-14 15:31:59 +00:00
Tomas Votruba
e04672ace0 Updated Rector to commit 0127d15e07d0db0ef98d230929984c2991dfde22
0127d15e07 Cleanup (#1493)
2021-12-14 13:44:57 +00:00
Tomas Votruba
d0b4d2fb7e Updated Rector to commit 67d1b5f59083cc238e3b011027058ff12afb3574
67d1b5f590 [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486)
2021-12-14 09:41:13 +00:00
Tomas Votruba
01407ed722 Updated Rector to commit 99832003e1a46e9263c9512a235a76ef3f10d10a
99832003e1 [NodeTypeResolver] Fix undefined method ReflectionProperty::getDefaultValue() on php 7.x (#1482)
2021-12-14 08:30:47 +00:00
Tomas Votruba
98ac8c98cb Updated Rector to commit 8d33a35acf5e8ccb6443fc79e8788ac02f61e9ab
8d33a35acf [NodeTypeResolver] Add cast (float), (string), (int) back on ScalarTypeResolver (#1484)
2021-12-14 08:16:02 +00:00
Tomas Votruba
b2218b1dc3 Updated Rector to commit a7fe982fcbe5901a7e072ec3911cdd201536eb01
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 16:47:47 +00:00
Tomas Votruba
a9f7d1401f Updated Rector to commit f5009faaf9a389ab425a7404b36ffdb290691cc4
f5009faaf9 [DowngradePhp80] Add ArrowFunction support on DowngradeMixedTypeDeclarationRector (#1477)
2021-12-13 15:09:16 +00:00
Tomas Votruba
c2d4952c88 Updated Rector to commit 2bde6b32625ce9e74d59d3fcc2eacfe56271dda4
2bde6b3262 [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474)
2021-12-13 12:09:12 +00:00
Tomas Votruba
b3d73e0955 Updated Rector to commit a9290c89116bba7f0d19b2897da54dff4f5d6bc0
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
a893773fb3 Updated Rector to commit f2e58a222f1b2aa8cb281a1eac6c6cbe71380099
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35baeb2098395af6497f4bcac4fcd40c9
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d8ab4c9f051aff92ae20701436cd0fc
c621d7650d [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447)
2021-12-10 09:57:54 +00:00
Tomas Votruba
8c4aedacef Updated Rector to commit fa31841d4da7d9fd155acc7310873c799cd0d560
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
a65233ea4f Updated Rector to commit 0c695e2e0589c17bb607ec7c5fe0c49740ef5317
0c695e2e05 [Downgrade PHP 8.0] Add DowngradeDereferenceableOperationRector (#1442)
2021-12-09 17:01:18 +00:00
Tomas Votruba
b7d9e5b849 Updated Rector to commit 0c2d1aec3ee5d14f83b48a70ddfe3f2714980449
0c2d1aec3e Add SimpleStaticType for return type completion (#1441)
2021-12-09 16:02:40 +00:00
Tomas Votruba
b6c5b4fd3c Updated Rector to commit c445b5a13ab9a9966f32bc4dc09a4026a57b5a8e
c445b5a13a [Php80] Add AddParamBasedOnParentClassMethodRector (#1431)
2021-12-09 14:35:22 +00:00
Tomas Votruba
6472f7f4fb Updated Rector to commit fc383cc0114c4ebc5ffd2ec6c28729a4d5c02173
fc383cc011 [Scoped] Fix exclude symfony/console/Tester (#1438)
2021-12-09 13:05:29 +00:00
Tomas Votruba
6ee24b2d05 Updated Rector to commit b2947fd96f04e19f558bf0875a808e074bc56e03
b2947fd96f [Alternative][Validation] Add AllowEmptyConfigurableRectorInterface interface for alternative to not show warning on allowed rector rule to have default fallback config (#1422)
2021-12-08 05:39:17 +00:00
Tomas Votruba
443cb4a33f Updated Rector to commit f67387a59bb191a761c99739ad16c0302a0ad66e
f67387a59b [DX] Less addNodeAfterNode() methods (#1421)
2021-12-07 23:00:58 +00:00
Tomas Votruba
cef01a5874 Updated Rector to commit 7608c7f332a960f3834323e47c6506c2ff9c07f9
7608c7f332 deprecate phalcon set, as partial framework without support (#1420)
2021-12-07 22:37:02 +00:00