| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | 1 | public function newSignupFieldsParserFunctionDefinition() { |
|
| 21 | |||
| 22 | 1 | $signupfieldsParserDefinition = function( $parser ) { |
|
|
|
|||
| 23 | |||
| 24 | 1 | $signupFieldsParserFunction = new SignupFieldsParserFunction( |
|
| 25 | 1 | new UserFieldsCreateTemplate() |
|
| 26 | 1 | ); |
|
| 27 | |||
| 28 | 1 | return $signupFieldsParserFunction->parse( func_get_args() ); |
|
| 29 | 1 | }; |
|
| 30 | |||
| 31 | 1 | return array( 'signupfields', $signupfieldsParserDefinition, 0 ); |
|
| 32 | } |
||
| 33 | |||
| 35 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.