When calling or declaring a routine, an empty argument or parameter list is superfluous and can be omitted.
FunctionWithoutArguments(); // Noncompliant FunctionWithoutArguments; // Compliant
This rule does not apply to procedural types or array constructors.
Remove the superfluous parentheses:
FunctionWithoutArguments();
FunctionWithoutArguments;