Skip to content

Commit

Permalink
Tokens\Collections: remove the deprecated $OONameTokens property.
Browse files Browse the repository at this point in the history
Use the `PHPCSUtils\Tokens\Collections::namespacedNameTokens()` method instead.

Follow up to #113, #202.
  • Loading branch information
jrfnl committed Dec 24, 2022
1 parent 23b5e34 commit 234d76a
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions PHPCSUtils/Tokens/Collections.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,21 +467,6 @@ final class Collections
\T_STATIC => \T_STATIC,
];

/**
* DEPRECATED: Tokens types which can be encountered in the fully/partially qualified name of an OO structure.
*
* @since 1.0.0-alpha3
*
* @deprecated 1.0.0-alpha4 Use the {@see Collections::namespacedNameTokens()} method instead.
*
* @var array <int|string> => <int|string>
*/
public static $OONameTokens = [
\T_NS_SEPARATOR => \T_NS_SEPARATOR,
\T_STRING => \T_STRING,
\T_NAMESPACE => \T_NAMESPACE,
];

/**
* DEPRECATED: OO scopes in which properties can be declared.
*
Expand Down

0 comments on commit 234d76a

Please sign in to comment.