Skip to content

Commit

Permalink
S6418/php: fix typo in variable name
Browse files Browse the repository at this point in the history
`description.adoc` is using `detections` and not `detectons` as a variable:
```
This rule detects {detections} having a name matching a list of words (secret, token, credential, auth, api[_.-]?key) being assigned a pseudorandom hard-coded value.
```

This PR makes the value rendered correctly on https://sonarsource.github.io/rspec/#/rspec/S6418/php
  • Loading branch information
teemu-rytilahti-sonarsource authored Feb 14, 2025
1 parent 7475e42 commit 5b65142
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rules/S6418/php/rule.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:detectson: variables/fields
:detections: variables/fields
:defaultsensibility: 5

include::../description.adoc[]
Expand Down

0 comments on commit 5b65142

Please sign in to comment.