1.0.0-rc1 - 2022-12-27
Pre-release
Pre-release
Added
Tokens
- New
Collections::constantModifierKeywords()method. #400 - New
Collections::listOpenTokensBC()method. #405
Changed
Utils
ObjectDeclarations::getClassProperties(): the array return value will now include'abstract_token','final_token', and'readonly_token'indexes identifying the stack pointers to these keyword, where applicable. If the keyword is not used, the value will be set tofalse. #401
Other
- Various housekeeping and CI maintainance.
Removed
Everything which was previously deprecated in the 1.0.0-alpha4 release, has now been removed. #410
This includes:
- The
PHPCS23Utilsstandard. Collectionsclass: direct access to the properties in the class.Collectionsclass: theCollections::arrowFunctionTokensBC(),Collections::functionDeclarationTokensBC(),Collections::parameterTypeTokensBC(),Collections::propertyTypeTokensBC()andCollections::returnTypeTokensBC()methods.- The
ControlStructures::getDeclareScopeOpenClose()method. - The
FunctionDeclarations::getArrowFunctionOpenClose()method. - The
FunctionDeclarations::isArrowFunction()method.
See the changelog for the 1.0.0-alpha4 release for details about replacements for the removed functionality.