Skip to content

Commit

Permalink
prepare release
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Jan 7, 2025
1 parent 527559c commit 69f5c11
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
],
"require": {
"php": ">=8.1",
"spiral/core": "^3.15"
"spiral/core": "^3.14.9"
},
"require-dev": {
"spiral/boot": "^3.15",
"spiral/boot": "^3.14.9",
"phpunit/phpunit": "^10.1",
"mockery/mockery": "^1.5",
"vimeo/psalm": "^5.9"
Expand Down
4 changes: 2 additions & 2 deletions tests/Config/ValidationConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ public function testDefaultValidatorIsNotSet(): void
{
$config = new ValidationConfig();

self::assertNull($config->getDefaultValidator());
$this->assertNull($config->getDefaultValidator());
}

public function testDefaultValidator(): void
{
$config = new ValidationConfig(['defaultValidator' => 'some']);

self::assertSame('some', $config->getDefaultValidator());
$this->assertSame('some', $config->getDefaultValidator());
}
}
5 changes: 4 additions & 1 deletion tests/ValidationProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public function testRegisterValidator(): void
->with($resolver, $params)
->andReturn($validation);

self::assertSame($validation, $this->provider->getValidation('foo', $params));
$this->assertSame(
$validation,
$this->provider->getValidation('foo', $params)
);
}
}

0 comments on commit 69f5c11

Please sign in to comment.