Closed shochdoerfer closed 5 years ago
Closing this issue because this repo now contains sniffs for Magento 1.x code only. Please refer to magento/magento-coding-standard for Magento 2.x coding standard.
This rule was removed in magento/magento-coding-standard in order to eliminate false-positive findings.
When running EQP against our Force Login module the warning "Only dependency assignment operations are allowed in constructor. No other operations are allowed." shows up for this piece of code:
I guess it might be quite hard to guess what constructor code is valid, but in that regard the warning does not make any sense to me.