88 * file that was distributed with this source code.
99 */
1010
11- namespace Inpsyde \InpsydeCodingStandard \ Sniffs \CodeQuality ;
11+ namespace Inpsyde \Sniffs \CodeQuality ;
1212
13- use Inpsyde \InpsydeCodingStandard \ Helpers ;
13+ use Inpsyde \PhpcsHelpers ;
1414use PHP_CodeSniffer \Sniffs \Sniff ;
1515use PHP_CodeSniffer \Files \File ;
1616
@@ -29,18 +29,18 @@ public function register()
2929 */
3030 public function process (File $ file , $ position )
3131 {
32- if (!Helpers ::isHookClosure ($ file , $ position )) {
32+ if (!PhpcsHelpers ::isHookClosure ($ file , $ position )) {
3333 return ;
3434 }
3535
36- list ($ functionStart , $ functionEnd ) = Helpers ::functionBoundaries ($ file , $ position );
36+ list ($ functionStart , $ functionEnd ) = PhpcsHelpers ::functionBoundaries ($ file , $ position );
3737 if (!$ functionStart < 0 || $ functionEnd <= 0 ) {
3838 return ;
3939 }
4040
41- list ($ nonVoidReturnCount , $ voidReturnCount ) = Helpers ::countReturns ($ file , $ position );
41+ list ($ nonVoidReturnCount , $ voidReturnCount ) = PhpcsHelpers ::countReturns ($ file , $ position );
4242
43- $ isFilterClosure = Helpers ::isHookClosure ($ file , $ position , true , false );
43+ $ isFilterClosure = PhpcsHelpers ::isHookClosure ($ file , $ position , true , false );
4444
4545 if ($ isFilterClosure && (!$ nonVoidReturnCount || $ voidReturnCount )) {
4646 $ file ->addError (
0 commit comments