nathggns/Scaffold — pull request #18 by nathggns (2012-09-29 14:57:18+00:00)
Title: Validate strict mode

At the moment, if you write a rule, and test it with data missing for that rule, it just ignores it. For example:

```php
set('name', 'alphanumeric');
$validator->set('password', 'alphanumeric');
$validator->test(array('name' => 'Foo'));
```

That will pass. I think we should have an option where you can say if the Validator should error at missing values, and for missing rules.

So now we have this:

```php
strict = true;
$validator->set('name', 'alphanumeric');

$validator->test(array('email' => 'scaffold.is.awesome@gmail.com'));
// Will Fail

$validator->test(array(
'name' => 'scaffold',
'email' => 'scaffold.is.awesome@gmail.com',
'password' => 'scaffold'
));
// Will Fail
```

*P.S.* Yes, I know the branch name is incorrectly spelt.