-
Notifications
You must be signed in to change notification settings - Fork 67
Rename isPOD to isPod to silence deprecation warnings #70
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
Conversation
I think we would be better changing our use of |
It's a chicken and egg problem. So I think something like this PR is the only solution. We can change it to your suggestion afterwards when the |
The policy is that the internal coding standards tests may temporarily be broken while we're in the middle for fixing things. So the breakage there is no problem. It should not be blocking merging, if it does we have configured something wrongly. So I agree with @lcartey that we do not need a workaround. That does mean that the CI here will temporarily break until we update to the next release on the |
TL;DR: Just rename |
Also, yes, this should target |
b73275c
to
857d974
Compare
I've merged the github/codeql and semmle-code PRs that do the rename from |
Merging this now to get the internal CI up and running again. We'll fix the one here when 2.11.0 gets released. |
Description
This PR targets the
next
branch.I want to rename a bunch of acronyms to use camelCase/PascalCase to follow our own style guide for QL.
(See this draft PR: github/codeql#10153).
When I do that 4 tests in this repo start to fail because of deprecation warnings because if the
idPOD()
predicate.I'll let them fail for now, and after I've merged the semmle-code PR I'll fix the deprecation warnings.
The change in this PR will apply from CodeQL 2.11.0 onwards.
Change request type
.ql
,.qll
,.qls
or unit tests)Rules with added or modified queries
Release change checklist
A change note (development_handbook.md#change-notes) is required for any pull request which modifies:
If you are only adding new rule queries, a change note is not required.
Author: Is a change note required?
Reviewer: Confirm that either a change note is not required or the change note is required and has been added.