rspec/rules/S1278/cobol/rule.adoc
Fred Tingaud 16f6c0aecf
Inline adoc when include has no additional value (#1940)
Inline adoc files when they are included exactly once.

Also fix language tags because this inlining gives us better information
on what language the code is written in.
2023-05-25 14:18:12 +02:00

15 lines
423 B
Plaintext

== Why is this an issue?
It is a bad practice to declare a cursor inside a procedure division, so you should avoid it.
ifdef::env-github,rspecator-view[]
'''
== Comments And Links
(visible only on this page)
=== on 17 Mar 2015, 20:01:56 Ann Campbell wrote:
\[~freddy.mallet] do we have any more detail on why this is a bad practice? I find this rule description unsatisfyingly short
endif::env-github,rspecator-view[]