Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Bridge\LeagueOpenAPIValidation\Exception;

use InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Bridge\LeagueOpenAPIValidation\Exception;

use CHStudio\Raven\Validator\Exception\ApiSchemaException;
Expand Down
2 changes: 2 additions & 0 deletions src/Bridge/LeagueOpenAPIValidation/Factory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Bridge\LeagueOpenAPIValidation;

use CHStudio\Raven\Bridge\LeagueOpenAPIValidation\Exception\InvalidOpenApiDefinitionException;
Expand Down
2 changes: 2 additions & 0 deletions src/Bridge/LeagueOpenAPIValidation/RequestValidator.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Bridge\LeagueOpenAPIValidation;

use CHStudio\Raven\Bridge\LeagueOpenAPIValidation\Exception\ValidationExceptionMapper;
Expand Down
4 changes: 3 additions & 1 deletion src/Bridge/LeagueOpenAPIValidation/ResponseValidator.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Bridge\LeagueOpenAPIValidation;

use CHStudio\Raven\Bridge\LeagueOpenAPIValidation\Exception\ValidationExceptionMapper;
Expand Down Expand Up @@ -52,7 +54,7 @@ private function findOperation(RequestInterface $request): OperationAddress
{
$pathFinder = new PathFinder(
$this->adapted->getSchema(),
$request->getUri(),
$request->getUri()->__toString(),
$request->getMethod()
);

Expand Down
2 changes: 2 additions & 0 deletions src/Executor.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven;

use CHStudio\Raven\Validator\Expectation\ExpectationCollection;
Expand Down
2 changes: 2 additions & 0 deletions src/ExecutorInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven;

use CHStudio\Raven\Validator\Expectation\ExpectationCollection;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Headers.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use ArrayIterator;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/RequestBodyResolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use CHStudio\Raven\Http\Factory\Resolver\ValueResolverInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/RequestFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use CHStudio\Raven\Http\Factory\RequestFactoryInterface as InternalRequestFactoryInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/RequestFactoryInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use Psr\Http\Message\RequestInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/RequestUriParametersResolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use CHStudio\Raven\Http\Factory\Resolver\ValueResolverInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Resolver/ArrayValueResolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory\Resolver;

class ArrayValueResolver implements ValueResolverInterface
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Resolver/FakerValueResolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory\Resolver;

use Faker\Generator;
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Resolver/PassThroughValueResolver.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory\Resolver;

class PassThroughValueResolver implements ValueResolverInterface
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Resolver/ValueResolverInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory\Resolver;

interface ValueResolverInterface
Expand Down
2 changes: 2 additions & 0 deletions src/Http/Factory/Uri.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Http\Factory;

use InvalidArgumentException;
Expand Down
2 changes: 2 additions & 0 deletions src/LoggedErrorExecutor.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven;

use CHStudio\Raven\Validator\Exception\ValidationException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/ApiSchemaException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use RuntimeException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/DataSchemaException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use RuntimeException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/GenericException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use RuntimeException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/OperationNotFoundException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use Psr\Http\Message\RequestInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/RequiredParameterMissingException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use League\OpenAPIValidation\PSR7\Exception\Validation\RequiredParameterMissing;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/ResponseNotExpectedException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use RuntimeException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Exception/ValidationException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Exception;

use Throwable;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Expectation/ExpectationCollection.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Expectation;

use ArrayIterator;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Expectation/ExpectationFactory.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Expectation;

class ExpectationFactory
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Expectation/ExpectationFailedException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Expectation;

use RuntimeException;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Expectation/ResponseExpectationInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Expectation;

use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/Expectation/StatusCode.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator\Expectation;

use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/LoggedRequestValidator.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator;

use Psr\Http\Message\RequestInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/LoggedResponseValidator.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator;

use Psr\Http\Message\RequestInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/RequestValidatorInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator;

use Psr\Http\Message\RequestInterface;
Expand Down
2 changes: 2 additions & 0 deletions src/Validator/ResponseValidatorInterface.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?php

declare(strict_types=1);

namespace CHStudio\Raven\Validator;

use Psr\Http\Message\RequestInterface;
Expand Down
Loading