Skip to content

Commit

Permalink
Fix namespacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Camwyn committed Jan 19, 2024
1 parent ebb0ba7 commit ba869b0
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 15 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

0 comments on commit ba869b0

Please sign in to comment.