Documentation

DefaultKeywordTest.php

Tests the retokenization of the `default` keyword to T_MATCH_DEFAULT for PHP 8.0 match structures and makes sure that the tokenization of switch `T_DEFAULT` structures is not aversely affected.

Tags
author

Juliette Reinders Folmer phpcs_nospam@adviesenzo.nl

copyright

2020-2021 Squiz Pty Ltd (ABN 77 084 670 600)

license

https://github.com/squizlabs/PHP_CodeSniffer/blob/master/licence.txt BSD Licence

Interfaces, Classes and Traits

DefaultKeywordTest

Search results