Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
29 | private function setUrlRegex() |
||
30 | { |
||
31 | $standardUrlRegEx = '(?:' . $this->protocol . '|www\\.)' . $this->auth . '(?:localhost|' . $this->ip . '|' . $this->host . $this->domain . '(' . $this->tld . '|' . $this->tldAlt . '))' . $this->port . $this->path; |
||
32 | |||
33 | $this->standardUrlRegEx = '/' . $standardUrlRegEx . '/i'; |
||
34 | } |
||
35 | |||
40 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.