@@ -445,6 +445,7 @@ public function process_matched_token( $stackPtr, $group_name, $matched_content
445
445
* Check whether each relevant part of an arbitrary group of token is output escaped.
446
446
*
447
447
* @since 3.0.0 Split off from the process_token() method.
448
+ * @since 3.1.0 Add the check for static methods.
448
449
*
449
450
* @param int $start The position to start checking from.
450
451
* @param int $end The position to stop the check at.
@@ -958,6 +959,8 @@ private function walk_match_expression( $stackPtr, $code ) {
958
959
/**
959
960
* Check if the current \T_STRING token is a part of the static method call.
960
961
*
962
+ * @since 3.1.0 Add the method to check for a static method call.
963
+ *
961
964
* @param int $stackPtr Current \T_STRING token pointer.
962
965
*
963
966
* @return bool True if it is, false if it isn't.
@@ -987,6 +990,8 @@ private function is_static_method_call( $stackPtr ) {
987
990
* If it's not, that's the end of the name, if it is, call the method again
988
991
* until you find the end of it and return this value.
989
992
*
993
+ * @since 3.1.0 Add the method that will get the pointer of the FQCN.
994
+ *
990
995
* @param int $stackPtr Current token pointer.
991
996
*
992
997
* @return int Stack pointer to the end of the FQCN.
@@ -1010,7 +1015,10 @@ private function get_fully_qualified_name_ptr( $stackPtr ) {
1010
1015
/**
1011
1016
* Check if the current token pointer is a double colon.
1012
1017
*
1018
+ * @since 3.1.0 Add the method that checks is the token is a double colon one.
1019
+ *
1013
1020
* @param int $stackPtr Current token pointer.
1021
+ *
1014
1022
* @return bool True if it is, false if not.
1015
1023
*/
1016
1024
private function does_double_colon_exists ( $ stackPtr ) {
0 commit comments