Avoid excessively long class names like DefaultEventTypeRuleGroupsSplittingStrategy. Keep class name length under 40. class DefaultEventTypeRuleGroupsSplittingStrategy implements SplittingStrategy
{
* @var EventRuleGroupDefinitionFactory
*/
The class RuleDefinitions has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13. class RuleDefinitions
{
public static function get ( ) : array
{
return [
The class RuleDefinitions has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13. class RuleDefinitions
{
public static function get ( ) : array
{
return [
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule\ Loader ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule\ Definition ;
The abstract declaration must precede the visibility declaration protected abstract static function actionRoutingFunction ( ) ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule ;
Expected 1 blank line at end of file; 2 found }
The abstract declaration must precede the visibility declaration protected abstract static function ruleGroupIdExtractor ( ) ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule\ Loader\ Http ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule\ Definition ;
The closing brace for the class must go on the next line after the body }
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule ;
The abstract declaration must precede the visibility declaration protected abstract static function ruleGroupRulesExtractor ( ) ;
There must be one blank line after the namespace declaration namespace SAREhub\ EasyECA\ Rule ;
Missing class import via use statement (line '14', column '23'). throw new \ InvalidArgumentException( "ActionDefinition data is invalid: empty action" ) ;
Missing class import via use statement (line '42', column '23'). throw new \ InvalidArgumentException( "ActionProcessorFactory to action: '$action ' not found" ) ;
Missing class import via use statement (line '32', column '23'). throw new \ SAREhub\ EasyECA\ Rule\ Asserter\ RuleAssertException( "Hoa assert exception occurred" , 500 , $e ) ;
Missing class import via use statement (line '47', column '19'). throw new \ InvalidArgumentException( "RuleGroupDefinition data is invalid: $message " ) ;