Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: ruleName went from "maybe" to do it!

...

We use named parameters since it gives a better view of what we are trying to accomplish. The parameter order should be consistent with the original parameter order, for reference, see this page: Contributing - Rules

  • ruleName
    • A special mention here. The rule name should be consistent with the class name and the filename. In previous example this would be "CrossVendorArpFailureRule"

Continuous changes

Some things to keep in mind both while writing a new rules or modifying old ones.

...