-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
140 additions
and
140 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
testdata/jennies/rawtypes/dashboard/PHPRawTypes/Types/Dashboard/Dashboard.php
This file was deleted.
Oops, something went wrong.
8 changes: 0 additions & 8 deletions
8
testdata/jennies/rawtypes/dashboard/PHPRawTypes/Types/Dashboard/FieldConfigSource.php
This file was deleted.
Oops, something went wrong.
24 changes: 0 additions & 24 deletions
24
testdata/jennies/rawtypes/dashboard/PHPRawTypes/Types/Dashboard/Panel.php
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
testdata/jennies/rawtypes/dashboard/PHPRawTypes/src/Types/Dashboard/Dashboard.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Dashboard; | ||
|
||
class Dashboard | ||
{ | ||
public string $title; | ||
|
||
/** | ||
* @var array<\Grafana\Foundation\Types\Dashboard\Panel> | ||
*/ | ||
public ?array $panels; | ||
} |
2 changes: 1 addition & 1 deletion
2
...awTypes/Types/Dashboard/DataSourceRef.php → ...pes/src/Types/Dashboard/DataSourceRef.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Types\Dashboard; | ||
namespace Grafana\Foundation\Types\Dashboard; | ||
|
||
class DataSourceRef | ||
{ | ||
|
2 changes: 1 addition & 1 deletion
2
...PRawTypes/Types/Dashboard/FieldConfig.php → ...Types/src/Types/Dashboard/FieldConfig.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Types\Dashboard; | ||
namespace Grafana\Foundation\Types\Dashboard; | ||
|
||
class FieldConfig | ||
{ | ||
|
8 changes: 8 additions & 0 deletions
8
testdata/jennies/rawtypes/dashboard/PHPRawTypes/src/Types/Dashboard/FieldConfigSource.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Dashboard; | ||
|
||
class FieldConfigSource | ||
{ | ||
public ?\Grafana\Foundation\Types\Dashboard\FieldConfig $defaults; | ||
} |
24 changes: 24 additions & 0 deletions
24
testdata/jennies/rawtypes/dashboard/PHPRawTypes/src/Types/Dashboard/Panel.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Dashboard; | ||
|
||
class Panel | ||
{ | ||
public string $title; | ||
|
||
public string $type; | ||
|
||
public ?\Grafana\Foundation\Types\Dashboard\DataSourceRef $datasource; | ||
|
||
/** | ||
* @var mixed | ||
*/ | ||
public $options; | ||
|
||
/** | ||
* @var array<\Grafana\Foundation\Runtime\Variants\Dataquery> | ||
*/ | ||
public ?array $targets; | ||
|
||
public ?\Grafana\Foundation\Types\Dashboard\FieldConfigSource $fieldConfig; | ||
} |
2 changes: 1 addition & 1 deletion
2
...Types/Types/Enums/DashboardCursorSync.php → ...s/src/Types/Enums/DashboardCursorSync.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...PHPRawTypes/Types/Enums/LogsSortOrder.php → ...awTypes/src/Types/Enums/LogsSortOrder.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...nums/PHPRawTypes/Types/Enums/Operator.php → .../PHPRawTypes/src/Types/Enums/Operator.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...HPRawTypes/Types/Enums/TableSortOrder.php → ...wTypes/src/Types/Enums/TableSortOrder.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 0 additions & 16 deletions
16
...ta/jennies/rawtypes/field_with_struct_with_defaults/PHPRawTypes/Types/Defaults/Struct.php
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...s/Defaults/DefaultsStructComplexField.php → ...s/Defaults/DefaultsStructComplexField.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ults/DefaultsStructComplexFieldNested.php → ...ults/DefaultsStructComplexFieldNested.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lts/DefaultsStructPartialComplexField.php → ...lts/DefaultsStructPartialComplexField.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...PRawTypes/Types/Defaults/NestedStruct.php → ...Types/src/Types/Defaults/NestedStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Types\Defaults; | ||
namespace Grafana\Foundation\Types\Defaults; | ||
|
||
class NestedStruct | ||
{ | ||
|
16 changes: 16 additions & 0 deletions
16
...ennies/rawtypes/field_with_struct_with_defaults/PHPRawTypes/src/Types/Defaults/Struct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Defaults; | ||
|
||
class Struct | ||
{ | ||
public \Grafana\Foundation\Types\Defaults\NestedStruct $allFields; | ||
|
||
public \Grafana\Foundation\Types\Defaults\NestedStruct $partialFields; | ||
|
||
public \Grafana\Foundation\Types\Defaults\NestedStruct $emptyFields; | ||
|
||
public \Grafana\Foundation\Types\Defaults\DefaultsStructComplexField $complexField; | ||
|
||
public \Grafana\Foundation\Types\Defaults\DefaultsStructPartialComplexField $partialComplexField; | ||
} |
5 changes: 0 additions & 5 deletions
5
testdata/jennies/rawtypes/refs/PHPRawTypes/Types/Refs/RefToSomeStruct.php
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
testdata/jennies/rawtypes/refs/PHPRawTypes/Types/Refs/RefToSomeStructFromOtherPackage.php
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
testdata/jennies/rawtypes/refs/PHPRawTypes/src/Types/Refs/RefToSomeStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Refs; | ||
|
||
class RefToSomeStruct extends \Grafana\Foundation\Types\Refs\SomeStruct {} |
5 changes: 5 additions & 0 deletions
5
...data/jennies/rawtypes/refs/PHPRawTypes/src/Types/Refs/RefToSomeStructFromOtherPackage.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\Refs; | ||
|
||
class RefToSomeStructFromOtherPackage extends \Grafana\Foundation\Types\Otherpkg\SomeDistantStruct {} |
2 changes: 1 addition & 1 deletion
2
...efs/PHPRawTypes/Types/Refs/SomeStruct.php → ...PHPRawTypes/src/Types/Refs/SomeStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Types\Refs; | ||
namespace Grafana\Foundation\Types\Refs; | ||
|
||
class SomeStruct | ||
{ | ||
|
5 changes: 0 additions & 5 deletions
5
...types/struct_with_complex_fields/PHPRawTypes/Types/StructComplexFields/ConnectionPath.php
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
...s/struct_with_complex_fields/PHPRawTypes/src/Types/StructComplexFields/ConnectionPath.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\StructComplexFields; | ||
|
||
const CONNECTION_PATH = "straight"; |
2 changes: 1 addition & 1 deletion
2
...s/StructComplexFields/SomeOtherStruct.php → ...s/StructComplexFields/SomeOtherStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...tructComplexFields/SomeStructOperator.php → ...tructComplexFields/SomeStructOperator.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...xFieldsSomeStructFieldAnonymousStruct.php → ...xFieldsSomeStructFieldAnonymousStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...PHPRawTypes/Types/Defaults/SomeStruct.php → ...awTypes/src/Types/Defaults/SomeStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?php | ||
|
||
namespace Types\Defaults; | ||
namespace Grafana\Foundation\Types\Defaults; | ||
|
||
class SomeStruct | ||
{ | ||
|
19 changes: 0 additions & 19 deletions
19
...awtypes/struct_with_optional_fields/PHPRawTypes/Types/StructOptionalFields/SomeStruct.php
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../StructOptionalFields/SomeOtherStruct.php → .../StructOptionalFields/SomeOtherStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
...pes/struct_with_optional_fields/PHPRawTypes/src/Types/StructOptionalFields/SomeStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
|
||
namespace Grafana\Foundation\Types\StructOptionalFields; | ||
|
||
class SomeStruct | ||
{ | ||
public ?\Grafana\Foundation\Types\StructOptionalFields\SomeOtherStruct $fieldRef; | ||
|
||
public ?string $fieldString; | ||
|
||
public ?\Grafana\Foundation\Types\StructOptionalFields\SomeStructOperator $operator; | ||
|
||
/** | ||
* @var array<string> | ||
*/ | ||
public ?array $fieldArrayOfStrings; | ||
|
||
public ?\Grafana\Foundation\Types\StructOptionalFields\StructOptionalFieldsSomeStructFieldAnonymousStruct $fieldAnonymousStruct; | ||
} |
2 changes: 1 addition & 1 deletion
2
...ructOptionalFields/SomeStructOperator.php → ...ructOptionalFields/SomeStructOperator.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...lFieldsSomeStructFieldAnonymousStruct.php → ...lFieldsSomeStructFieldAnonymousStruct.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.