Improve the validation of latest PHP releases with php-src tests

Description

WHY

We want to track closely the new PHP features, to make sure that we’re always up-to-date with the newest PHP releases (and avoid parsing errors). However, we’re using fixed commits for PHP in Peachee, and our Peachee projects are not using the new features a lot.

We have one project that is not on fixed commit, php-src the official PHP repository. This project is a bit special, only a part of the project is extracted with a dedicated Java class, and the diff-val is disabled for this project.

The idea is that we could use this project that must contain some snippets of the latest PHP features to track our analyzer’s performance against the latest PHP releases, without having too much issues to review. This is similar to how we track the latest Bicep features by analyzing the bicep project itself.

HOW

Investigate how we currently analyze on php-src and what we extract from it, if it’s still work, if we need to adapt the logic, etc.

Then, investigate if we could enable back the diff-val on this project. If it generates too much issue each week, we could use a fixed commit and update it regularly (each Sunday, each release, etc.)

Activity

Show:
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Priority

Sentry

Created December 20, 2024 at 2:44 PM
Updated December 20, 2024 at 2:58 PM