|
@@ 192-198 (lines=7) @@
|
| 189 |
|
* Validates the special character requirements. |
| 190 |
|
* @return boolean |
| 191 |
|
*/ |
| 192 |
|
private function validateSpecialCharacters() |
| 193 |
|
{ |
| 194 |
|
if ($this->countOccurrences($this->specialCharacters, $this->configuration->checkString()) >= $this->configuration->rules()->get(Plexity::RULE_SPECIAL)) { |
| 195 |
|
return true; |
| 196 |
|
} |
| 197 |
|
return false; |
| 198 |
|
} |
| 199 |
|
|
| 200 |
|
/** |
| 201 |
|
* Validates the numeric case requirements. |
|
@@ 204-210 (lines=7) @@
|
| 201 |
|
* Validates the numeric case requirements. |
| 202 |
|
* @return boolean |
| 203 |
|
*/ |
| 204 |
|
private function validateNumericCharacters() |
| 205 |
|
{ |
| 206 |
|
if ($this->countOccurrences($this->numbers, $this->configuration->checkString()) >= $this->configuration->rules()->get(Plexity::RULE_NUMERIC)) { |
| 207 |
|
return true; |
| 208 |
|
} |
| 209 |
|
return false; |
| 210 |
|
} |
| 211 |
|
|
| 212 |
|
/** |
| 213 |
|
* Validates the minimum string length requirements. |