Skip to content

Commit

Permalink
[#14213] - Hopefully final corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Jul 1, 2019
1 parent 3f7fe75 commit 6da8f96
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/_data/fixtures/models/Abonnes.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Phalcon\Messages\Message;
use Phalcon\Mvc\Model;
use Phalcon\Validation\Validation;
use Phalcon\Validation\Validator\Email as EmailValidator;
use Phalcon\Validation\Validator\ExclusionIn as ExclusionInValidator;
use Phalcon\Validation\Validator\InclusionIn as InclusionInValidator;
Expand Down
1 change: 1 addition & 0 deletions tests/_data/fixtures/models/Subscriptores.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Phalcon\Messages\Message;
use Phalcon\Mvc\Model;
use Phalcon\Validation\Validation;
use Phalcon\Validation\Validator\Email as EmailValidator;
use Phalcon\Validation\Validator\ExclusionIn as ExclusionInValidator;
use Phalcon\Validation\Validator\InclusionIn as InclusionInValidator;
Expand Down
1 change: 1 addition & 0 deletions tests/_data/fixtures/models/Validation/Subscriptores.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Phalcon\Messages\Message;
use Phalcon\Mvc\Model;
use Phalcon\Validation\Validation;
use Phalcon\Validation\Validator\Email;
use Phalcon\Validation\Validator\ExclusionIn;
use Phalcon\Validation\Validator\InclusionIn;
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Refactor-ValidationCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use IntegrationTester;
use Phalcon\Messages\Message;
use Phalcon\Messages\Messages;
use Phalcon\Validation;
use Phalcon\Validation\Validation;
use Phalcon\Validation\Validator\PresenceOf;
use stdClass;

Expand Down
2 changes: 1 addition & 1 deletion tests/integration/Validation/Validator/RegexCest.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function validationValidatorCustomMessage(IntegrationTester $I)

$validation->add(
'car_plate',
new Validation\Validator\Regex(
new Regex(
[
'pattern' => '/[A-Z]{3}\-[0-9]{3}/',
'message' => 'The car plate is not valid',
Expand Down

0 comments on commit 6da8f96

Please sign in to comment.