-
Notifications
You must be signed in to change notification settings - Fork 153
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
Added sniff for deprecated model methods. #187 #189
Conversation
b4b0931
to
0865533
Compare
9669b99
to
1d380aa
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please address review comments.
08e4cf2
to
ba4d90a
Compare
ba4d90a
to
a5b3723
Compare
Add few negative cases
Thanks @ihor-sviziev Also, Is there any way to change labels to |
Great! Thanks @ihor-sviziev. Let me run this test again Magento codebase and make sure it does not produce false positive findings. |
Bump to version 25
Added sniff for #187 to discourage the use of Resource class from Model class.
Trigger Methods:
Message:
Possible use of the deprecated model method 'getResource()' to 'save' the data detected.