Test/update API module for new Parser code version

Created on 1 May 2018, almost 7 years ago
Updated 27 May 2024, 11 months ago

The PHP parser we are using has a new stable branch, 4.x, which can be found here:
https://github.com/nikic/PHP-Parser/releases

I suspect that the API module will not fully work with this version without some modifications. And this issue may be due to that user having 4.x (not sure yet): #2961876: Error Running Drush cron after Hitting Reparse β†’

Anyway, in this issue here, we should
(a) Test the API module with the new Parser code. Note: it requires PHP 7, and api.drupal.org doesn't run PHP 7 yet, so this issue is postponed until that is a possibility.

(b) Fix anything that doesn't work

(c) Update the composer.json file to require that new version, once it's working

See also #2935714: Some comments inside switch statements are duplicated in code output β†’ , which was fixed by a new parser release (3.1.5 but it is also fixed in 4.x)

πŸ“Œ Task
Status

Closed: outdated

Version

2.0

Component

Parser

Created by

πŸ‡ΊπŸ‡ΈUnited States jhodgdon Spokane, WA, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024