Skip to content

Commit

Permalink
Merge pull request #26 from fusic/test_use_data_provider
Browse files Browse the repository at this point in the history
テストコードをデータプロバイダーを使用する形式に変更
  • Loading branch information
Junkins committed Dec 16, 2016
2 parents 2aa627a + 0e7f9b0 commit ecf2357
Show file tree
Hide file tree
Showing 2 changed files with 740 additions and 310 deletions.
4 changes: 2 additions & 2 deletions src/Validation/ApollonValidation.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,15 +91,15 @@ public static function numeric($check, $limit = 2147483647)
}

/**
* alphaNumeric
* alphaNumericJp
* 半角英数チェック
* CoreのalphaNumericは日本語を通過させてしまうため、上書き
* @access public
* @author ito
* @param string $check
* @return boolean
*/
public static function alphaNumeric($check)
public static function alphaNumericJp($check)
{
$regex = '/^[a-zA-Z0-9]+$/u';
return (bool) self::_check($check, $regex);
Expand Down
Loading

0 comments on commit ecf2357

Please sign in to comment.