1 | <?php |
||
17 | trait CanRestartTrait |
||
18 | { |
||
19 | /** |
||
20 | * Executes another copy of console process to continue updates |
||
21 | * |
||
22 | * We may encounter problems when module update scripts (update.php or update_post.php) requires module files, |
||
23 | * they are included only once and stay in most early version. |
||
24 | * Bitrix update system always run update scripts in separate requests to web-server. |
||
25 | * This ensures the same behavior as in original update system, updates always run on latest module version. |
||
26 | * |
||
27 | * @param InputInterface $input |
||
28 | * @param OutputInterface $output |
||
29 | * |
||
30 | * @return int |
||
31 | */ |
||
32 | protected function restartScript(InputInterface $input, OutputInterface $output) |
||
41 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.