@@ -671,144 +671,144 @@ final class Tokens
671
671
/**
672
672
* The token weightings.
673
673
*
674
- * @deprecated 4.0 Use the Tokens::getHighestWeightedToken() method instead.
675
- *
676
674
* @var array<int|string, int>
675
+ *
676
+ * @deprecated 4.0.0 Use the Tokens::getHighestWeightedToken() method instead.
677
677
*/
678
678
public static $ weightings = self ::WEIGHTINGS ;
679
679
680
680
/**
681
681
* Tokens that represent assignments.
682
682
*
683
- * @deprecated 4.0 Use the Tokens::ASSIGNMENT_TOKENS constant instead.
684
- *
685
683
* @var array<int|string, int|string>
684
+ *
685
+ * @deprecated 4.0.0 Use the Tokens::ASSIGNMENT_TOKENS constant instead.
686
686
*/
687
687
public static $ assignmentTokens = self ::ASSIGNMENT_TOKENS ;
688
688
689
689
/**
690
690
* Tokens that represent equality comparisons.
691
691
*
692
- * @deprecated 4.0 Use the Tokens::EQUALITY_TOKENS constant instead.
693
- *
694
692
* @var array<int|string, int|string>
693
+ *
694
+ * @deprecated 4.0.0 Use the Tokens::EQUALITY_TOKENS constant instead.
695
695
*/
696
696
public static $ equalityTokens = self ::EQUALITY_TOKENS ;
697
697
698
698
/**
699
699
* Tokens that represent comparison operator.
700
700
*
701
- * @deprecated 4.0 Use the Tokens::COMPARISON_TOKENS constant instead.
702
- *
703
701
* @var array<int|string, int|string>
702
+ *
703
+ * @deprecated 4.0.0 Use the Tokens::COMPARISON_TOKENS constant instead.
704
704
*/
705
705
public static $ comparisonTokens = self ::COMPARISON_TOKENS ;
706
706
707
707
/**
708
708
* Tokens that represent arithmetic operators.
709
709
*
710
- * @deprecated 4.0 Use the Tokens::ARITHMETIC_TOKENS constant instead.
711
- *
712
710
* @var array<int|string, int|string>
711
+ *
712
+ * @deprecated 4.0.0 Use the Tokens::ARITHMETIC_TOKENS constant instead.
713
713
*/
714
714
public static $ arithmeticTokens = self ::ARITHMETIC_TOKENS ;
715
715
716
716
/**
717
717
* Tokens that perform operations.
718
718
*
719
- * @deprecated 4.0 Use the Tokens::OPERATORS constant instead.
720
- *
721
719
* @var array<int|string, int|string>
720
+ *
721
+ * @deprecated 4.0.0 Use the Tokens::OPERATORS constant instead.
722
722
*/
723
723
public static $ operators = self ::OPERATORS ;
724
724
725
725
/**
726
726
* Tokens that perform boolean operations.
727
727
*
728
- * @deprecated 4.0 Use the Tokens::BOOLEAN_OPERATORS constant instead.
729
- *
730
728
* @var array<int|string, int|string>
729
+ *
730
+ * @deprecated 4.0.0 Use the Tokens::BOOLEAN_OPERATORS constant instead.
731
731
*/
732
732
public static $ booleanOperators = self ::BOOLEAN_OPERATORS ;
733
733
734
734
/**
735
735
* Tokens that represent casting.
736
736
*
737
- * @deprecated 4.0 Use the Tokens::CAST_TOKENS constant instead.
738
- *
739
737
* @var array<int|string, int|string>
738
+ *
739
+ * @deprecated 4.0.0 Use the Tokens::CAST_TOKENS constant instead.
740
740
*/
741
741
public static $ castTokens = self ::CAST_TOKENS ;
742
742
743
743
/**
744
744
* Token types that open parenthesis.
745
745
*
746
- * @deprecated 4.0 Use the Tokens::PARENTHESIS_OPENERS constant instead.
747
- *
748
746
* @var array<int|string, int|string>
747
+ *
748
+ * @deprecated 4.0.0 Use the Tokens::PARENTHESIS_OPENERS constant instead.
749
749
*/
750
750
public static $ parenthesisOpeners = self ::PARENTHESIS_OPENERS ;
751
751
752
752
/**
753
753
* Tokens that are allowed to open scopes.
754
754
*
755
- * @deprecated 4.0 Use the Tokens::SCOPE_OPENERS constant instead.
756
- *
757
755
* @var array<int|string, int|string>
756
+ *
757
+ * @deprecated 4.0.0 Use the Tokens::SCOPE_OPENERS constant instead.
758
758
*/
759
759
public static $ scopeOpeners = self ::SCOPE_OPENERS ;
760
760
761
761
/**
762
762
* Tokens that represent scope modifiers.
763
763
*
764
- * @deprecated 4.0 Use the Tokens::SCOPE_MODIFIERS constant instead.
765
- *
766
764
* @var array<int|string, int|string>
765
+ *
766
+ * @deprecated 4.0.0 Use the Tokens::SCOPE_MODIFIERS constant instead.
767
767
*/
768
768
public static $ scopeModifiers = self ::SCOPE_MODIFIERS ;
769
769
770
770
/**
771
771
* Tokens that can prefix a method name
772
772
*
773
- * @deprecated 4.0 Use the Tokens::METHOD_MODIFIERS constant instead.
774
- *
775
773
* @var array<int|string, int|string>
774
+ *
775
+ * @deprecated 4.0.0 Use the Tokens::METHOD_MODIFIERS constant instead.
776
776
*/
777
777
public static $ methodPrefixes = self ::METHOD_MODIFIERS ;
778
778
779
779
/**
780
780
* Tokens that open code blocks.
781
781
*
782
- * @deprecated 4.0 Use the Tokens::BLOCK_OPENERS constant instead.
783
- *
784
782
* @var array<int|string, int|string>
783
+ *
784
+ * @deprecated 4.0.0 Use the Tokens::BLOCK_OPENERS constant instead.
785
785
*/
786
786
public static $ blockOpeners = self ::BLOCK_OPENERS ;
787
787
788
788
/**
789
789
* Tokens that don't represent code.
790
790
*
791
- * @deprecated 4.0 Use the Tokens::EMPTY_TOKENS constant instead.
792
- *
793
791
* @var array<int|string, int|string>
792
+ *
793
+ * @deprecated 4.0.0 Use the Tokens::EMPTY_TOKENS constant instead.
794
794
*/
795
795
public static $ emptyTokens = self ::EMPTY_TOKENS ;
796
796
797
797
/**
798
798
* Tokens that are comments.
799
799
*
800
- * @deprecated 4.0 Use the Tokens::COMMENT_TOKENS constant instead.
801
- *
802
800
* @var array<int|string, int|string>
801
+ *
802
+ * @deprecated 4.0.0 Use the Tokens::COMMENT_TOKENS constant instead.
803
803
*/
804
804
public static $ commentTokens = self ::COMMENT_TOKENS ;
805
805
806
806
/**
807
807
* Tokens that are comments containing PHPCS instructions.
808
808
*
809
- * @deprecated 4.0 Use the Tokens::PHPCS_ANNOTATION_TOKENS constant instead.
810
- *
811
809
* @var array<int|string, int|string>
810
+ *
811
+ * @deprecated 4.0.0 Use the Tokens::PHPCS_ANNOTATION_TOKENS constant instead.
812
812
*/
813
813
public static $ phpcsCommentTokens = self ::PHPCS_ANNOTATION_TOKENS ;
814
814
@@ -817,45 +817,45 @@ final class Tokens
817
817
*
818
818
* Note that T_STRINGS are NOT represented in this list.
819
819
*
820
- * @deprecated 4.0 Use the Tokens::STRING_TOKENS constant instead.
821
- *
822
820
* @var array<int|string, int|string>
821
+ *
822
+ * @deprecated 4.0.0 Use the Tokens::STRING_TOKENS constant instead.
823
823
*/
824
824
public static $ stringTokens = self ::STRING_TOKENS ;
825
825
826
826
/**
827
827
* Tokens that represent text strings.
828
828
*
829
- * @deprecated 4.0 Use the Tokens::TEXT_STRINGS constant instead.
830
- *
831
829
* @var array<int|string, int|string>
830
+ *
831
+ * @deprecated 4.0.0 Use the Tokens::TEXT_STRINGS constant instead.
832
832
*/
833
833
public static $ textStringTokens = self ::TEXT_STRING_TOKENS ;
834
834
835
835
/**
836
836
* Tokens that represent brackets and parenthesis.
837
837
*
838
- * @deprecated 4.0 Use the Tokens::BRACKET_TOKENS constant instead.
839
- *
840
838
* @var array<int|string, int|string>
839
+ *
840
+ * @deprecated 4.0.0 Use the Tokens::BRACKET_TOKENS constant instead.
841
841
*/
842
842
public static $ bracketTokens = self ::BRACKET_TOKENS ;
843
843
844
844
/**
845
845
* Tokens that include files.
846
846
*
847
- * @deprecated 4.0 Use the Tokens::INCLUDE_TOKENS constant instead.
848
- *
849
847
* @var array<int|string, int|string>
848
+ *
849
+ * @deprecated 4.0.0 Use the Tokens::INCLUDE_TOKENS constant instead.
850
850
*/
851
851
public static $ includeTokens = self ::INCLUDE_TOKENS ;
852
852
853
853
/**
854
854
* Tokens that make up a heredoc string.
855
855
*
856
- * @deprecated 4.0 Use the Tokens::HEREDOC_TOKENS constant instead.
857
- *
858
856
* @var array<int|string, int|string>
857
+ *
858
+ * @deprecated 4.0.0 Use the Tokens::HEREDOC_TOKENS constant instead.
859
859
*/
860
860
public static $ heredocTokens = self ::HEREDOC_TOKENS ;
861
861
@@ -865,40 +865,40 @@ final class Tokens
865
865
* Mostly, these are just strings. But PHP tokenizes some language
866
866
* constructs and functions using their own tokens.
867
867
*
868
- * @deprecated 4.0 Use the Tokens::FUNCTION_NAME_TOKENS constant instead.
869
- *
870
868
* @var array<int|string, int|string>
869
+ *
870
+ * @deprecated 4.0.0 Use the Tokens::FUNCTION_NAME_TOKENS constant instead.
871
871
*/
872
872
public static $ functionNameTokens = self ::FUNCTION_NAME_TOKENS ;
873
873
874
874
/**
875
875
* Tokens that open class and object scopes.
876
876
*
877
- * @deprecated 4.0 Use the Tokens::OO_SCOPE_TOKENS constant instead.
878
- *
879
877
* @var array<int|string, int|string>
878
+ *
879
+ * @deprecated 4.0.0 Use the Tokens::OO_SCOPE_TOKENS constant instead.
880
880
*/
881
881
public static $ ooScopeTokens = self ::OO_SCOPE_TOKENS ;
882
882
883
883
/**
884
884
* Tokens representing PHP magic constants.
885
885
*
886
- * @deprecated 4.0 Use the Tokens::MAGIC_CONSTANTS constant instead.
887
- *
888
886
* @var array <int|string> => <int|string>
889
887
*
890
888
* @link https://www.php.net/language.constants.predefined PHP Manual on magic constants
889
+ *
890
+ * @deprecated 4.0.0 Use the Tokens::MAGIC_CONSTANTS constant instead.
891
891
*/
892
892
public static $ magicConstants = self ::MAGIC_CONSTANTS ;
893
893
894
894
/**
895
895
* Tokens representing context sensitive keywords in PHP.
896
896
*
897
- * @deprecated 4.0 Use the Tokens::CONTEXT_SENSITIVE_KEYWORDS constant instead.
898
- *
899
897
* @var array<int|string, int|string>
900
898
*
901
899
* @link https://wiki.php.net/rfc/context_sensitive_lexer
900
+ *
901
+ * @deprecated 4.0.0 Use the Tokens::CONTEXT_SENSITIVE_KEYWORDS constant instead.
902
902
*/
903
903
public static $ contextSensitiveKeywords = self ::CONTEXT_SENSITIVE_KEYWORDS ;
904
904
0 commit comments