rspec/rules/S115/plsql/rule.adoc
Alban Auzeill 2c306d110e Fix code block ambiguity with old header style
Ensure blank line before list and clean the one leading space
2020-06-30 17:16:12 +02:00

26 lines
359 B
Plaintext

include::../description.adoc[]
== Noncompliant Code Example
With the default regular expression <code>[a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?</code>:
----
DECLARE
constant_ CONSTANT PLS_INTEGER := 42; -- Noncompliant
BEGIN
NULL;
END;
/
----
== Compliant Solution
----
DECLARE
constant CONSTANT PLS_INTEGER := 42; -- Compliant
BEGIN
NULL;
END;
/
----