We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function __construct($locale = null) |
||
| 21 | { |
||
| 22 | $spoofchecker = new Spoofchecker(); |
||
| 23 | $spoofchecker->setChecks(Spoofchecker::SINGLE_SCRIPT | Spoofchecker::INVISIBLE); |
||
| 24 | |||
| 25 | if (null !== $locale) { |
||
| 26 | $spoofchecker->setAllowedLocales($locale); |
||
| 27 | } |
||
| 28 | |||
| 29 | $this->spoofchecker = $spoofchecker; |
||
| 30 | } |
||
| 31 | |||
| 41 |