-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Declaration of Drush\Sql\Sqlsqlsrv::creds() should be compatible with Drush\Sql\SqlBase::creds() #2967
Comments
The most important question here is what version of Drush are you using, is it site-local or global Drush, are you running the launcher, etc. Just tried HEAD of master with a site-local Drush, and it worked fine. From the symptoms, looks like you are mixing versions of Drush. |
It's the PHP 7.x warning about function declaration being not compatible. So basically:
should be compatible with:
defined in See:
Reproducible steps on empty folder (ideally use PHP 7.1, as 7.2 could have more errors, e.g. prefix with
You should see the warning in PHP 7.x. Same issue with
|
Oh, I see. I read the error message too quickly and missed that you were using one of the uncommon database types. Those were community-submitted, and are not heavily tested by Drush maintainers. PRs to fix this are welcome. |
merged. thanks. |
The text was updated successfully, but these errors were encountered: