Skip to content

Fix AbstractClassNaming sniff error message

Latest
Compare
Choose a tag to compare
@biggianteye biggianteye released this 18 Aug 15:46
eac7737

Previously the error message for the Graze.Naming.AbstractClassNaming sniff showed a placeholder rather than the class name, like this:

Abstract class name "%s" must be prefixed with "Abstract"

It now correctly shows the class name, like this:

Abstract class name "Foo" must be prefixed with "Abstract"