core/Group/Rpc/RpcService.php
Showing 11 of 11 total issues
Missing class import via use statement (line '21', column '29'). Open
Open
$this->client = new \HproseSwooleClient("{$type}://{$host}:{$port}");
- Read upRead up
- Exclude checks
Missing class import via use statement (line '15', column '13'). Open
Open
new \Group\Plugin\Rpc\Hprose();
- Read upRead up
- Exclude checks
Avoid unused local variables such as '$path'. Open
Open
$path = app('container')->getAppPath();
- Read upRead up
- Exclude checks
Opening class brace must be on a line by itself Open
Open
{
- Exclude checks
Expected 1 newline at end of file; 0 found Open
Open
}
- Exclude checks
Expected 1 space after CATCH keyword; 0 found Open
Open
} catch(\Exception $e) {
- Exclude checks
Expected 1 space after CATCH keyword; 0 found Open
Open
} catch(\Exception $e) {
- Exclude checks
Whitespace found at end of line Open
Open
{
- Exclude checks
Whitespace found at end of line Open
Open
{
- Exclude checks
Whitespace found at end of line Open
Open
public function call($name, $function, $args)
- Exclude checks
Whitespace found at end of line Open
Open
public function service($name)
- Exclude checks