You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Updated dependencies. PHPUnit had a security vulnerability that needed to be addressed. More recent versions of PHPUnit (v10+) introduced breaking changes that would require a major version bump. Priority of this release was to fix the security vulnerability.
17
+
- Added exclude to deprecated ruleset since WordPressCS v3.3.0. Covered by PHPCompatibilityWP.
- This sniff overloads the `Squiz.Commenting.FunctionComment` sniff which normally comes included via the `WordPress-Docs` ruleset and makes an allowance for the `__invoke` method in the CLI classes.
96
103
- Includes:
97
104
- Unit tests.
@@ -157,7 +164,7 @@ A huge thanks to Juliette Reinders Folmer (@jrfnl) for amazing help in fixing to
157
164
158
165
### Changed
159
166
- Updated sniffs namespace
160
-
167
+
161
168
### Fixed
162
169
- Fix docblocks in the sniffs
163
170
@@ -181,7 +188,7 @@ We renamed the package from `infinum/coding-standards-wp` to `infinum/eightshift
181
188
182
189
This is the official release of the Eightshift coding standards for WordPress. It contains breaking changes, mostly in
183
190
regard
184
-
of the naming scheme.
191
+
of the naming scheme.
185
192
To equate the way we write our PHP and JS we opted to follow a modified PSR standards.
186
193
What this means is that we will remove liberal spacing, add some PSR12 modifications regarding arguments placing in closures, change snake_case with CamelCase for classes (for autoload puropses) and some other minor changes that will be documented below.
187
194
If you wish to use the old standards, be sure to modify your projects `composer.json` file with the appropriate version.
0 commit comments