2

I need to set maximum length (in LOC) of function or class. For example, when my function has more than 20 lines, PhpStorm should show me some warning.

I was looking for it in Settings->Editor->Inspections, but have not found anything like that for PHP.

Any suggestions?

LazyOne
  • 158,824
  • 45
  • 388
  • 391
JaK
  • 133
  • 1
  • 7

0 Answers0