-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dependency wp-coding-standards/wpcs to v3 (#32608)
* Update dependency wp-coding-standards/wpcs to v3 * Remove hacks to allow package to update correctly And bump `automattic/vipwpcs` too. * Update change entry, should be a major version bump * Fix codesniffer tests * Remove MediaWiki.WhiteSpace.SpaceAfterClosure Squiz.Functions.MultiLineFunctionDeclaration catches the same thing and more. * Exclude WordPress.Security.EscapeOutput.ExceptionNotEscaped * Fix sniffs: * PSR2.Classes.ClassDeclaration.CloseBraceAfterBody * PSR2.Classes.ClassDeclaration.ExtendsLine * PSR2.Classes.ClassDeclaration.ImplementsLine * PSR2.Classes.ClassDeclaration.SpaceAfterKeyword * PSR2.Classes.ClassDeclaration.SpaceAfterName * PSR2.Classes.ClassDeclaration.SpaceBeforeExtends * PSR2.Files.EndFileNewline (plus a few PSR2.Methods.FunctionClosingBrace) * PSR12.Files.FileHeader.IncorrectOrder (which seems easily confused) * Squiz.Functions.MultiLineFunctionDeclaration * Universal.CodeAnalysis.NoEchoSprintf * Universal.Namespaces.DisallowCurlyBraceSyntax.Forbidden * Universal.UseStatements.NoLeadingBackslash * Universal.UseStatements.NoUselessAliases (plus some resulting MediaWiki.Classes.UnusedUseStatement.UnnecessaryUse) * Universal.WhiteSpace.CommaSpacing * WordPress.Security.EscapeOutput.HeredocOutputNotEscaped * WordPress.Security.EscapeOutput.OutputNotEscaped * WordPress.WP.DeprecatedParameters * WordPress.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition → Generic.CodeAnalysis.AssignmentInCondition.FoundInWhileCondition * WordPress.WP.CapitalPDangit.Misspelled → .MisspelledInText or .MisspelledInComment * Ignore all existing WordPress.Files.FileName.NotHyphenatedLowercase * Work around a WPCS bug. --------- Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com> Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6188964767
- Loading branch information
Showing
11 changed files
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -180,5 +180,4 @@ public static function extend_plugins_action_links() { | |
$class_name::extend_plugin_action_links(); | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -130,5 +130,4 @@ public static function deactivate() { | |
} | ||
return Jetpack::deactivate_module( static::$module_name ); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -554,5 +554,4 @@ public static function extend_plugin_action_links() { | |
} | ||
} | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters