Skip to content

Commit 4cb91e0

Browse files
committed
Ruby: deprecate some flow states
1 parent 9d421ff commit 4cb91e0

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ruby/ql/lib/codeql/ruby/experimental/UnicodeBypassValidationQuery.qll

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ private import codeql.ruby.TaintTracking
99
private import codeql.ruby.ApiGraphs
1010
import UnicodeBypassValidationCustomizations::UnicodeBypassValidation
1111

12-
/** A state signifying that a logical validation has not been performed. */
13-
class PreValidation extends DataFlow::FlowState {
12+
/**
13+
* A state signifying that a logical validation has not been performed.
14+
* DEPRECATED: Use `PreValidationState()`
15+
*/
16+
deprecated class PreValidation extends DataFlow::FlowState {
1417
PreValidation() { this = "PreValidation" }
1518
}
1619

17-
/** A state signifying that a logical validation has been performed. */
18-
class PostValidation extends DataFlow::FlowState {
20+
/**
21+
* A state signifying that a logical validation has been performed.
22+
* DEPRECATED: Use `PostValidationState()`
23+
*/
24+
deprecated class PostValidation extends DataFlow::FlowState {
1925
PostValidation() { this = "PostValidation" }
2026
}
2127

0 commit comments

Comments
 (0)