SAREhub/EasyECA

View on GitHub

Showing 47 of 50 total issues

Avoid using static access to class '\SAREhub\EasyECA\Rule\Action\ActionDefinition' in method '__construct'.
Open

$this->onPass = $onPass ?? ActionDefinition::createNopDefinition();

Avoid using static access to class '\SAREhub\Client\Message\BasicMessage' in method 'splitRulesByEventType'.
Open

$splits[] = BasicExchange::withIn(BasicMessage::withBody($definition));

Avoid using static access to class '\SAREhub\Commons\Misc\ArrayHelper' in method 'groupRulesByEventType'.
Open

return ArrayHelper::groupByKey($rules, "event");

Avoid using static access to class '\SAREhub\Client\Processor\Processors' in method 'get'.
Open

return Processors::split($this->eventTypeRulesSplittingStrategy, $this->addEventRuleGroup);

Avoid using static access to class '\SAREhub\Client\Processor\Processors' in method 'create'.
Open

$processor = Processors::multicast();

Expected 1 newline at end of file; 0 found
Open

}

Expected 1 newline at end of file; 0 found
Open

}
Severity
Category
Status
Source
Language