Skip to content

Resolve issue with Silverstripe.Sniffs.Property.TypehintPrivateStaticSniff#33

Draft
n8-dev wants to merge 2 commits intomainfrom
typehintPrivateStatic-bug
Draft

Resolve issue with Silverstripe.Sniffs.Property.TypehintPrivateStaticSniff#33
n8-dev wants to merge 2 commits intomainfrom
typehintPrivateStatic-bug

Conversation

@n8-dev
Copy link
Copy Markdown
Collaborator

@n8-dev n8-dev commented Mar 31, 2025

{{ Title for your PR }}

Description

{{ General description about the change }}

Reason for the change

  • {{ Reason 1 }}
  • {{ Reason 2 }}
  • {{ etc }}

Disallowed Code Example

class MyClass {

-   public function do_cool_thing() {
    
    }
}

Allowed Code Example

class MyClass {

+   public function doCoolThing() {
    
    }
}

Usage

{{ Describe how to use the Sniff. How to exclude and how to customise it if possible/required }}

Final checklist for reviewer

  • ReadMe updated with Sniff name and link to docs in Wiki
  • Unit test(s) added
  • Disallowed/Allowed code examples added

@n8-dev n8-dev force-pushed the typehintPrivateStatic-bug branch from 56e4af9 to 48e4106 Compare March 31, 2025 03:59
@n8-dev n8-dev mentioned this pull request Apr 2, 2025
@n8-dev n8-dev marked this pull request as draft April 2, 2025 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant