Skip to Main Content

SQLcl: MCP Server & SQL Prompt

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

CODESCAN - PSR issue codes - what they are / cannot exclude them

I use CODESCAN tool in latest SQLcl 25.2.

They way I run it is including the settings file as well. According to the documentation, this file is a JSON with all the rules I want to exclude from scanning. For “G-” rules it works completely fine. However, Codescan report presents also some PSR rule violations. When trying to exclude them in a similar way as “G-” rules, it seems it doesn't work - they are still present on the report.

Is it a bug?

What PSR rules are really about?

How can I exclude them effectively?

Comments
Post Details
Added 2 days ago
2 comments
33 views