-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PHP Tokenizer: bugfix for PHP 7.4 typed properties
Typed properties are explicitly also supported for PHP 4-style properties using just the `var` or `static` keyword. However, in that case, the nullable indicator `?` was not converted from `T_INLINE_THEN` to `T_NULLABLE`. Fixed now. Includes unit tests via the `File::getMemberProperties()` method. Ref: https://wiki.php.net/rfc/typed_properties_v2
- Loading branch information
Showing
3 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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