Skip to content

Handle class keyword used as named argument - #118

Open
rgson wants to merge 1 commit into
theseer:masterfrom
rgson:fix-class-keyword
Open

rgson wants to merge 1 commit into
theseer:masterfrom
rgson:fix-class-keyword

Conversation

@rgson

@rgson rgson commented Oct 17, 2026

Copy link
Copy Markdown

PHP 8 allows using the class keyword as a named argument.

Prior to this fix, that leads to errors like

Could not process file '/path/to/SomeFile.php' due to parse errors: Parse error while trying to process class definition (unexpected token ":" in name).

@rgson
rgson force-pushed the fix-class-keyword branch from 51b77e1 to cf1183c Compare October 17, 2026 10:15
@rgson
rgson marked this pull request as ready for review October 17, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant