Update for PHPCSUtils 1.0.0-alpha4 by jrfnl · Pull Request #1362 · PHPCompatibility/PHPCompatibility
added 2 commits
October 24, 2022 14:21…_NUMLIT_STRING` This constant has been removed from PHPCSUtils as it is no longer needed there. The regex which was previously contained in PHPCSUtils has now been copied into this sniff.
…d methods The direct use of the static properties in the `PHPCSUtils\Tokens\Collections` class has been deprecated. Additionally, a number of methods in the same class have been deprecated as they are no longer needed now PHPCS < 3.7.1 is no longer supported. This updates the sniffs to no longer use this deprecated functionality. Includes switching to more appropriate (new) token collection when possible. Includes a small change in the `NewShortArray` sniff to only determine whether something is a short array once, while still showing the same error notices. (efficiency tweak) See: https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.0.0-alpha4
jrfnl
deleted the
feature/update-for-phpcsutils-alpha4
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters