Fix PHPCS errors

This commit is contained in:
Ceeram 2014-10-10 16:52:01 +02:00
parent 7b44d5d7a3
commit 43e998422e
2 changed files with 3 additions and 3 deletions

View file

@ -811,7 +811,7 @@ class ModelWriteTest extends BaseModelTest {
/**
* test callback used in testSaveTransaction method
*
* @return boolean false to stop event propagation
* @return bool false to stop event propagation
*/
public function callbackForTestSaveTransaction($event) {
$TestModel = new Article();

View file

@ -179,12 +179,12 @@ class Validation {
'maestro' => '/^(?:5020|6\\d{3})\\d{12}$/',
'mc' => '/^5[1-5]\\d{14}$/',
'solo' => '/^(6334[5-9][0-9]|6767[0-9]{2})\\d{10}(\\d{2,3})?$/',
'switch' =>
'switch' =>
'/^(?:49(03(0[2-9]|3[5-9])|11(0[1-2]|7[4-9]|8[1-2])|36[0-9]{2})\\d{10}(\\d{2,3})?)|(?:564182\\d{10}(\\d{2,3})?)|(6(3(33[0-4][0-9])|759[0-9]{2})\\d{10}(\\d{2,3})?)$/',
'visa' => '/^4\\d{12}(\\d{3})?$/',
'voyager' => '/^8699[0-9]{11}$/'
),
'fast' =>
'fast' =>
'/^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6011[0-9]{12}|3(?:0[0-5]|[68][0-9])[0-9]{11}|3[47][0-9]{13})$/'
);