Skip to content

Required PHP Parser 5 and PHP 8.1 … - #25

Merged
LukeTowers merged 1 commit into
wintercms:mainfrom
josephcrowell:main
Nov 4, 2026
Merged

LukeTowers merged 1 commit into
wintercms:mainfrom
josephcrowell:main

Conversation

@josephcrowell

@josephcrowell josephcrowell commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

… so the plugin installs with current Winter 1.2, and made a missing table of contents file or a failed ZIP extraction raise a clear error.

Winter's storm package requires nikic/php-parser ^5.7, so Composer refused to install this plugin while it required ^4.11. Require nikic/php-parser ^5.6, phpdocumentor/reflection-docblock ^5.6.2 and PHP 8.1, and create the parser with ParserFactory::createForHostVersion(), which replaces the create(PREFER_PHP7) call removed in PHP Parser 5.

… Winter 1.2, and made a missing table of contents file or a failed ZIP extraction raise a clear error.

Signed-off-by: Joseph Crowell <joseph.w.crowell@gmail.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: a159c19f-21da-4921-ba96-2e59077cf874
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Tip

🎯 Customize your risk assessments

Guide how CodeRabbit assesses merge risk and security architecture risk. Highlight sensitive changes and explain your security boundaries using Merge Risk Instructions and Security Risk Instructions in your review settings. Security architecture risk assessments require the Advanced plan or above.

✅ Automatic approvals, with your rules

Let CodeRabbit approve pull requests once required threads are resolved, pre-merge checks pass, and your risk limits are met. Enable Automatic approvals in review settings, with overrides for teams or file paths.

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@josephcrowell

Copy link
Copy Markdown
Contributor Author

I assume this will be superseded in the 1.3 release, but keeps 1.2 going for now.

@LukeTowers
LukeTowers merged commit e273706 into wintercms:main Nov 4, 2026
4 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