File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
WordPress/Sniffs/NamingConventions Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -367,7 +367,7 @@ public function process_token( $stackPtr ) {
367367 return ;
368368 }
369369
370- $ error_text = 'Functions declared ' ;
370+ $ error_text = 'Functions declared in the global namespace ' ;
371371 $ error_code = 'NonPrefixedFunctionFound ' ;
372372 break ;
373373
@@ -555,7 +555,7 @@ protected function process_variable_variable( $stackPtr ) {
555555 $ stackPtr ,
556556 'NonPrefixedVariableFound ' ,
557557 array (
558- 'Variables defined ' ,
558+ 'Global variables defined ' ,
559559 $ variable_name ,
560560 )
561561 );
@@ -705,7 +705,7 @@ protected function process_variable_assignment( $stackPtr ) {
705705 $ is_error ,
706706 'NonPrefixedVariableFound ' ,
707707 array (
708- 'Variables defined ' ,
708+ 'Global variables defined ' ,
709709 '$ ' . $ variable_name ,
710710 )
711711 );
You can’t perform that action at this time.
0 commit comments