for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Event kit
* User: moyo
* Date: 30/03/2018
* Time: 10:25 AM
*/
namespace Carno\Console\Chips;
trait EVKit
{
protected function loops() : void
extension_loaded('swoole') && swoole_event_wait();
swoole_event_wait
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
extension_loaded('swoole') && /** @scrutinizer ignore-call */ swoole_event_wait();
}
protected function exits() : void
extension_loaded('swoole') && swoole_event_exit();
swoole_event_exit
extension_loaded('swoole') && /** @scrutinizer ignore-call */ swoole_event_exit();