Merge branch '1.1'

This commit is contained in:
Henrique Moody 2017-10-16 10:43:22 +02:00
commit fd1964d887
No known key found for this signature in database
GPG key ID: 221E9281655813A6
3 changed files with 8 additions and 4 deletions

View file

@ -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

View file

@ -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()

View file

@ -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');