Skip to content

feat: support php-parser 3.4.0 (pipe operator and readonly anonymous classes)#2459

Merged
czosel merged 9 commits intoprettier:mainfrom
jorgsowa:feat/support-php-parser-3.4.0
Mar 25, 2026
Merged

feat: support php-parser 3.4.0 (pipe operator and readonly anonymous classes)#2459
czosel merged 9 commits intoprettier:mainfrom
jorgsowa:feat/support-php-parser-3.4.0

Conversation

@jorgsowa
Copy link
Collaborator

Supports php-parser 3.4.0

Changes:

  • readonly anonymous classes
  • pipe operator (PHP 8.5)

@jorgsowa jorgsowa changed the title feat: support php-parser 3.4.0 (pipe operator and readonly anonymous classes feat: support php-parser 3.4.0 (pipe operator and readonly anonymous classes) Mar 21, 2026
@czosel
Copy link
Collaborator

czosel commented Mar 22, 2026

This is probably still missing the dependency bump

@jorgsowa
Copy link
Collaborator Author

Yes, missed that. Done in 6ad88c1 (this PR)

@czosel
Copy link
Collaborator

czosel commented Mar 22, 2026

👍 now you might still have to set the PHP version in jsfmt.spec.js

@jorgsowa jorgsowa force-pushed the feat/support-php-parser-3.4.0 branch 2 times, most recently from 8cba841 to 91c5b86 Compare March 23, 2026 21:36
@jorgsowa jorgsowa requested a review from czosel March 23, 2026 22:50
@jorgsowa jorgsowa force-pushed the feat/support-php-parser-3.4.0 branch from e94078a to c2bc0fc Compare March 25, 2026 20:40
@czosel czosel merged commit 47ea101 into prettier:main Mar 25, 2026
15 checks passed
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.

2 participants