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
Includes new T_TYPE_OPEN_PARENTHESIS and T_TYPE_CLOSE_PARENTHESIS tokens to represent the parentheses in DNF types.
These new tokens, like other parentheses, will have the parenthesis_opener and parenthesis_closer token array indexes set and the tokens between them will have the nested_parenthesis index.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Added
T_TYPE_OPEN_PARENTHESIS
andT_TYPE_CLOSE_PARENTHESIS
tokens to represent the parentheses in DNF types.parenthesis_opener
andparenthesis_closer
token array indexes set and the tokens between them will have thenested_parenthesis
index.File::getMethodProperties()
,File::getMethodParameters()
andFile::getMemberProperties()
methods now all support DNF types. PHP 8.2 | File::getMethodParameters(): add support for DNF types #471, PHP 8.2 | File::getMethodProperties(): add support for DNF types #472, PHP 8.2 | File::getMemberProperties(): add support for DNF types #473Changed
Fixed
else if
#499 : Generic.ControlStructures.InlineControlStructure now handles statements with a comment betweenelse
andif
correctly.New Contributors
The PHP_CodeSniffer project is happy to welcome the following new contributors:
@przemekhernik
Statistics
Closed: 2 issues
Merged: 26 pull requests
If you like to stay informed about releases and more, follow @phpcs on Mastodon or @PHP_CodeSniffer on X.
Please consider funding the PHP_CodeSniffer project. If you already do so: thank you!
Full Changelog: 3.9.2...3.10.0
This discussion was created from the release 3.10.0 - 2024-05-20.
Beta Was this translation helpful? Give feedback.
All reactions