Shared coding conventions allow teams to collaborate efficiently. This rule checks that type names match the provided regular expression.
Noncompliant code example
With the default regular expression [a-zA-Z]([a-zA-Z0-9_]*[a-zA-Z0-9])?
:
DECLARE
TYPE Collection_type_ IS VARRAY(42) OF PLS_INTEGER; -- Noncompliant
BEGIN
NULL;
END;
/
Compliant solution
DECLARE
TYPE collectionType IS VARRAY(42) OF PLS_INTEGER;
BEGIN
NULL;
END;
/