Rule: Public function gained a parameter¶
Canonical rule slug: public-function-parameter-added. ← back to all rules
An exported function's arity changes, so an already-compiled caller passes fewer arguments than the callee now reads, and consumer source no longer compiles.
Canonical demonstration¶
- case199_public_function_parameter_added — Parameter Added to an Exported Function (🔴 BREAKING)