Skip to content

Commit

Permalink
Fixing wronf title levels
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetan-ferry-sonarsource committed Sep 27, 2023
1 parent 79b4990 commit be6b330
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions rules/S6437/java/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include::../../../shared_content/secrets/fix/vault.adoc[]

include::../common/fix/code-rationale.adoc[]

=== Noncompliant code example
==== Noncompliant code example

[source,java,diff-id=1,diff-type=noncompliant]
----
Expand All @@ -36,7 +36,7 @@ byte[] key = inputString.getBytes();
SHA256.getHMAC(key, message); // Noncompliant
----

=== Compliant solution
==== Compliant solution

[source,java,diff-id=1,diff-type=compliant]
----
Expand Down
4 changes: 2 additions & 2 deletions rules/S6437/php/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include::../../../shared_content/secrets/fix/vault.adoc[]

include::../common/fix/code-rationale.adoc[]

=== Noncompliant code example
==== Noncompliant code example

[source,php,diff-id=1,diff-type=noncompliant]
----
Expand All @@ -36,7 +36,7 @@ function createKey() {
}
----

=== Compliant solution
==== Compliant solution

[source,php,diff-id=1,diff-type=compliant]
----
Expand Down
4 changes: 2 additions & 2 deletions rules/S6437/python/rule.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ include::../../../shared_content/secrets/fix/vault.adoc[]

include::../common/fix/code-rationale.adoc[]

=== Noncompliant code example
==== Noncompliant code example

[source,python,diff-id=1,diff-type=noncompliant]
----
Expand All @@ -42,7 +42,7 @@ token = oauth.fetch_token(
client_secret='example_Password') # Noncompliant
----

=== Compliant solution
==== Compliant solution

[source,python,diff-id=1,diff-type=compliant]
----
Expand Down

0 comments on commit be6b330

Please sign in to comment.