Automattic / phpcs-neutron-standard

A set of phpcs sniffs for PHP >7 development
MIT License
94 stars 7 forks source link

Add maxFunctionLines as option on LongFunctionSniff #77

Closed sirbrillig closed 4 years ago

sirbrillig commented 4 years ago

This adds the maxFunctionLines property on LongFunctionSniff so we can configure how many lines are too long. It also updates the sniff such that the default number of lines is 40, which matches the guidelines.