I have a large function that only returns an array, and I'm try to disable the SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff error but I can...
• [Architecture] Function length: (SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff)
app/Domains/Forecast/Service/Version/V1/Values.php:52: Your function is too long. Currently using 100 lines. Can be up to 80 lines.
I get the same error for UnusedParameterSniff using all available ignore comments:
I have a large function that only returns an array, and I'm try to disable the
SlevomatCodingStandard\Sniffs\Functions\FunctionLengthSniff
error but I can...I have tried:
But I always get:
I get the same error for UnusedParameterSniff using all available ignore comments:
How can I ignore this errors?
Thanks!