Skip to content

Silverstripe Bespoke Sniffs

nate edited this page Mar 26, 2025 · 5 revisions

Custom Silverstripe Bespoke Standard Sniffs

Silverstripe.Sniffs.Extension.DisallowOwnerPropertySniff

Group: Extension

Disallow: This sniff aims to prevent the usage of $this->owner syntax on extensions
Recommend: It specifies that you must use ->getOwner()


Silverstripe.Sniffs.Property.TypehintPrivateStaticSniff

Group: Extension

Disallow: This sniff aims to prevent Recommend: It specifies that you must


Your sniff here?

Clone this wiki locally