Commit Graph

4664 Commits

Author SHA1 Message Date
Tomas Votruba
ffceafdc35 Updated Rector to commit 322e5b67b5
322e5b67b5 [PHPStanStaticTypeMapper] Do not crash on numeric string on ReturnTypeDeclarationRector (#1588)
2021-12-29 23:57:29 +00:00
Tomas Votruba
3e4ee54479 Updated Rector to commit be1c7915c3
be1c7915c3 Faking scope context for trait reflections (#1575)
2021-12-29 23:48:39 +00:00
Tomas Votruba
5f4bbd4591 Updated Rector to commit 5181bf9016
5181bf9016 Update to PHPStan ^1.3 (#1589)
2021-12-29 23:18:00 +00:00
Tomas Votruba
aced4967b7 Updated Rector to commit fa7249028c
fa7249028c [Scoped] Fix PHP71_BIN_PATH: unbound variable on local full_build.sh (#1586)
2021-12-28 12:08:43 +00:00
Tomas Votruba
6a7bbbeda7 Updated Rector to commit 35ef77b4f2
35ef77b4f2 [Transform][Php81] Add configurable ReturnTypeWillChangeRector (#1548)
2021-12-27 15:34:11 +00:00
Tomas Votruba
901fe8ed44 Updated Rector to commit 68dde1af51
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 3a2e85d9cb
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 1ac835fca7
1ac835fca7 [automated] Re-Generate Nodes/Rectors Documentation (#1570)
2021-12-26 00:38:36 +00:00
Tomas Votruba
ca5bac5cf9 Updated Rector to commit efded8b04b
efded8b04b explicit int type (#1569)
2021-12-25 21:58:09 +00:00
Tomas Votruba
2348dc3fc5 Updated Rector to commit b3b6de8539
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 09fa15238a
09fa15238a [Core] Use StaticNonPhpFileSuffixes value object in PhpFilesFinder (#1562)
2021-12-25 12:44: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
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
6847ad9b9f Updated Rector to commit 39580dbeef
39580dbeef [TypeDeclaration] AddVoidReturnTypeWhereNoReturnRector turns  into less specific  (#1553)
2021-12-23 14:55:10 +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
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
16f4095ade Updated Rector to commit 6861ae9a4f
6861ae9a4f Merge VarDocPropertyTypeInferer (#1543)
2021-12-21 23:27:28 +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
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
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
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
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
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
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
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
e04672ace0 Updated Rector to commit 0127d15e07
0127d15e07 Cleanup (#1493)
2021-12-14 13:44:57 +00:00
Tomas Votruba
d0b4d2fb7e Updated Rector to commit 67d1b5f590
67d1b5f590 [DowngradePhp80] Add DowngradeReflectionPropertyGetDefaultValueRector (#1486)
2021-12-14 09:41:13 +00:00
Tomas Votruba
01407ed722 Updated Rector to commit 99832003e1
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 8d33a35acf
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 a7fe982fcb
a7fe982fcb [Renaming] Handle Rename before AttributeGroup on RenameClassRector (#1481)
2021-12-14 08:14:22 +00:00
Tomas Votruba
1742d3cab4 Updated Rector to commit 4214801263
4214801263 [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478)
2021-12-13 16:47:47 +00:00
Tomas Votruba
a9f7d1401f Updated Rector to commit f5009faaf9
f5009faaf9 [DowngradePhp80] Add ArrowFunction support on DowngradeMixedTypeDeclarationRector (#1477)
2021-12-13 15:09:16 +00:00
Tomas Votruba
c2d4952c88 Updated Rector to commit 2bde6b3262
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 a9290c8911
a9290c8911 [automated] Re-Generate preload.php (#1468)
2021-12-12 00:33:56 +00:00
Tomas Votruba
a893773fb3 Updated Rector to commit f2e58a222f
f2e58a222f [Scoped] Fix downgrade rector-generator (#1461)
2021-12-11 09:27:25 +00:00
Tomas Votruba
3266f22182 Updated Rector to commit 1d409bc35b
1d409bc35b safe by default
2021-12-10 10:22:23 +00:00
Tomas Votruba
058d52567d Updated Rector to commit c621d7650d
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 fa31841d4d
fa31841d4d [DX] Warn about deprecated constant configuration (#1444)
2021-12-10 00:25:09 +00:00
Tomas Votruba
a65233ea4f Updated Rector to commit 0c695e2e05
0c695e2e05 [Downgrade PHP 8.0] Add DowngradeDereferenceableOperationRector (#1442)
2021-12-09 17:01:18 +00:00
Tomas Votruba
b7d9e5b849 Updated Rector to commit 0c2d1aec3e
0c2d1aec3e Add SimpleStaticType for return type completion (#1441)
2021-12-09 16:02:40 +00:00
Tomas Votruba
b6c5b4fd3c Updated Rector to commit c445b5a13a
c445b5a13a [Php80] Add AddParamBasedOnParentClassMethodRector (#1431)
2021-12-09 14:35:22 +00:00