Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WP/DeprecatedFunctions: temporarily exclude one test on PHP 8.2
The logic in the PHP 8.2 Tokenizer needs to be adjusted to allow for PHP 8.2 Disjunctive Normal Types in combination with `readonly` properties. While PHP 8.2 still allows for the `readonly` keyword being used as a function call - see: https://3v4l.org/hL5da -, the PHPCS tokenizer has not been adjusted yet to allow for this in a way which is compatible with DNT. Also see: * The discussion about this in squizlabs/PHP_CodeSniffer 3667 * php/php-src 9512
- Loading branch information