@@ -50,8 +50,7 @@ |
||
50 | 50 | * A generic Rule that asserts whether the given validation |
51 | 51 | * data is valid or not. |
52 | 52 | */ |
53 | -interface RuleInterface |
|
54 | -{ |
|
53 | +interface RuleInterface { |
|
55 | 54 | /** |
56 | 55 | * Method to validate this Rule |
57 | 56 | * |
@@ -38,6 +38,5 @@ |
||
38 | 38 | * @class ValidatorException |
39 | 39 | * @package Platine\Validator\Exception |
40 | 40 | */ |
41 | -class ValidatorException extends Exception |
|
42 | -{ |
|
41 | +class ValidatorException extends Exception { |
|
43 | 42 | } |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class AlphaNumericDash |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class AlphaNumericDash implements RuleInterface |
|
57 | -{ |
|
56 | +class AlphaNumericDash implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * String pattern to allow |
60 | 59 | * @var string |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class Natural |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class Natural implements RuleInterface |
|
57 | -{ |
|
56 | +class Natural implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * {@inheritdoc} |
60 | 59 | * @see RuleInterface |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class IP |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class IP implements RuleInterface |
|
57 | -{ |
|
56 | +class IP implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * {@inheritdoc} |
60 | 59 | * @see RuleInterface |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class URL |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class URL implements RuleInterface |
|
57 | -{ |
|
56 | +class URL implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * {@inheritdoc} |
60 | 59 | * @see RuleInterface |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class Alpha |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class Alpha implements RuleInterface |
|
57 | -{ |
|
56 | +class Alpha implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * String pattern to allow |
60 | 59 | * @var string |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class IPv4 |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class IPv4 implements RuleInterface |
|
57 | -{ |
|
56 | +class IPv4 implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * {@inheritdoc} |
60 | 59 | * @see RuleInterface |
@@ -53,8 +53,7 @@ |
||
53 | 53 | * @class IPv6 |
54 | 54 | * @package Platine\Validator\Rule |
55 | 55 | */ |
56 | -class IPv6 implements RuleInterface |
|
57 | -{ |
|
56 | +class IPv6 implements RuleInterface { |
|
58 | 57 | /** |
59 | 58 | * {@inheritdoc} |
60 | 59 | * @see RuleInterface |