| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 35 | { |
||
| 36 | @set_time_limit(0); |
||
|
|
|||
| 37 | @ignore_user_abort(true); |
||
| 38 | define('CHK_EVENT', true); |
||
| 39 | |||
| 40 | $agentManager = new \CAgent(); |
||
| 41 | $agentManager->CheckAgents(); |
||
| 42 | |||
| 43 | define('BX_CRONTAB_SUPPORT', true); |
||
| 44 | define('BX_CRONTAB', true); |
||
| 45 | |||
| 46 | $eventManager = new \CEvent(); |
||
| 47 | $eventManager->CheckEvents(); |
||
| 48 | } |
||
| 49 | } |
||
| 50 |
If you suppress an error, we recommend checking for the error condition explicitly: