Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "drush_launcher" for PHP 8.1 images #94

Open
Juhani-moilanen opened this issue Apr 26, 2023 · 0 comments
Open

Update "drush_launcher" for PHP 8.1 images #94

Juhani-moilanen opened this issue Apr 26, 2023 · 0 comments

Comments

@Juhani-moilanen
Copy link

Juhani-moilanen commented Apr 26, 2023

Problem

The current "drush launcher" version 0.9 does not work with PHP 8.1 in the silta-cicd images
drush-ops/drush-launcher#96

https://app.circleci.com/pipelines/github/wunderio/client-fi-luke/5398/workflows/7dffe0c7-f6ee-4abf-9b90-e9f8f84e6715/jobs/21504


Deprecated: Return type of HumbugBox3111\KevinGH\RequirementChecker\RequirementCollection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in phar:///usr/local/bin/drush/.box/src/RequirementCollection.php on line 16
The Drush launcher could not find a Drupal site to operate on. Please do *one* of the following:
  - Navigate to any where within your Drupal project and try again.
  - Add --root=/path/to/drupal so Drush knows where your site is located.

Found by Santeri and discussed shortly here :
https://wunder.slack.com/archives/C8UN6AG9W/p1682507491878809

Solution

Use a newer version (0.10.1) of drush_launcher for the silta-cicd PHP 8.1 images (maybe also PHP 8.2 ?)

Does this also affect other images that use the drush_launcher?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant