Skip to content

Commit

Permalink
Update membrane dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
carnage committed Apr 19, 2024
1 parent e889c25 commit c30d259
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"illuminate/http": "^9.0 || ^10.0",
"illuminate/support": "^9.0 || ^10.0",
"nyholm/psr7": "^1.8",
"membrane/membrane": "^0.6.0",
"membrane/openapi-router": "0.2.1",
"membrane/membrane": "dev-main",
"membrane/openapi-router": "^0.4.0",
"symfony/psr-http-message-bridge": "^2.1"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Membrane\Builder\Builder;
use Membrane\Laravel\Middleware\RequestValidation;
use Membrane\Membrane;
use Membrane\OpenAPIRouter\Router\Router;
use Membrane\OpenAPIRouter\Router\ValueObject\RouteCollection;
use Membrane\OpenAPIRouter\Router;
use Membrane\OpenAPIRouter\RouteCollection;

class ServiceProvider extends \Illuminate\Support\ServiceProvider
{
Expand Down
4 changes: 2 additions & 2 deletions tests/Middleware/RequestValidationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Membrane\Laravel\ToPsr7;
use Membrane\Laravel\ToSymfony;
use Membrane\OpenAPI\Exception\CannotProcessSpecification;
use Membrane\OpenAPI\Method;
use Membrane\OpenAPIReader\ValueObject\Valid\Enum\Method;
use Membrane\Result\Result;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\Attributes\DataProvider;
Expand All @@ -29,7 +29,7 @@ class RequestValidationTest extends TestCase
#[Test]
public function registersResultInstanceInContainer(): void
{
$url = '/pets?limit=5&tags[]=cat&tags[]=tabby';
$url = '/pets?limit=5&tags=cat&tags=tabby';
$expected = Result::valid([
'path' => [],
'query' => ['limit' => 5, 'tags' => ['cat', 'tabby']],
Expand Down

0 comments on commit c30d259

Please sign in to comment.