| Total Complexity | 5 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 1 |
| 1 | <?php |
||
| 7 | class EditProducto |
||
| 8 | { |
||
| 9 | public function createViews(): Closure |
||
| 16 | }; |
||
| 17 | } |
||
| 18 | |||
| 19 | public function execAfterAction(): Closure |
||
| 22 | // tu código aquí |
||
| 23 | // execAfterAction() se ejecuta tras el execAfterAction() del controlador. |
||
| 24 | }; |
||
| 25 | } |
||
| 26 | |||
| 27 | public function execPreviousAction(): Closure |
||
| 28 | { |
||
| 29 | return function ($action) { |
||
| 30 | // tu código aquí |
||
| 31 | // execPreviousAction() se ejecuta después del execPreviousAction() del controlador. |
||
| 32 | // Si devolvemos false detenemos la ejecución del controlador. |
||
| 33 | }; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function loadData(): Closure |
||
| 50 | } |
||
| 51 | }; |
||
| 54 |
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths