Skip to content

Commit 3130662

Browse files
committed
fix: package name
1 parent a39565c commit 3130662

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

src/Http/Validator/AllOf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Ensure all of the validators from a list passed the check
99
*
10-
* @package Utopia\Validator
10+
* @package Utopia\Http\Validator
1111
*/
1212
class AllOf extends Validator
1313
{

src/Http/Validator/AnyOf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Ensure at least one validator from a list passed the check
99
*
10-
* @package Utopia\Validator
10+
* @package Utopia\Http\Validator
1111
*/
1212
class AnyOf extends Validator
1313
{

src/Http/Validator/Domain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Validate that an variable is a valid domain address
1111
*
12-
* @package Utopia\Validator
12+
* @package Utopia\Http\Validator
1313
*/
1414
class Domain extends Validator
1515
{

src/Http/Validator/Host.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Validate that a host is allowed from given whitelisted hosts list
1111
*
12-
* @package Utopia\Validator
12+
* @package Utopia\Http\Validator
1313
*/
1414
class Host extends Validator
1515
{

src/Http/Validator/IP.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
* Validate that an variable is a valid IP address
1212
*
13-
* @package Utopia\Validator
13+
* @package Utopia\Http\Validator
1414
*/
1515
class IP extends Validator
1616
{

src/Http/Validator/Multiple.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*
1010
* Multiple validator is a container of multiple validations each acting as a rule.
1111
*
12-
* @package Utopia\Validator
12+
* @package Utopia\Http\Validator
1313
*/
1414
class Multiple extends Validator
1515
{

src/Http/Validator/NoneOf.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
/**
88
* Ensure no validators from a list passed the check
99
*
10-
* @package Utopia\Validator
10+
* @package Utopia\Http\Validator
1111
*/
1212
class NoneOf extends Validator
1313
{

tests/Validator/MultipleOfTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ public function testRules()
5353
$this->assertFalse($vaidator->isValid($invalidTextInvalidUrl));
5454

5555
$this->assertCount(2, $vaidator->getValidators());
56-
$this->assertEquals("Utopia\Validator\Text", \get_class($vaidator->getValidators()[0]));
57-
$this->assertEquals("Utopia\Validator\URL", \get_class($vaidator->getValidators()[1]));
56+
$this->assertEquals("Utopia\Http\Validator\Text", \get_class($vaidator->getValidators()[0]));
57+
$this->assertEquals("Utopia\Http\Validator\URL", \get_class($vaidator->getValidators()[1]));
5858

5959
$vaidator = new NoneOf([new Text(20), new URL()], Validator::TYPE_STRING);
6060
$this->assertFalse($vaidator->isValid($validTextValidUrl));

0 commit comments

Comments
 (0)