Skip to content

Commit

Permalink
Apply current CS rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirone committed Sep 27, 2023
1 parent 5c0e116 commit 033149d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Tokenizer/Tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,22 +38,27 @@ class Tokens extends \SplFixedArray
/** @deprecated use BLOCK_TYPE_PARENTHESIS, will be removed in 4.0 */
public const BLOCK_TYPE_PARENTHESIS_BRACE = 1;
public const BLOCK_TYPE_PARENTHESIS = 1;

/** @deprecated use BLOCK_TYPE_BRACE, will be removed in 4.0 */
public const BLOCK_TYPE_CURLY_BRACE = 2;
public const BLOCK_TYPE_BRACE = 2;

/** @deprecated use BLOCK_TYPE_INDEX_BRACKET, will be removed in 4.0 */
public const BLOCK_TYPE_INDEX_SQUARE_BRACE = 3;
public const BLOCK_TYPE_INDEX_BRACKET = 3;

/** @deprecated use BLOCK_TYPE_ARRAY_BRACKET, will be removed in 4.0 */
public const BLOCK_TYPE_ARRAY_SQUARE_BRACE = 4;
public const BLOCK_TYPE_ARRAY_BRACKET = 4;
public const BLOCK_TYPE_DYNAMIC_PROP_BRACE = 5;
public const BLOCK_TYPE_DYNAMIC_VAR_BRACE = 6;
public const BLOCK_TYPE_ARRAY_INDEX_CURLY_BRACE = 7;
public const BLOCK_TYPE_GROUP_IMPORT_BRACE = 8;

/** @deprecated use BLOCK_TYPE_DESTRUCTURING_BRACKET, will be removed in 4.0 */
public const BLOCK_TYPE_DESTRUCTURING_SQUARE_BRACE = 9;
public const BLOCK_TYPE_DESTRUCTURING_BRACKET = 9;

/** @deprecated use BLOCK_TYPE_PARENTHESIS_CLASS_INSTANTIATION, will be removed in 4.0 */
public const BLOCK_TYPE_BRACE_CLASS_INSTANTIATION = 10;
public const BLOCK_TYPE_PARENTHESIS_CLASS_INSTANTIATION = 10;
Expand Down

0 comments on commit 033149d

Please sign in to comment.