Repository navigation
Required PHP Parser 5 and PHP 8.1 … - #25
Conversation
… 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>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
I assume this will be superseded in the 1.3 release, but keeps 1.2 going for now. |
… 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.