Skip to content

Commit ee2a776

Browse files
committed
feat: review new version coverage
1 parent 508958d commit ee2a776

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+1232
-117
lines changed

src/Core/Deserialize/Demolisher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
use ReflectionException;
2121
use ReflectionParameter;
2222

23-
use function get_object_vars;
2423
use function Constructo\Cast\arrayify;
24+
use function get_object_vars;
2525

2626
class Demolisher extends Engine
2727
{

src/Core/Deserialize/Resolve/AttributeChain.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
namespace Constructo\Core\Deserialize\Resolve;
66

7-
use DateMalformedStringException;
8-
use DateTime;
9-
use DateTimeImmutable;
10-
use DateTimeInterface;
117
use Constructo\Core\Deserialize\Chain;
128
use Constructo\Support\Reflective\Attribute\Managed;
139
use Constructo\Support\Reflective\Attribute\Pattern;
@@ -16,6 +12,10 @@
1612
use Constructo\Support\Reflective\Definition\TypeExtended;
1713
use Constructo\Support\Value;
1814
use Constructo\Type\Timestamp;
15+
use DateMalformedStringException;
16+
use DateTime;
17+
use DateTimeImmutable;
18+
use DateTimeInterface;
1919
use ReflectionNamedType;
2020
use ReflectionParameter;
2121

src/Core/Deserialize/Resolve/DateChain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
namespace Constructo\Core\Deserialize\Resolve;
66

7-
use DateTimeInterface;
87
use Constructo\Core\Deserialize\Chain;
98
use Constructo\Support\Value;
109
use Constructo\Type\Timestamp;
10+
use DateTimeInterface;
1111
use ReflectionParameter;
1212

1313
class DateChain extends Chain

src/Core/Serialize/Resolver/AttributeValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
namespace Constructo\Core\Serialize\Resolver;
66

7-
use DateMalformedStringException;
87
use Constructo\Core\Serialize\ResolverTyped;
98
use Constructo\Support\Reflective\Attribute\Managed;
109
use Constructo\Support\Reflective\Attribute\Pattern;
@@ -14,6 +13,7 @@
1413
use Constructo\Support\Set;
1514
use Constructo\Support\Value;
1615
use Constructo\Type\Timestamp;
16+
use DateMalformedStringException;
1717
use ReflectionNamedType;
1818
use ReflectionParameter;
1919

src/Core/Serialize/Resolver/DependencyValue.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
use function array_key_exists;
2020
use function class_exists;
21+
use function Constructo\Cast\arrayify;
2122
use function count;
2223
use function enum_exists;
23-
use function Constructo\Cast\arrayify;
2424

2525
final class DependencyValue extends ResolverTyped
2626
{

src/Exception/AdapterException.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace Constructo\Exception;
66

7-
use InvalidArgumentException;
87
use Constructo\Exception\Adapter\NotResolved;
98
use Constructo\Support\Set;
9+
use InvalidArgumentException;
1010
use Throwable;
1111

1212
use function array_map;

src/Support/Datum.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
namespace Constructo\Support;
66

7+
use Constructo\Contract\Exportable;
78
use Error;
89
use JsonSerializable;
9-
use Constructo\Contract\Exportable;
1010
use Throwable;
1111

1212
class Datum implements Exportable, JsonSerializable

src/Support/Entity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
namespace Constructo\Support;
66

7-
use JsonSerializable;
87
use Constructo\Contract\Exportable;
8+
use JsonSerializable;
99

1010
class Entity implements Exportable, JsonSerializable
1111
{

src/Support/Reflective/AttributeAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
namespace Constructo\Support\Reflective;
66

7-
use DateMalformedStringException;
87
use Constructo\Support\Reflective\Attribute\Define;
98
use Constructo\Support\Reflective\Attribute\Managed;
109
use Constructo\Support\Reflective\Attribute\Pattern;
1110
use Constructo\Support\Reflective\Definition\Type;
1211
use Constructo\Support\Reflective\Definition\TypeExtended;
1312
use Constructo\Support\Value;
13+
use DateMalformedStringException;
1414
use ReflectionNamedType;
1515
use ReflectionParameter;
1616
use ReflectionType;

src/Support/Reflective/Engine.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
namespace Constructo\Support\Reflective;
66

7+
use Constructo\Contract\Collectable;
8+
use Constructo\Contract\Formatter;
9+
use Constructo\Support\Reflective\Engine\Resolution;
710
use Constructo\Type\Collection;
811
use ReflectionClass;
912
use ReflectionException;
@@ -12,9 +15,6 @@
1215
use ReflectionParameter;
1316
use ReflectionType;
1417
use ReflectionUnionType;
15-
use Constructo\Contract\Collectable;
16-
use Constructo\Contract\Formatter;
17-
use Constructo\Support\Reflective\Engine\Resolution;
1818

1919
use function array_map;
2020
use function gettype;

0 commit comments

Comments
 (0)