- π«π·France fgm Paris, France
FWIW, it just started again. I've been working on the same D9 install for over one month and suddenly today it stopped working after a brew upgrade, saying it could not find PHP.
Stopping the brew php service and restarting it fixed the problem. It seems there is an attempt to find the exact same php binary as the one used to serve the report page, which is not the case when upgrading.
- π«π·France fgm Paris, France
Funnily enough I just had this issue again after Drupal 10.4.2 upgrade and upgrade_status 4.3.6
The error looked a bit different from the one in the original issue:
PHPStan command failed: /(redacted)/vendor/bin/phpstan analyse --memory-limit=1500M --error-format=json --configuration=/tmp/upgrade_status/deprecation_testing.neon /(redacted)/web/modules/contrib/poll Command output: Empty. Command error: sh: line 0: exec: : not found
A
brew services restart php@8.3
fixed the problem again. Maybe worth suggesting it in the module documentation ?