Skip to content

Commit

Permalink
Merge pull request #18 from stellarwp/fix/standards-name
Browse files Browse the repository at this point in the history
Change standards internal name to StellarWP
  • Loading branch information
Camwyn authored Jan 19, 2024
2 parents 8da2e49 + ba869b0 commit 87efba5
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion StellarWP/Sniff.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* @package PHP_CodeSniffer
*/

namespace TEC;
namespace StellarWP;

use PHP_CodeSniffer\Sniffs;
use PHP_CodeSniffer\Sniffs\Sniff as CS_Sniff;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/Arrays/ArrayBracketSpacingSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\Arrays;
namespace StellarWP\Sniffs\Arrays;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
Expand Down
3 changes: 1 addition & 2 deletions StellarWP/Sniffs/Classes/PropertyDeclarationSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\Classes;
namespace StellarWP\Sniffs\Classes;

use PHP_CodeSniffer\Sniffs;
use PHP_CodeSniffer\Files\File;
Expand Down Expand Up @@ -109,4 +109,3 @@ protected function processVariableInString(File $phpcsFile, $stackPtr)


}//end class

2 changes: 1 addition & 1 deletion StellarWP/Sniffs/Classes/ValidClassNameSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\Classes;
namespace StellarWP\Sniffs\Classes;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/CodeAnalysis/RedirectAndDieSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\CodeAnalysis;
namespace StellarWP\Sniffs\CodeAnalysis;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/Methods/MethodDeclarationSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\Methods;
namespace StellarWP\Sniffs\Methods;

use PHP_CodeSniffer\Sniffs;
use PHP_CodeSniffer\Files\File;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\NamingConventions;
namespace StellarWP\Sniffs\NamingConventions;

use PHP_CodeSniffer\Sniffs;
use PHP_CodeSniffer\Files\File;
Expand Down Expand Up @@ -129,4 +129,3 @@ protected function processTokenOutsideScope(File $phpcsFile, $stackPtr)
}
}//end processTokenOutsideScope()
}//end class

2 changes: 1 addition & 1 deletion StellarWP/Sniffs/PHP/DeprecatedFunctionsSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\PHP;
namespace StellarWP\Sniffs\PHP;

use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Standards\Generic\Sniffs\PHP;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/PHP/EscjsFunctionSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\PHP;
namespace StellarWP\Sniffs\PHP;

use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Standards\Generic\Sniffs\PHP;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/PHP/IsAFunctionSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\PHP;
namespace StellarWP\Sniffs\PHP;

use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Standards\Generic\Sniffs\PHP;
Expand Down
2 changes: 1 addition & 1 deletion StellarWP/Sniffs/Whitespace/LogicalNotSpacingSniff.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace TEC\Sniffs\Whitespace;
namespace StellarWP\Sniffs\Whitespace;

use PHP_CodeSniffer\Sniffs\Sniff;
use PHP_CodeSniffer\Files\File;
Expand Down
4 changes: 2 additions & 2 deletions StellarWP/Sniffs/XSS/EscapeOutputSniff.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php
namespace TEC\Sniffs\XSS;
namespace StellarWP\Sniffs\XSS;

use PHP_CodeSniffer\Files\File;
use PHP_CodeSniffer\Util\Tokens;
use TEC\Sniff;
use StellarWP\Sniff;

/**
* Squiz_Sniffs_XSS_EscapeOutputSniff.
Expand Down
4 changes: 2 additions & 2 deletions StellarWP/ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<ruleset name="TEC" namespace="TEC" >
<description>The Events Calendar coding standards.</description>
<ruleset name="StellarWP" namespace="StellarWP" >
<description>The StellarWP coding standards.</description>

<rule ref="WordPress-VIP-Go"/>
<rule ref="WordPress-Docs">
Expand Down

0 comments on commit 87efba5

Please sign in to comment.