-
Notifications
You must be signed in to change notification settings - Fork 159
Fixed undefined variable error in AutogeneratedClassNotInConstructorSniff #319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed undefined variable error in AutogeneratedClassNotInConstructorSniff #319
Conversation
@magento import pr to magento-commerce/magento-coding-standard |
@sivaschenko an error occurred during the Pull Request import. |
@magento import pr to magento-commerce/magento-coding-standard |
@sivaschenko an error occurred during the Pull Request import. |
@magento import pr to magento-commerce/magento-coding-standard |
@sivaschenko an error occurred during the Pull Request import. |
@magento import pr to magento-commerce/magento-coding-standard |
@sidolov an error occurred during the Pull Request import. |
Fixes: #314
Refactored the sniff for better readability, simplified and fixed the implementation.
Added additional filtering by autogenerated class suffixes (Proxy and Interceptors are not covered as they are handled by DiscouragedDependenciesSniff)
Test results on magento2 codebase: