-
Notifications
You must be signed in to change notification settings - Fork 37
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
#242 #260
base: develop
Are you sure you want to change the base?
#242 #260
Conversation
Fixes #242 |
I personally don't have anything against it. @jrfnl what was the idea behind this sniff? |
@WraithKenny can you just rebase this PR so that we see if the checks are passing on GH Actions? Thanks |
@dingo-d I merged lastest into patch-1 |
@dingo-d By the looks of it, the sniff itself hasn't changed, it's just the external call to the GH API to get the version number of the latest release of TGMPA which is being removed. I'm fine with that (for now). At the time I added it, it was expected that there would be more regular TGMPA releases. The problem this code solved was that the sniff would have to be updated after every TGMPA release to make sure it would check for the latest release and then, of course, users would need to update their install of TRTCS regularly as well, as otherwise the sniff would still check against outdated version numbers. If I ever find the time to do more regular maintenance of TGMPA again and we'd be releasing regularly again, we can always revisit and re-introduce this code. |
@WraithKenny there is just one small error I'm seeing in the actions run FILE: WPThemeReview/Sniffs/Plugins/CorrectTGMPAVersionSniff.php
----------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------
203 | ERROR | Empty line not required before block comment
| | (Squiz.Commenting.BlockComment.HasEmptyLineBefore)
---------------------------------------------------------------------- Can you fix this and then I can merge this PR 👍🏼 . |
Doing external file gets for a version number that hasn't changed in 4 years is more than a waste, it creates crashes, when all we need to do is update the static if it ever changes.