From 234d76a5de14596a26ed5bf6126e0075fe11ecb3 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Wed, 12 Oct 2022 04:02:58 +0200 Subject: [PATCH] Tokens\Collections: remove the deprecated `$OONameTokens` property. Use the `PHPCSUtils\Tokens\Collections::namespacedNameTokens()` method instead. Follow up to #113, #202. --- PHPCSUtils/Tokens/Collections.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/PHPCSUtils/Tokens/Collections.php b/PHPCSUtils/Tokens/Collections.php index 1fdf37b4..652ab127 100644 --- a/PHPCSUtils/Tokens/Collections.php +++ b/PHPCSUtils/Tokens/Collections.php @@ -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 => - */ - 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. *