Issues (7)

src/Chips/EVKit.php (2 issues)

Labels
Severity
1
<?php
2
/**
3
 * Event kit
4
 * User: moyo
5
 * Date: 30/03/2018
6
 * Time: 10:25 AM
7
 */
8
9
namespace Carno\Console\Chips;
10
11
trait EVKit
12
{
13
    /**
14
     */
15
    protected function loops() : void
16
    {
17
        extension_loaded('swoole') && swoole_event_wait();
0 ignored issues
show
The function swoole_event_wait was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

17
        extension_loaded('swoole') && /** @scrutinizer ignore-call */ swoole_event_wait();
Loading history...
18
    }
19
20
    /**
21
     */
22
    protected function exits() : void
23
    {
24
        extension_loaded('swoole') && swoole_event_exit();
0 ignored issues
show
The function swoole_event_exit was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

24
        extension_loaded('swoole') && /** @scrutinizer ignore-call */ swoole_event_exit();
Loading history...
25
    }
26
}
27