inpsyde / php-coding-standards

Style guide for writing consistent PHP for WordPress projects.
MIT License
98 stars 23 forks source link

Add Sniffs for Array Spacing and Property Types #96

Closed tfrommen closed 1 month ago

tfrommen commented 1 month ago

Please check if the PR fulfills these requirements

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

This PR adds three new Sniffs to the Inpsyde standard:

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

No, but existing code that violates the new rules will get flagged, of course.

Other information:

This PR closes issues #78 and #91.