Skip to content

Commit

Permalink
Update translator namespace (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
thenotsoft committed Oct 8, 2020
1 parent e74480c commit 5032f6f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions composer.json
Expand Up @@ -25,13 +25,13 @@
},
"require": {
"php": "^7.4|^8.0",
"ext-json": "*",
"ext-mbstring": "*",
"yiisoft/friendly-exception": "^1.0",
"yiisoft/strings": "^1.0",
"yiisoft/arrays": "dev-master",
"yiisoft/i18n": "dev-master",
"yiisoft/network-utilities": "dev-master",
"ext-json": "*"
"yiisoft/translator": "dev-master",
"yiisoft/network-utilities": "dev-master"
},
"require-dev": {
"phpunit/phpunit": "^9.3",
Expand Down
2 changes: 1 addition & 1 deletion src/Rule.php
Expand Up @@ -4,7 +4,7 @@

namespace Yiisoft\Validator;

use Yiisoft\I18n\TranslatorInterface;
use Yiisoft\Translator\TranslatorInterface;

/**
* Rule represents a single value validation rule.
Expand Down
2 changes: 1 addition & 1 deletion src/ValidatorFactory.php
Expand Up @@ -4,7 +4,7 @@

namespace Yiisoft\Validator;

use Yiisoft\I18n\TranslatorInterface;
use Yiisoft\Translator\TranslatorInterface;
use Yiisoft\Validator\Rule\Callback;

final class ValidatorFactory implements ValidatorFactoryInterface
Expand Down
2 changes: 1 addition & 1 deletion tests/ValidatorFactoryTest.php
Expand Up @@ -5,7 +5,7 @@
namespace Yiisoft\Validator\Tests;

use PHPUnit\Framework\TestCase;
use Yiisoft\I18n\TranslatorInterface;
use Yiisoft\Translator\TranslatorInterface;
use Yiisoft\Validator\DataSetInterface;
use Yiisoft\Validator\Result;
use Yiisoft\Validator\ValidatorFactory;
Expand Down

0 comments on commit 5032f6f

Please sign in to comment.