Skip to content

Commit

Permalink
Schema: rename Builder\SchemaBuilder to SchemaBuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar authored and f3l1x committed Nov 1, 2019
1 parent 04386eb commit b938f13
Show file tree
Hide file tree
Showing 31 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion src/DI/Loader/DoctrineAnnotationLoader.php
Expand Up @@ -13,8 +13,8 @@
use Apitte\Core\Annotation\Controller\Tag;
use Apitte\Core\Exception\Logical\InvalidStateException;
use Apitte\Core\Schema\Builder\Controller\Controller;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointRequestBody;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\UI\Controller\IController;
use Doctrine\Common\Annotations\AnnotationReader;
use Doctrine\Common\Annotations\AnnotationRegistry;
Expand Down
2 changes: 1 addition & 1 deletion src/DI/Loader/ILoader.php
Expand Up @@ -2,7 +2,7 @@

namespace Apitte\Core\DI\Loader;

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;

interface ILoader
{
Expand Down
2 changes: 1 addition & 1 deletion src/DI/Loader/NeonLoader.php
Expand Up @@ -4,9 +4,9 @@

use Apitte\Core\Schema\Builder\Controller\Controller;
use Apitte\Core\Schema\Builder\Controller\Method;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointParameter;
use Apitte\Core\Schema\EndpointRequestBody;
use Apitte\Core\Schema\SchemaBuilder;

class NeonLoader implements ILoader
{
Expand Down
2 changes: 1 addition & 1 deletion src/DI/Plugin/CoreSchemaPlugin.php
Expand Up @@ -4,7 +4,7 @@

use Apitte\Core\DI\Loader\DoctrineAnnotationLoader;
use Apitte\Core\DI\Loader\NeonLoader;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Serialization\ArrayHydrator;
use Apitte\Core\Schema\Serialization\ArraySerializator;
use Apitte\Core\Schema\Serialization\IDecorator;
Expand Down
@@ -1,6 +1,6 @@
<?php declare(strict_types = 1);

namespace Apitte\Core\Schema\Builder;
namespace Apitte\Core\Schema;

use Apitte\Core\Schema\Builder\Controller\Controller;

Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Serialization/ArraySerializator.php
Expand Up @@ -5,9 +5,9 @@
use Apitte\Core\Exception\Logical\InvalidStateException;
use Apitte\Core\Schema\Builder\Controller\Controller;
use Apitte\Core\Schema\Builder\Controller\Method;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointParameter;
use Apitte\Core\Schema\Hierarchy\HierarchyBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Helpers;
use Apitte\Core\Utils\Regex;

Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Serialization/IDecorator.php
Expand Up @@ -2,7 +2,7 @@

namespace Apitte\Core\Schema\Serialization;

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;

interface IDecorator
{
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Serialization/ISerializator.php
Expand Up @@ -2,7 +2,7 @@

namespace Apitte\Core\Schema\Serialization;

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;

interface ISerializator
{
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/ControllerPathValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Regex;

class ControllerPathValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/ControllerValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\UI\Controller\IController;

class ControllerValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/FullpathValidation.php
Expand Up @@ -3,8 +3,8 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\Endpoint;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Helpers;

class FullpathValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/GroupPathValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Regex;

class GroupPathValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/IValidation.php
Expand Up @@ -2,7 +2,7 @@

namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;

interface IValidation
{
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/IdValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Regex;

class IdValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/NegotiationValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use ReflectionClass;

class NegotiationValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/PathValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Regex;

class PathValidation implements IValidation
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/RequestBodyValidation.php
Expand Up @@ -3,7 +3,7 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;

class RequestBodyValidation implements IValidation
{
Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validation/RequestParameterValidation.php
Expand Up @@ -3,8 +3,8 @@
namespace Apitte\Core\Schema\Validation;

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointParameter;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Helpers;
use Apitte\Core\Utils\Regex;

Expand Down
2 changes: 1 addition & 1 deletion src/Schema/Validator/SchemaBuilderValidator.php
Expand Up @@ -2,7 +2,7 @@

namespace Apitte\Core\Schema\Validator;

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\IValidation;

class SchemaBuilderValidator
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/DI/Loader/DoctrineAnnotationLoader.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\DI\Loader\DoctrineAnnotationLoader;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\UI\Controller\IController;
use Nette\DI\ContainerBuilder;
use Nette\DI\ServiceDefinition;
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/SchemaBuilderTest.php
Expand Up @@ -2,10 +2,10 @@

require_once __DIR__ . '/../../bootstrap.php';

use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\Endpoint;
use Apitte\Core\Schema\Hierarchy\ControllerMethodPair;
use Apitte\Core\Schema\Hierarchy\HierarchyBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Utils\Helpers;
use Tester\Assert;
use Tester\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Serialization/ArraySerializator.phpt
Expand Up @@ -7,10 +7,10 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidStateException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\Endpoint;
use Apitte\Core\Schema\EndpointParameter;
use Apitte\Core\Schema\EndpointRequestBody;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Serialization\ArraySerializator;
use Tester\Assert;

Expand Down
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\ControllerPathValidation;
use Tester\Assert;

Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/ControllerValidation.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\ControllerValidation;
use Tester\Assert;
use Tests\Fixtures\Controllers\FoobarController;
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/FullpathValidation.phpt
Expand Up @@ -7,8 +7,8 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\Endpoint;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\FullpathValidation;
use Tester\Assert;

Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/GroupPathValidation.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\GroupPathValidation;
use Tester\Assert;

Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/IdValidation.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\IdValidation;
use Tester\Assert;

Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/NegotiationValidation.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\NegotiationValidation;
use Tester\Assert;
use Tests\Fixtures\Negotiation\FooRenderer;
Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/PathValidation.phpt
Expand Up @@ -7,7 +7,7 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\PathValidation;
use Tester\Assert;

Expand Down
2 changes: 1 addition & 1 deletion tests/cases/Schema/Validation/RequestBodyValidation.phpt
Expand Up @@ -7,8 +7,8 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointRequestBody;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\RequestBodyValidation;
use Tester\Assert;
use Tests\Fixtures\Mapping\Request\FooEntity;
Expand Down
Expand Up @@ -7,8 +7,8 @@
require_once __DIR__ . '/../../../bootstrap.php';

use Apitte\Core\Exception\Logical\InvalidSchemaException;
use Apitte\Core\Schema\Builder\SchemaBuilder;
use Apitte\Core\Schema\EndpointParameter;
use Apitte\Core\Schema\SchemaBuilder;
use Apitte\Core\Schema\Validation\RequestParameterValidation;
use Tester\Assert;

Expand Down

0 comments on commit b938f13

Please sign in to comment.