department-of-veterans-affairs / va.gov-cms

Editor-centered management for Veteran-centered content.
https://prod.cms.va.gov
GNU General Public License v2.0
99 stars 69 forks source link

Yaml Tasks conflicts with Symfony/Process >= 4.0, preventing D9 upgrade. #4871

Closed ndouglas closed 3 years ago

ndouglas commented 3 years ago

Description

Yaml Tasks depends heavily on Power-Process, which builds on Symfony Process. However:

The Symfony Process component has different typehints in the parameters of several APIs in Symfony 4 than Symfony 3 does. This is due to the fact that Symfony 4 requires PHP 7.1.3 or later, which supports a number of typehints not permitted in earlier PHP versions. This difference is minor for most clients, but presents problems for code that subclasses Process, as it is not possible to be compatible with both the Symofny 3 and the Symfony 4 typehints at the same time.

drupal/core @9.anything requires Symfony Process >= 4.4.

A few possible solutions:

Acceptance Criteria

acrollet commented 3 years ago

related: https://github.com/department-of-veterans-affairs/va.gov-cms/issues/4109#issuecomment-788154979

ndouglas commented 3 years ago

Seems clean and like a straightforward transition, and I'm definitely in favor of moving to something that simplifies our Composer dependency graph. I'll ask for a sixteenth minute on this today.

ElijahLynn commented 3 years ago

Summary from 16th minute:

Unanimously decided to move forward with a PoC of Task with the intent of adding ReviewDog soon after, so that Drupal 9 can be unblocked.