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 | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
13 | public function render($request) |
||
|
|||
14 | { |
||
15 | // 0, by default, pass only what is a feature we construct the rest of the message |
||
16 | // 1 use the provided message in full |
||
17 | switch ($this->getCode()) { |
||
18 | case 0: |
||
19 | $this->message = $this->message.' is a Backpack PRO feature. Please purchase and install the Backpack\PRO addon from backpackforlaravel.com'; |
||
20 | break; |
||
21 | } |
||
22 | |||
23 | return abort(500, $this->getMessage(), ['developer-error-exception']); |
||
24 | } |
||
26 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.