Skip to content

Commit

Permalink
optimize uses
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskapp committed Oct 9, 2024
1 parent 9cba1fd commit 646a40d
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 35 deletions.
3 changes: 0 additions & 3 deletions src/Generator/Go.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@
use PSX\Schema\Generator\Type\GeneratorInterface;
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\GenericPropertyType;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\TypeInterface;
use PSX\Schema\TypeUtil;

/**
* Go
Expand Down
2 changes: 0 additions & 2 deletions src/Generator/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@

use PSX\Schema\Generator\Type\GeneratorInterface;
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StructDefinitionType;

/**
Expand Down
2 changes: 0 additions & 2 deletions src/Generator/JsonSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,8 @@
use PSX\Schema\GeneratorInterface;
use PSX\Schema\SchemaInterface;
use PSX\Schema\Type\AnyPropertyType;
use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\ArrayTypeInterface;
use PSX\Schema\Type\GenericPropertyType;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\MapTypeInterface;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StructDefinitionType;
Expand Down
6 changes: 0 additions & 6 deletions src/Generator/MarkupAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,6 @@

namespace PSX\Schema\Generator;

use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\NumberPropertyType;
use PSX\Schema\Type\ScalarPropertyType;
use PSX\Schema\Type\StringPropertyType;
use PSX\Schema\TypeInterface;

/**
* MarkupAbstract
*
Expand Down
9 changes: 1 addition & 8 deletions src/Generator/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,14 @@
use PSX\Record\Record;
use PSX\Record\RecordableInterface;
use PSX\Record\RecordInterface;
use PSX\Schema\Format;
use PSX\Schema\Generator\Normalizer\NormalizerInterface;
use PSX\Schema\Generator\Type\GeneratorInterface;
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\NumberPropertyType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\ScalarPropertyType;
use PSX\Schema\Type\StringPropertyType;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\Type\UnionType;
use PSX\Schema\TypeInterface;

/**
* Php
Expand Down
3 changes: 0 additions & 3 deletions src/Generator/Python.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StringPropertyType;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\TypeInterface;
use PSX\Schema\TypeUtil;

/**
Expand Down
3 changes: 0 additions & 3 deletions src/Generator/Rust.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,8 @@
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StringPropertyType;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\TypeInterface;
use PSX\Schema\TypeUtil;

/**
Expand Down
1 change: 0 additions & 1 deletion src/Generator/Swift.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\Type\StructDefinitionType;

/**
Expand Down
1 change: 0 additions & 1 deletion src/Generator/Type/GeneratorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

use PSX\Schema\ContentType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\TypeInterface;

/**
* A generator can implement this interface if it has the ability to resolve a type from a schema instance. It returns
Expand Down
1 change: 0 additions & 1 deletion src/Generator/Type/Go.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
namespace PSX\Schema\Generator\Type;

use PSX\Schema\ContentType;
use PSX\Schema\Format;

/**
* Go
Expand Down
3 changes: 0 additions & 3 deletions src/Generator/Type/Php.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,9 @@
use PSX\Schema\Format;
use PSX\Schema\Type\ArrayPropertyType;
use PSX\Schema\Type\GenericPropertyType;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\MapPropertyType;
use PSX\Schema\Type\PropertyTypeAbstract;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StringPropertyType;
use PSX\Schema\TypeInterface;

/**
* Php
Expand Down
2 changes: 0 additions & 2 deletions src/Generator/TypeScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@
use PSX\Schema\Type\ArrayDefinitionType;
use PSX\Schema\Type\DefinitionTypeAbstract;
use PSX\Schema\Type\MapDefinitionType;
use PSX\Schema\Type\ReferencePropertyType;
use PSX\Schema\Type\StructDefinitionType;
use PSX\Schema\TypeInterface;
use PSX\Schema\TypeUtil;

/**
Expand Down

0 comments on commit 646a40d

Please sign in to comment.