You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP 8.0 | Tokenizer/PHP: bugfix for union types using namespace operator
Type declarations can use namespace relative Types, i.e. `namespace\Sub\Name`.
However, in that case, the `T_BITWISE_OR` token was incorrectly not converted to `T_TYPE_UNION`.
Includes unit tests.
Includes additional tests with all other "namespaced identifier name" types to safeguard this for the PHPCS 4.x change to the PHP 8.0 tokenization of identifier names.
0 commit comments