fucongcong/framework

View on GitHub

Showing 1,150 of 1,150 total issues

Spaces must be used for alignment; tabs are not allowed
Open

self::$store = [];

Spaces must be used for alignment; tabs are not allowed
Open

$response->send();

Visibility must be declared on method "setMethod"
Open

abstract function setMethod();

Expected 1 space after FUNCTION keyword; 0 found
Open

swoole_event_add($worker->pipe, function($pipe) use ($worker, $server, $listener, $timer) {
Severity: Minor
Found in core/Group/Queue/Bear.php by phpcodesniffer

Method name "Kernal::fix_gpc_magic" is not in camel caps format
Open

public function fix_gpc_magic()
Severity: Minor
Found in core/Group/Kernal.php by phpcodesniffer

Blank line found at end of control structure
Open

 
 

Blank line found at start of control structure
Open

if (is_dir($dir."/Controller/".$controllerName)) {

Expected 1 space after FUNCTION keyword; 0 found
Open

EventDispatcher::addListener('kernal.request', function($event){

Method name "SqlMigrateCommand::ListSql" is not in camel caps format
Open

private function ListSql($sqlDir)

Opening class brace must be on a line by itself
Open

{

Opening class brace must be on a line by itself
Open

{

Opening class brace must be on a line by itself
Open

{

Expected 0 spaces before opening brace; 1 found
Open

{

Spaces must be used for alignment; tabs are not allowed
Open

{
Severity: Minor
Found in core/Group/Queue/Bear.php by phpcodesniffer

Spaces must be used for alignment; tabs are not allowed
Open

{

Spaces must be used for alignment; tabs are not allowed
Open

}

Function doAction has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring.
Open

public function doAction($class, $action, array $parameters, \Request $request)
{
$reflector = $this->buildMoudle($class);
 
if (!$reflector->hasMethod($action)) {
Severity: Minor
Found in core/Group/Container/Container.php - About 35 mins to fix

Spaces must be used for alignment; tabs are not allowed
Open

{

Blank line found at end of control structure
Open

 
 
Severity: Minor
Found in core/Group/Kernal.php by phpcodesniffer

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

}
Severity: Minor
Found in core/Group/Config/Config.php by phpcodesniffer
Severity
Category
Status
Source
Language