Skip to content

Commit

Permalink
Minor touch-up.
Browse files Browse the repository at this point in the history
* Fix some missed "class opening brackets on different line" issues. There currently is no sniff checking for this, so visual fix.
* Fixed one class extending the wrong parent.
  • Loading branch information
jrfnl committed Jul 13, 2016
1 parent b358c18 commit 2e5f8fc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion WordPress/Sniffs/PHP/StrictInArraySniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* @category PHP
* @package PHP_CodeSniffer
*/
class WordPress_Sniffs_PHP_StrictInArraySniff extends WordPress_Sniffs_Arrays_ArrayAssignmentRestrictionsSniff {
class WordPress_Sniffs_PHP_StrictInArraySniff extends WordPress_Sniff {

/**
* Returns an array of tokens this test wants to listen for.
Expand Down
3 changes: 1 addition & 2 deletions WordPress/Sniffs/VIP/CronIntervalSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* @package PHP_CodeSniffer
* @author Shady Sharaf <[email protected]>
*/
class WordPress_Sniffs_VIP_CronIntervalSniff implements PHP_CodeSniffer_Sniff
{
class WordPress_Sniffs_VIP_CronIntervalSniff implements PHP_CodeSniffer_Sniff {

/**
* Returns an array of tokens this test wants to listen for.
Expand Down
3 changes: 1 addition & 2 deletions WordPress/Sniffs/VIP/PostsPerPageSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* @package PHP_CodeSniffer
* @author Shady Sharaf <[email protected]>
*/
class WordPress_Sniffs_VIP_PostsPerPageSniff extends WordPress_Sniffs_Arrays_ArrayAssignmentRestrictionsSniff
{
class WordPress_Sniffs_VIP_PostsPerPageSniff extends WordPress_Sniffs_Arrays_ArrayAssignmentRestrictionsSniff {

/**
* Groups of variables to restrict.
Expand Down
3 changes: 1 addition & 2 deletions WordPress/Sniffs/VIP/RestrictedFunctionsSniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
* @package PHP_CodeSniffer
* @author Shady Sharaf <[email protected]>
*/
class WordPress_Sniffs_VIP_RestrictedFunctionsSniff extends WordPress_Sniffs_Functions_FunctionRestrictionsSniff
{
class WordPress_Sniffs_VIP_RestrictedFunctionsSniff extends WordPress_Sniffs_Functions_FunctionRestrictionsSniff {

/**
* Groups of functions to restrict.
Expand Down

0 comments on commit 2e5f8fc

Please sign in to comment.