fucongcong/framework

View on GitHub
core/Group/Queue/TubeTick.php

Summary

Maintainability
A
0 mins
Test Coverage

Showing 10 of 10 total issues

The closing brace for the class must go on the next line after the body
Open

}

Opening class brace must be on a line by itself
Open

{

Inline control structures are not allowed
Open

if($data) $worker['process']->write($data);

Whitespace found at end of line
Open

{

Whitespace found at end of line
Open

foreach ($this->workers as $pid => $worker) {

Expected 1 space after IF keyword; 0 found
Open

if($data) $worker['process']->write($data);

Whitespace found at end of line
Open

{

Whitespace found at end of line
Open

\Log::info("队列worker{$pid}启动", [], 'tube.work');

Whitespace found at end of line
Open

{

Expected 1 newline at end of file; 0 found
Open

}

There are no issues that match your filters.

Category
Status