mirror of
https://github.com/Respect/Validation.git
synced 2024-06-29 02:30:06 +02:00
Merge branch '1.1'
This commit is contained in:
commit
fd1964d887
|
@ -46,7 +46,7 @@ class CurrencyCode extends AbstractRule
|
|||
'BSD', // Bahamian Dollar
|
||||
'BTN', // Ngultrum
|
||||
'BWP', // Pula
|
||||
'BYR', // Belarussian Ruble
|
||||
'BYN', // Belarussian Ruble
|
||||
'BZD', // Belize Dollar
|
||||
'CAD', // Canadian Dollar
|
||||
'CDF', // Congolese Franc
|
||||
|
|
|
@ -21,7 +21,7 @@ use Respect\Validation\Rules\Key;
|
|||
|
||||
/**
|
||||
* @method static Validator age(int $minAge = null, int $maxAge = null)
|
||||
* @method static Validator allOf()
|
||||
* @method static Validator allOf(Validatable ...$rule)
|
||||
* @method static Validator alnum(string $additionalChars = null)
|
||||
* @method static Validator alpha(string $additionalChars = null)
|
||||
* @method static Validator alwaysInvalid()
|
||||
|
@ -104,7 +104,7 @@ use Respect\Validation\Rules\Key;
|
|||
* @method static Validator negative()
|
||||
* @method static Validator nif()
|
||||
* @method static Validator no($useLocale = false)
|
||||
* @method static Validator noneOf()
|
||||
* @method static Validator noneOf(Validatable ...$rule)
|
||||
* @method static Validator not(Validatable $rule)
|
||||
* @method static Validator notBlank()
|
||||
* @method static Validator notEmpty()
|
||||
|
@ -115,7 +115,7 @@ use Respect\Validation\Rules\Key;
|
|||
* @method static Validator numericVal()
|
||||
* @method static Validator objectType()
|
||||
* @method static Validator odd()
|
||||
* @method static Validator oneOf(Validatable $v1, Validatable $v_)
|
||||
* @method static Validator oneOf(Validatable ...$rule)
|
||||
* @method static Validator optional(Validatable $rule)
|
||||
* @method static Validator perfectSquare()
|
||||
* @method static Validator pesel()
|
||||
|
|
|
@ -26,6 +26,10 @@ class MimetypeTest extends PHPUnit_Framework_TestCase
|
|||
|
||||
protected function setUp()
|
||||
{
|
||||
if (defined('HHVM_VERSION')) {
|
||||
return $this->markTestSkipped('If you are a HHVM user, and you are in the mood, please fix it');
|
||||
}
|
||||
|
||||
$this->filename = sprintf('%s/validation.txt', sys_get_temp_dir());
|
||||
|
||||
file_put_contents($this->filename, 'File content');
|
||||
|
|
Loading…
Reference in a new issue