Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 450 Bytes

V011.md

File metadata and controls

15 lines (9 loc) · 450 Bytes

V011 - Class protected method parameter added

  • Code: V011
  • Level: MAJOR
  • Rule: Class protected method parameter added

Description

A method for which parameters may have changed (either in their number, order or typehint) will cause issue to existing code depending on the method. Since subclasses can call a protected method, client code can break.

  • [MAJOR] Makes incompatible API changes

Examples

Go back to ruleset